/* ============================================================
   Monitorul dosarelor de corupție – CAPC
   Font: Onest (Google Fonts)
   ============================================================ */

   *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  :root {
    --accent: #ff6600;
    --accent-dark: #E60103;
    --text-primary: #1a1a1a;
    --text-secondary: #555;
    --text-muted: #888;
    --border: #e4e4e2;
    --bg-page: #fff;
    --bg-surface: #f5f5f3;
    --font: 'Onest', sans-serif;
    --page-h-pad: 48px;
    --link: #0351C1;
    --darl: #000;
  }
  
  html {
    -webkit-text-size-adjust: 100%;
  }
  
  html, body {
    font-family: var(--font);
    background: var(--bg-page);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
    min-width: 0;
    overflow-x: hidden;
  }
  
  /* Container centrat la 1200px */
  .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--page-h-pad);
  }
  
  /* ── TOPBAR ─────────────────────────────────────────────── */
  .topbar {
    border-bottom: none;
    background: #EBEFF3;
  }
  
  .topbar .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  
  .logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
  }
  
  .logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
  }
  
  .nav-link {
    font-size: 18px;
    color: var(--text-primary);
    text-decoration: none;
  }
  
  .nav-link:hover {
    color: var(--text-primary);
  }
  
  /* ── HERO ────────────────────────────────────────────────── */
  .hero {
    background: #EBEFF3;
  }
  
  .hero .inner {
    padding-top: 40px;
    padding-bottom: 32px;
  }
  
  .hero h1 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
  }
  
  .hero-inner {
    display: grid;
    grid-template-columns: 9fr 3fr;
    gap: 32px;
    align-items: flex-start;
  }
  
  .hero-desc {
    flex: 1;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
  }
  
  .hero-desc-extra {
    display: none;
    margin-top: 10px;
  }
  
  .hero-desc-extra.visible {
    display: block;
  }
  
  .link-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 15px;
    color: var(--link);
    text-decoration: underline;
  }
  
  .link-more:hover {
    text-decoration: none;
  }
  
  .hero-badge {
    background: var(--accent);
    color: #fff;
    border-radius: 4px;
    padding: 18px 22px;
  }
  
  .badge-number {
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
  }
  
  .badge-label {
    font-size: 12px;
    margin-top: 10px;
    line-height: 1.5;
    opacity: 0.95;
  }
  
  /* ── STATS BAR ───────────────────────────────────────────── */
  .stats-bar {
    background: #EBEFF3;
    border-bottom: 1px solid var(--border);
  }
  
  .stats-bar .inner {
    padding-top: 10px;
    padding-bottom: 40px;
  }
  
  .stats-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
  }
  
  .stats-tab {
    background: none;
    border: none;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
  }
  
  .stats-tab:hover {
    background: #dde3e9;
    color: var(--text-primary);
  }
  
  .stats-tab.active {
    background: var(--text-primary);
    color: #fff;
  }
  
  .stats-group {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  
  .stats-group.active {
    display: grid;
  }
  
  .stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  }
  
  .stat-item-body {
    display: flex;
    align-items: flex-start;
    gap: 15px;
  }
  
  .stat-icon {
    flex-shrink: 0;
    color: var(--text-muted);
  }
  
  .stat-val {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary); margin-left: 55px;
  }
  
  .stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 3px; line-height: 1.4;
  }

  .stat-label strong {
    color: var(--text-primary);
  }

  .stat-label-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    padding-top: 6px;
    line-height: 1.4;
  }

  .stat-label-note strong {
    color: var(--text-primary);
  }
  
  /* ── FILTERS ─────────────────────────────────────────────── */
  .filters {
    background: var(--bg-page);
  }
  
  .filters .inner {
    padding-top: 22px;
    padding-bottom: 22px;
  }
  
  .filter-full {
    margin-bottom: 10px;
  }
  
  .filters-row-2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px 16px;
  }
  
  .filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  
  .filter-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
  }
  
  select {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    font-size: 13px;
    font-family: var(--font);
    border: 1px solid #d8d8d6;
    border-radius: 4px;
    background: #F5F5F5;
    color: var(--text-primary);
    cursor: pointer;
    appearance: auto;
  }
  
  select:hover {
    border-color: #bbb;
  }
  
  select:focus {
    outline: none;
    border-color: var(--accent);
  }
  
  /* ── RESULTS BAR ─────────────────────────────────────────── */
  .results-bar {
    background: var(--bg-page);
  }
  
  .results-bar .inner {
    display: grid;
    grid-template-columns: 9fr 3fr;
    align-items: center;
    gap: 32px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  
  .results-text {
    font-size: 24px;
    color: #FF6600;
    font-weight: 400;
  }
  
  .results-count {
    color: var(--text-primary);
    font-weight: 700;
  }
  
  .results-text strong {
    color: #FF6600;
    font-weight: 400;
  }
  
  .btn-filter {
    background: #757575;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 13px;
    font-family: var(--font);
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
    width: 100%;
  }
  
  .btn-filter:hover {
    background: #333;
  }
  
  .btn-filter:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }
  
  .page-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }
  
  /* ── CASES LIST ──────────────────────────────────────────── */
  .cases-list {
    background: var(--bg-page);
    margin-top: 20px;
  }
  
  .cases-list .inner {
    padding-top: 0;
    padding-bottom: 24px;
  }
  
  .case-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 25px 0;
    border-top: 1px dashed #999;
  }
  
  .case-item:last-child {
    border-bottom: none;
  }
  
  .case-logo {
    height: 80px;
    flex-shrink: 0;
    padding: 3px;
    margin: 0 20px;
  }
  
  .case-body {
    flex: 1;
    min-width: 0;
  }
  
  .case-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
  }
  
  .case-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.4;
  }
  
  .case-date {
    font-size: 15px;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 3px;
    margin: 0 20px 0 30px;
  }
  
  /* ── PAGINATION ──────────────────────────────────────────── */
  .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 0 60px;
  }
  
  .page-btn {
    width: 34px;
    height: 34px;
    border-radius: 4px;
    border: 1px solid var(--border);
    background: var(--bg-page);
    color: var(--text-primary);
    font-size: 13px;
    font-family: var(--font);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.12s, border-color 0.12s;
  }
  
  .page-btn:hover {
    background: var(--bg-surface);
    border-color: #ccc;
  }
  
  .page-btn.active {
    background: var(--text-primary);
    color: #fff;
    border-color: var(--text-primary);
  }
  
  /* ── HERO LOGO (dosar detalii) ───────────────────────────── */
  .hero-inner--dosar {
    grid-template-columns: 10fr 2fr;
  }
  
  .hero-inner--dosar h1 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
  }
  
  .hero-cna-logo {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
  }
  
  .hero-cna-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
  }
  
  .hero-logos-pair {
    gap: 16px;
  }
  
  /* ── DOSAR STATS (dosar detalii) ─────────────────────────── */
  .dosar-stats {
    display: flex;
    margin-bottom: 40px;
    padding: 32px 0;
  }
  
  .dosar-stat {
    flex: 1;
    padding: 0 24px;
    border-left: 2px solid #e5e5e5;
  }
  
  .dosar-stat:first-child {
    padding-left: 0;
    border-left: none;
  }
  
  .dosar-stat-val {
    font-size: 25px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 6px;
  }
  
  .dosar-stat-label {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.4;
  }
  
  /* ── TIMELINE ────────────────────────────────────────────── */
  .timeline {
    background: var(--bg-page);
    padding: 40px 0 60px;
  }
  
  .tl-event {
    display: grid;
    grid-template-columns: 110px 28px 1fr;
    position: relative;
  }
  
  .tl-date {
    font-size: 16px;
    color: var(--text-muted);
    text-align: right;
    padding-right: 14px;
    padding-top: 0px;
    white-space: nowrap;
  }
  
  .tl-dot-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .tl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-dark);
    margin-top: 5px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
  }
  
  .tl-connector {
    flex: 1;
    width: 2px;
    background: #d8d8d6;
    margin-top: 4px;
  }
  
  .tl-event:last-child .tl-connector {
    display: none;
  }
  
  .tl-body {
    padding-left: 14px;
    padding-bottom: 36px;
  }
  
  .tl-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
  }

  /* Media coverage timeline: green dot + slightly smaller title */
  .tl-event--media .tl-dot {
    background: #02c400;
  }

  .tl-event--media .tl-title {
    font-size: 17px;
  }
  
  .tl-simple-desc {
    font-size: 16px;
    color: var(--text-secondary);
  }
  
  /* Person block inside event */
  .tl-person-block {
    margin-bottom: 2px;
  }
  
  .tl-person-row {
    display: grid;
    grid-template-columns: 180px 1fr 170px;
    gap: 0 16px;
    align-items: start;
    padding: 8px 0;
  }
  
  .tl-person-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
  }
  
  .tl-person-role {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3px;
  }
  
  .tl-articles {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
  }
  
  .tl-statuses {
    font-size: 16px;
    line-height: 1.7;
    text-align: right;
  }
  
  .tl-status-neutral {
    color: var(--text-muted);
    display: block;
  }
  
  .tl-status-red {
    color: var(--accent-dark);
    font-weight: 500;
    display: block;
  }
  
  .tl-sentence {
    font-size: 16px;
    color: var(--dark);
    padding: 4px 0 10px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 6px;
  }
  
  .tl-contest-tag {
    display: inline-block;
    font-size: 12px;
    color: var(--accent);
    background: #fff5ee;
    border: 1px solid #ffd0a8;
    border-radius: 4px;
    padding: 4px 10px;
    margin-top: 10px;
  }
  
  .tl-contest-tag--empty {
    opacity: 0.75;
    background: #f5f5f5;
    border-color: var(--border);
    color: var(--text-muted);
  }
  
  .tl-placeholder {
    color: var(--text-muted);
    font-size: 15px;
  }
  
  /* Press release */
  .tl-press-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 10px;
  }
  
  .tl-press-source {
    font-size: 16px;
    color: var(--text-secondary);
  }
  
  .tl-press-source strong {
    font-weight: 600;
  }
  
  .tl-press-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
  
  .tl-press-sep {
    font-size: 16px;
    color: var(--text-muted);
  }
  
  .tl-press-link {
    font-size: 16px;
    color: var(--accent);
    text-decoration: none;
  }
  
  .tl-press-link:hover {
    text-decoration: underline;
  }
  
  .tl-press-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
  }

  .tl-press-text--label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
  }
  
  .tl-media-text-wrap .tl-press-text--expandable {
    margin-bottom: 8px;
    max-height: 7.5em;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  
  .tl-media-text-wrap .tl-press-text--expandable.is-expanded {
    max-height: none;
  }
  
  .link-more--media.is-hidden {
    display: none;
  }
  
  /* ── DOSAR: secțiune Instanțe (tab4 public) ──────────────── */
  .dosar-instante {
    background: #f7f7f5;
    padding: 48px 0 64px;
    border-top: 1px solid var(--border);
  }
  
  .dosar-instante__heading {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 10px;
    line-height: 1.3;
  }
  
  .dosar-instante__lead {
    max-width: 720px;
    margin: 0 0 28px;
    line-height: 1.55;
  }
  
  .dosar-instance-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  }
  
  .dosar-instance-card:last-child {
    margin-bottom: 0;
  }
  
  .dosar-instance-card__inner {
    padding: 22px 24px 26px;
  }
  
  .dosar-instance-card__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px;
    line-height: 1.35;
  }
  
  .dosar-instance-card__intro {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0 0 18px;
  }
  
  .dosar-instance-card__subtitle {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 22px 0 12px;
    padding-top: 6px;
    border-top: 1px dashed var(--border);
  }
  
  .dosar-instance-card__subtitle:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 6px;
  }
  
  .dosar-instance-field {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 14px;
    margin-bottom: 10px;
    font-size: 15px;
  }
  
  .dosar-instance-field--block {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  
  .dosar-instance-field__label {
    font-weight: 600;
    color: var(--text-primary);
    flex-shrink: 0;
  }
  
  .dosar-instance-field__val {
    color: var(--text-secondary);
    line-height: 1.5;
  }
  
  .dosar-instance-dl {
    margin: 0;
    display: grid;
    gap: 10px 24px;
  }
  
  .dosar-instance-dl > div {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 8px 16px;
    align-items: baseline;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
  }
  
  .dosar-instance-dl > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .dosar-instance-dl dt {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.45;
  }
  
  .dosar-instance-dl dd {
    margin: 0;
    font-size: 15px;
    color: var(--text-primary);
    text-align: right;
    font-variant-numeric: tabular-nums;
  }
  
  .dosar-instance-dl--inline {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .dosar-instance-dl--inline > div {
    grid-template-columns: 1fr;
    text-align: left;
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .dosar-instance-dl--inline dd {
    text-align: left;
    font-weight: 500;
  }
  
  .dosar-instance-links {
    margin-top: 4px;
  }
  
  .dosar-instance-subjects {
    margin-bottom: 4px;
  }
  
  .dosar-instance-subject .tl-person-row {
    border-bottom: 1px solid #eee;
  }
  
  .dosar-instance-subject:last-child .tl-person-row {
    border-bottom: none;
  }
  
  .dosar-instance-pefapt-note {
    margin: 0 0 12px;
  }
  
  /* Detalii instanță sub rândurile tip mockup (în .tl-body) */
  .dosar-tl-instance-details {
    margin-top: 20px;
    padding-top: 4px;
  }
  
  .dosar-tl-instance-details .dosar-instance-card__subtitle:first-of-type {
    border-top: 1px dashed var(--border);
    padding-top: 14px;
    margin-top: 0;
  }
  
  .dosar-prejudicii--tl {
    margin-top: 8px;
    margin-bottom: 0;
  }
  
  /* ── RAPOARTE PAGE ───────────────────────────────────────── */
  .rapoarte-content {
    padding: 40px 0 80px;
  }
  
  .rapoarte-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  
  .rapoarte-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
    margin-bottom: 14px;
  }
  
  .rapoarte-col h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--text-primary);
  }
  
  .rapoarte-table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .rapoarte-table tr {
    border-bottom: 1px solid var(--border);
  }
  
  .rapoarte-table tr:last-child {
    border-bottom: none;
  }
  
  .rapoarte-table td {
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-secondary);
    vertical-align: middle;
  }
  
  .rapoarte-table td:last-child {
    text-align: right;
    white-space: nowrap;
  }
  
  .rapoarte-table .report-name {
    color: var(--text-primary);
  }
  
  .rapoarte-table .report-download {
    color: var(--link);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
  }
  
  .rapoarte-table .report-download:hover {
    text-decoration: underline;
  }
  
  /* ── FOOTER ──────────────────────────────────────────────── */
  .footer {
    background: var(--text-primary);
  }
  
  .footer .inner {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  
  .footer p {
    font-size: 12px;
    color: #aaa;
    line-height: 1.7;
  }
  
  .footer p strong {
    color: #ccc;
    font-weight: 600;
  }
  
  .footer-italic {
    font-style: italic;
    color: #777 !important;
    margin-top: 2px;
  }
  
  /* ============================================================
     Responsive — tablet, mobile, touch-friendly
     ============================================================ */
  
  @media (max-width: 1023px) {
    :root {
      --page-h-pad: 24px;
    }
  
    .hero h1 {
      font-size: clamp(22px, 4vw, 28px);
    }
  
    .hero-inner {
      grid-template-columns: 1fr;
      gap: 24px;
    }
  
    .hero-badge {
      max-width: 100%;
    }
  
    .hero-inner--dosar {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  
    .hero-cna-logo {
      justify-content: flex-start;
    }
  
    .stats-bar .inner {
      padding-bottom: 28px;
    }

    .stats-tabs {
      flex-wrap: wrap;
      gap: 8px;
    }

    .stats-tab {
      flex: 1 1 auto;
      white-space: normal;
      text-align: left;
    }

    .stats-group.active {
      grid-template-columns: repeat(2, 1fr);
    }

    .stat-item-body {
      gap: 12px;
    }

    .stat-val {
      margin-left: 0;
    }
  
    .filters-row-1 {
      grid-template-columns: 1fr 1fr;
    }
  
    .filters-row-2 {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .results-bar .inner {
      grid-template-columns: 1fr;
      gap: 16px;
    }
  
    .results-text {
      font-size: clamp(18px, 3.5vw, 24px);
      line-height: 1.35;
    }
  
    .dosar-stats {
      flex-wrap: wrap;
      gap: 12px 0;
      padding: 24px 0;
    }
  
    .dosar-stat {
      flex: 1 1 45%;
      min-width: min(100%, 200px);
      border-left: none;
      border-top: 2px solid #e5e5e5;
      padding: 16px 0 0;
      padding-left: 0 !important;
    }
  
    .dosar-stat:first-child {
      border-top: none;
      padding-top: 0;
    }
  
    .rapoarte-grid {
      grid-template-columns: 1fr;
      gap: 40px;
    }
  
    .tl-press-header {
      flex-direction: column;
      align-items: flex-start;
    }
  }
  
  @media (max-width: 767px) {
    :root {
      --page-h-pad: 16px;
    }
  
    .topbar .inner {
      flex-wrap: wrap;
      gap: 12px;
      padding-top: 12px;
      padding-bottom: 12px;
    }
  
    .logo-wrap {
      flex: 1 1 auto;
      min-width: 0;
    }
  
    .logo-text {
      font-size: clamp(14px, 3.8vw, 18px);
    }
  
    .logo-img {
      width: 48px;
      height: 48px;
    }
  
    .nav-link {
      font-size: 15px;
      width: 100%;
      text-align: right;
    }
  
    .hero .inner {
      padding-top: 28px;
      padding-bottom: 24px;
    }
  
    .hero h1 {
      margin-bottom: 16px;
    }
  
    .badge-number {
      font-size: clamp(32px, 10vw, 44px);
    }
  
    .stats-tabs {
      flex-direction: column;
      align-items: stretch;
    }

    .stats-tab {
      width: 100%;
      text-align: left;
    }

    .stats-group.active {
      grid-template-columns: 1fr;
    }

    .stat-item {
      width: 100%;
    }

    .stat-item-body img.stat-icon {
      width: 32px;
    }

    .stat-val {
      font-size: 18px;
    }
  
    .filters-row-1,
    .filters-row-2 {
      grid-template-columns: 1fr;
    }
  
    select {
      font-size: 16px;
      min-height: 44px;
      height: auto;
    }
  
    .btn-filter {
      min-height: 48px;
      font-size: 15px;
    }
  
    .case-item {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
    }
  
    .case-logo {
      height: 64px;
    }
  
    .case-date {
      white-space: normal;
      align-self: flex-start;
    }
  
    .pagination {
      flex-wrap: wrap;
      gap: 8px;
      padding-bottom: 40px;
      padding-left: 8px;
      padding-right: 8px;
    }
  
    .page-btn {
      min-width: 44px;
      min-height: 44px;
      width: auto;
      padding: 0 10px;
    }
  
    .dosar-stats {
      flex-direction: column;
    }
  
    .dosar-stat {
      flex: 1 1 auto;
      width: 100%;
      border-top: 2px solid #e5e5e5;
      padding: 16px 0 0;
    }
  
    .dosar-stat:first-child {
      border-top: none;
      padding-top: 0;
    }
  
    .timeline {
      padding: 24px 0 40px;
    }
  
    .tl-event {
      grid-template-columns: 1fr;
      gap: 8px;
    }
  
    .tl-date {
      text-align: left;
      padding-right: 0;
      font-size: 15px;
    }
  
    .tl-dot-col {
      display: none;
    }
  
    .tl-body {
      padding-bottom: 28px;
      border-left: 3px solid #d8d8d6;
      padding-left: 14px !important;
    }
  
    .tl-person-row {
      grid-template-columns: 1fr;
      gap: 8px;
    }
  
    .tl-statuses {
      text-align: left;
    }
  
    .rapoarte-content {
      padding: 24px 0 48px;
    }
  
    .rapoarte-table td:last-child {
      white-space: normal;
    }
  
    .dosar-instante {
      padding: 32px 0 48px;
    }
  
    .dosar-instance-card__inner {
      padding: 18px 16px 22px;
    }
  
    .dosar-instance-dl > div {
      grid-template-columns: 1fr;
      gap: 4px;
    }
  
    .dosar-instance-dl dd {
      text-align: left;
    }
  
    .dosar-instance-dl--inline {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 767px) and (orientation: landscape) {
    .hero .inner {
      padding-top: 20px;
    }
  }
  