/* XRS Core block styles. Uses the theme's --xrs-* variables with literal fallbacks so it works under any theme. */
.xrs-block-heading { font-family: var(--xrs-font-heading, inherit); color: var(--xrs-navy, #0B1F3A); margin: 0 0 1.25rem; }
.xrs-empty { padding: 1rem; border: 1px dashed #94a3b8; border-radius: 10px; color: #475569; background: #f8fafc; font-size: 0.9rem; }

/* Licence table */
.xrs-licence-table { width: 100%; }
.xrs-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.xrs-filter-btn { padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--xrs-line, #E2E8F0); background: var(--xrs-white, #fff); color: var(--xrs-navy, #0B1F3A); font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.xrs-filter-btn:hover { border-color: var(--xrs-accent, #F7A823); color: var(--xrs-accent-dark, #B86E0A); }
.xrs-filter-btn.is-active { background: var(--xrs-navy, #0B1F3A); color: #fff; border-color: var(--xrs-navy, #0B1F3A); }
.xrs-table-wrap { overflow-x: auto; border: 1px solid var(--xrs-line, #E2E8F0); border-radius: var(--xrs-radius, 14px); background: var(--xrs-white, #fff); -webkit-overflow-scrolling: touch; }
.xrs-table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 0.92rem; }
.xrs-table thead th { text-align: left; padding: 0.9rem 1rem; background: var(--xrs-mist, #F3F6F9); color: var(--xrs-navy, #0B1F3A); font-family: var(--xrs-font-heading, inherit); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 1px solid var(--xrs-line, #E2E8F0); }
.xrs-table tbody th, .xrs-table tbody td { padding: 1rem; border-bottom: 1px solid var(--xrs-line, #E2E8F0); vertical-align: top; text-align: left; color: var(--xrs-slate, #475569); }
.xrs-table tbody tr:last-child th, .xrs-table tbody tr:last-child td { border-bottom: 0; }
.xrs-table tbody th { font-weight: 400; min-width: 240px; }
.xrs-row-name { display: block; font-family: var(--xrs-font-heading, inherit); font-weight: 600; color: var(--xrs-navy, #0B1F3A); }
.xrs-row-code { display: inline-block; margin-top: 0.25rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; color: var(--xrs-accent-dark, #B86E0A); }
.xrs-row-desc { display: block; margin-top: 0.35rem; font-size: 0.85rem; }
.xrs-badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; background: var(--xrs-mist, #F3F6F9); color: var(--xrs-navy, #0B1F3A); margin: 0 0.25rem 0.25rem 0; white-space: nowrap; }
.xrs-badge-licence { background: var(--xrs-accent-tint, #FFF4DE); color: var(--xrs-accent-dark, #B86E0A); }
.xrs-badge-assignment { background: #EEF2FF; color: #3730A3; }
.xrs-badge-certification { background: #FEF3C7; color: #92400E; }
.xrs-table .text-link { white-space: nowrap; }
.xrs-table-note { margin: 0.9rem 0 0; font-size: 0.82rem; color: var(--xrs-slate, #475569); }

/* Logo wall */
.xrs-logos-heading { text-align: center; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--xrs-slate, #475569); font-weight: 600; margin: 0 0 1.5rem; }
.xrs-logos-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 3rem; align-items: center; }
.xrs-logo { margin: 0; }
.xrs-logo img { max-height: 48px; width: auto; max-width: 160px; object-fit: contain; transition: filter 0.2s, opacity 0.2s; }
.xrs-logos.is-grayscale .xrs-logo img { filter: grayscale(1); opacity: 0.7; }
.xrs-logos.is-grayscale .xrs-logo:hover img { filter: none; opacity: 1; }

/* Testimonials */
.xrs-testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.xrs-testimonial { margin: 0; padding: 1.75rem; border-radius: var(--xrs-radius, 14px); background: var(--xrs-white, #fff); border: 1px solid var(--xrs-line, #E2E8F0); display: flex; flex-direction: column; gap: 1.25rem; }
.xrs-testimonial blockquote { margin: 0; padding: 0; border: 0; background: none; font-size: 1.02rem; color: var(--xrs-ink, #111827); }
.xrs-testimonial blockquote p { margin: 0; }
.xrs-testimonial blockquote p::before { content: "\201C"; color: var(--xrs-accent, #F7A823); font-weight: 700; }
.xrs-testimonial blockquote p::after { content: "\201D"; color: var(--xrs-accent, #F7A823); font-weight: 700; }
.xrs-testimonial figcaption { display: flex; align-items: center; gap: 0.9rem; margin-top: auto; font-size: 0.9rem; color: var(--xrs-slate, #475569); }
.xrs-testimonial-logo img { height: 36px; width: auto; max-width: 110px; object-fit: contain; }
.xrs-testimonial-meta { display: flex; flex-direction: column; }
.xrs-testimonial-meta strong { color: var(--xrs-navy, #0B1F3A); }
