/* ============================================================
   LAW FM 103.9 — Rate card web version (rate-card.php #rates)
   Flat tables in the brand navy and red. Light and dark mode.
   ============================================================ */
.rc-web { background: #fff; }
.rc-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 6px; margin: 0 0 30px; }
.rc-tabs::-webkit-scrollbar { display: none; }
.rc-tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(49, 51, 95, .16); background: #fff; color: var(--primary, #31335f); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.rc-tab i { color: var(--accent, #a03234); font-size: 14px; }
.rc-tab:hover { border-color: rgba(49, 51, 95, .4); }
.rc-tab.is-active { background: var(--primary, #31335f); border-color: var(--primary, #31335f); color: #fff; }
.rc-tab.is-active i { color: #F2B8B9; }
.rc-panel { max-width: 1000px; margin: 0 auto; }
.rc-bands { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rc-bands li { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 16px; background: #F7F7FB; border: 1px solid rgba(49, 51, 95, .08); }
.rc-bands strong { font-family: 'Outfit', sans-serif; color: var(--primary, #31335f); font-size: 1.05rem; }
.rc-bands span { color: #4a4d5e; font-size: 14px; }
.rc-bands li:nth-child(3) { background: #FBF3F3; border-color: rgba(160, 50, 52, .14); }
.rc-block { margin: 0 0 30px; }
.rc-h3 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--primary, #31335f); margin: 0 0 4px; }
.rc-note { color: #6b6b6b; font-size: 14px; margin: 0 0 12px; }
.rc-note--lead { text-align: center; font-size: 15px; margin-bottom: 22px; }
.rc-scroll { overflow-x: auto; border: 1px solid rgba(49, 51, 95, .12); border-radius: 14px; -webkit-overflow-scrolling: touch; }
.rc-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; margin: 0; }
.rc-table thead th { background: var(--primary, #31335f); color: #fff; font-weight: 600; font-size: 13.5px; text-align: right; padding: 12px 16px; white-space: nowrap; }
.rc-table thead th:first-child { text-align: left; }
.rc-table tbody th, .rc-table td { padding: 12px 16px; border-top: 1px solid rgba(49, 51, 95, .08); }
.rc-table tbody tr:first-child th, .rc-table tbody tr:first-child td { border-top: 0; }
.rc-table tbody th { text-align: left; font-weight: 600; color: var(--primary, #31335f); background: #fff; position: sticky; left: 0; }
.rc-table td { text-align: right; color: #26283a; white-space: nowrap; }
.rc-table tbody tr:nth-child(even) th, .rc-table tbody tr:nth-child(even) td { background: #FAFAFC; }
.rc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.rc-grid .rc-table td { white-space: normal; }
.rc-sme { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px 22px; padding: 20px 24px; margin: 0 0 30px; border-radius: 18px; background: linear-gradient(135deg, var(--primary, #31335f) 0%, #1a1c3a 100%); color: #fff; }
.rc-sme__tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #F2B8B9; }
.rc-sme p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 15px; line-height: 1.5; }
.rc-sme__price { font-family: 'Outfit', sans-serif; font-size: 1.6rem; font-weight: 800; white-space: nowrap; }
.rc-notes { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rc-notes li { display: flex; gap: 10px; color: #26283a; font-size: 15px; line-height: 1.5; }
.rc-notes i { color: var(--accent, #a03234); margin-top: 4px; font-size: 13px; }
.rc-foot { text-align: center; color: #6b6b6b; font-size: 14.5px; margin: 10px 0 0; }
.rc-foot i { color: var(--accent, #a03234); margin-right: 4px; }
.rc-foot a { color: var(--accent, #a03234); font-weight: 600; }

@media (max-width: 767px) {
  .rc-tabs { justify-content: flex-start; margin: 0 -12px 22px; padding: 4px 12px 6px; }
  .rc-tab { min-height: 42px; padding: 0 16px; font-size: 14px; }
  .rc-bands { grid-template-columns: 1fr; gap: 8px; }
  .rc-bands li { flex-direction: row; justify-content: space-between; align-items: center; padding: 12px 14px; gap: 12px; }
  .rc-bands span { text-align: right; font-size: 13px; }
  .rc-grid { grid-template-columns: 1fr; }
  .rc-table { font-size: 14px; }
  .rc-table thead th, .rc-table tbody th, .rc-table td { padding: 10px 12px; }
  .rc-sme { grid-template-columns: 1fr; text-align: left; padding: 18px; }
}

/* Dark mode */
body.dark-mode .rc-web { background: transparent; }
body.dark-mode .rc-tab { background: #1c2036; border-color: rgba(255, 255, 255, .12); color: #fff; }
body.dark-mode .rc-tab.is-active { background: #fff; color: var(--primary, #31335f); border-color: #fff; }
body.dark-mode .rc-tab.is-active i { color: var(--accent, #a03234); }
body.dark-mode .rc-bands li { background: #1c2036; border-color: rgba(255, 255, 255, .1); }
body.dark-mode .rc-bands li:nth-child(3) { background: #2a1e2a; }
body.dark-mode .rc-bands strong, body.dark-mode .rc-h3, body.dark-mode .rc-table tbody th { color: #fff; }
body.dark-mode .rc-bands span, body.dark-mode .rc-notes li, body.dark-mode .rc-table td { color: #d6d8e4; }
body.dark-mode .rc-note, body.dark-mode .rc-foot { color: #aeb1c6; }
body.dark-mode .rc-scroll { border-color: rgba(255, 255, 255, .12); }
body.dark-mode .rc-table tbody th, body.dark-mode .rc-table td { background: #1c2036; border-color: rgba(255, 255, 255, .07); }
body.dark-mode .rc-table tbody tr:nth-child(even) th, body.dark-mode .rc-table tbody tr:nth-child(even) td { background: #242944; }
body.dark-mode .rc-foot a { color: #f2b8b9; }
.rc-size-sm { display: none; }
@media (max-width: 767px) {
  .rc-table--online .rc-size { display: none; }
  .rc-size-sm { display: block; font-weight: 500; font-size: 12.5px; color: #6b6e80; margin-top: 2px; }
  .rc-table--online tbody th { min-width: 0; }
}
body.dark-mode .rc-web h2 { color: #fff; }
body.dark-mode .rc-web .lead { color: #aeb1c6 !important; }
body.dark-mode .rc-size-sm { color: #aeb1c6; }
.rc-swipe { display: none; }
@media (max-width: 767px) { .rc-swipe { display: inline; } }
