/* SkydivingRig Catalog — inherits fonts and colours from the theme. */

.src-card { --src-line: rgba(0, 0, 0, .12); --src-soft: rgba(0, 0, 0, .04); --src-muted: rgba(0, 0, 0, .6); --src-accent: #C2410C; }
.src-card h2 { margin-top: 2em; font-size: 1.35em; }

.src-facts, .src-sizes, .src-list { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: .95em; }
.src-facts th, .src-facts td, .src-sizes th, .src-sizes td, .src-list th, .src-list td { padding: .55em .75em; border-bottom: 1px solid var(--src-line); text-align: left; vertical-align: top; }
.src-facts th { width: 36%; font-weight: 600; color: var(--src-muted); }
.src-sizes thead th, .src-list thead th { font-weight: 600; background: var(--src-soft); white-space: nowrap; }
.src-sizes td, .src-sizes tbody th { white-space: nowrap; font-variant-numeric: tabular-nums; }
.src-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.src-safety { border-left: 4px solid #b3261e; background: rgba(179, 38, 30, .06); padding: .9em 1.1em; margin: 0 0 1.5em; }
.src-safety ul { margin: .4em 0 .4em 1.2em; }
.src-safety p { margin: 0; font-size: .9em; }

.src-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6em; margin: 0 0 1.5em; }
.src-button { display: inline-block; padding: .65em 1.2em; border-radius: 6px; background: var(--src-accent); color: #fff !important; text-decoration: none !important; font-weight: 600; }
.src-button:hover, .src-button:focus { filter: brightness(1.1); }
.src-button--secondary { background: transparent; color: var(--src-accent) !important; border: 1px solid var(--src-accent); }
.src-tag { font-size: .75em; text-transform: uppercase; letter-spacing: .04em; color: var(--src-muted); margin-left: -.3em; }

.src-cite { font-size: .7em; margin-left: .15em; }
.src-cite a { text-decoration: none; }
.src-empty, .src-muted { color: var(--src-muted); }
.src-note, .src-disclaimer { font-size: .88em; color: var(--src-muted); }
.src-disclaimer { margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--src-line); }
.src-sources { font-size: .9em; }
.src-sources li:target { background: rgba(30, 95, 168, .1); }

.src-filters { display: flex; flex-wrap: wrap; gap: .8em; align-items: flex-end; margin-bottom: 1.2em; }
.src-filters label { display: flex; flex-direction: column; font-size: .85em; font-weight: 600; gap: .25em; }
.src-pages { display: flex; gap: .5em; flex-wrap: wrap; }
.src-pages span { font-weight: 700; }

/* Admin */
.src-state { display: inline-block; padding: 1px 6px; border-radius: 3px; font-size: 12px; background: #f0f0f1; }
.src-state--in_review { background: #fcf0d4; }
.src-state--published { background: #d7f0dd; }
.src-state--needs_update { background: #fbdcdc; }
#src_data .src-card h2 { font-size: 14px; margin: 1.5em 0 .5em; padding: 0; }

/* Product photo */
.src-photo{margin:0 0 1.5rem;background:#f6f6f4;border-radius:10px;overflow:hidden;text-align:center}
.src-photo__img{display:block;width:100%;max-height:440px;object-fit:contain;margin:0 auto;background:#f6f6f4}
.src-photo figcaption{font-size:.75rem;color:#6b6b6b;padding:.4rem .75rem;text-align:right;background:#fff;border-top:1px solid #eee}
.src-photo figcaption a{color:inherit}
.single-sr_model .page-header-image-single{display:none}

/* List thumbnails */
.src-list td.src-thumb, .src-list th.src-thumb { width: 72px; padding: .35em .5em; vertical-align: middle; }
.src-list td { vertical-align: middle; }
.src-thumb__img { display: block; width: 60px; height: 60px; object-fit: contain; background: #f6f6f4; border-radius: 6px; }
.src-thumb__img--empty { background: repeating-linear-gradient(135deg, #f3f2ef, #f3f2ef 6px, #ebe9e4 6px, #ebe9e4 12px); }
.src-chips { margin: -.5em 0 1em; }
.src-chip { display: inline-block; padding: .2em .6em; border-radius: 999px; background: #f3f2ef; font-size: .85em; margin-right: .4em; }
.src-chip a { text-decoration: none; margin-left: .3em; }

/* Gear category archives: compact rows with a thumbnail */
.src-gear-archive .inside-article { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 20px; align-items: start; }
.src-gear-archive .inside-article > * { grid-column: 2; }
.src-gear-archive .inside-article > .post-image { grid-column: 1; grid-row: 1 / span 3; margin: 0 !important; }
.src-gear-archive .post-image img { width: 96px; height: 96px; object-fit: contain; background: #f6f6f4; border-radius: 8px; }
.src-gear-archive .entry-summary { margin-top: .4em; }
.src-gear-archive .entry-summary p { margin-bottom: 0; }
.src-gear-archive .entry-title { font-size: 1.4em; }

/* Manufacturer page: model cards with a photo */
.src-mgrid { list-style: none; margin: 0 0 1.5em; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.src-mcard a { display: flex; flex-direction: column; height: 100%; border: 1px solid #e3e1dc; border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; background: #fff; transition: border-color .15s, box-shadow .15s; }
.src-mcard a:hover { border-color: #0B1220; box-shadow: 0 4px 14px rgba(11,18,32,.08); }
.src-mcard__photo { display: block; position: relative; aspect-ratio: 4 / 3; background: #f6f6f4; overflow: hidden; }
.src-mcard__img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.src-mcard__name { display: block; padding: .55em .7em 0; font-weight: 700; line-height: 1.25; }
.src-mcard__meta { display: block; padding: .15em .7em .7em; font-size: .8em; color: #6b6b6b; }
@media (max-width: 480px) { .src-mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
