/* Copyright (c) 2026 Matthew X Murphy (MatthewxMurphy.com).
 * Author: https://MatthewxMurphy.com | https://builtnotbegged.com
 * SPDX-License-Identifier: GPL-2.0-or-later
 */
.cph-voices { --voice-ink: #091529; --voice-muted: #50627c; --voice-blue: #0548b8; color: var(--voice-ink); font-family: inherit; max-width: 1180px; margin: 3rem auto; padding: clamp(1.15rem, 3.8vw, 3.25rem); border: 1px solid #dce6f3; border-radius: 22px; background: linear-gradient(135deg, #f1f7ff 0%, #f7fcfa 42%, #fff 75%); }
.cph-voices, .cph-voices * { box-sizing: border-box; }
.cph-voice-page-title { max-width: 1180px; margin: 3rem auto 0; padding: 0 1px; }
.cph-voice-page-title h1 { margin: 0; color: #091529; font-family: inherit; font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; }
.cph-voices [hidden] { display: none !important; }
.cph-voices .cph-voices__intro { max-width: 760px; margin-bottom: 2rem; }
.cph-voices .cph-voices__eyebrow { margin: 0 0 .8rem; color: #087947; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cph-voices .cph-voices__intro h2 { color: var(--voice-ink); font-family: inherit; font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 800; line-height: 1.12; letter-spacing: -.035em; margin: 0 0 1rem; }
.cph-voices .cph-voices__intro p:last-child { color: var(--voice-muted); line-height: 1.65; font-size: 1rem; margin: 0; }
.cph-voices__filters { display: flex; align-items: end; gap: 1rem; padding-bottom: 1.6rem; border-bottom: 1px solid #dce6f3; }
.cph-voices__field { flex: 1; min-width: 0; }
.cph-voices__field--search { flex: 1.5; }
.cph-voices .cph-voices__field label { display: block; color: var(--voice-ink); font-weight: 700; font-size: .83rem; line-height: 1.5; margin-bottom: .5rem; }
.cph-voices .cph-voices__field input, .cph-voices .cph-voices__field select { display: block; width: 100%; max-width: none; min-height: 48px; margin: 0; border: 1px solid #a7b8cf; border-radius: 8px; background: #fff; color: var(--voice-ink); font: inherit; font-size: 1rem; padding: .65rem .85rem; box-shadow: none; }
.cph-voices button { min-height: 44px; font-family: inherit; font-size: .88rem; font-weight: 700; line-height: 1.4; cursor: pointer; text-transform: none; letter-spacing: normal; box-shadow: none; }
.cph-voices .cph-voices__clear { flex: none; padding: .7rem .35rem; color: var(--voice-blue); border: 0; border-radius: 4px; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.cph-voices .cph-voices__clear:disabled { color: #67748a; opacity: .7; cursor: default; text-decoration: none; }
.cph-voices :is(input, select, button, audio):focus-visible { outline: 3px solid #1677ff; outline-offset: 4px; }
.cph-voices__results-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem; margin: 1.35rem 0 1rem; }
.cph-voices .cph-voices__results-head p { margin: 0; color: var(--voice-muted); font-size: .8rem; line-height: 1.6; }
.cph-voices .cph-voices__results-head .cph-voices__count { color: var(--voice-ink); font-weight: 700; }
.cph-voices .cph-voices__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 0; margin: 0; list-style: none; }
.cph-voices .cph-voices__card { display: block; min-width: 0; padding: 1.35rem 1.4rem 1.1rem; margin: 0; border: 1px solid #d8e3f0; border-radius: 12px; background: #fff; box-shadow: 0 5px 15px rgba(9, 21, 41, .025); }
.cph-voices .cph-voices__category { margin: 0 0 .4rem; color: #49617f; font-size: .75rem; font-weight: 650; line-height: 1.5; }
.cph-voices .cph-voices__card h3 { margin: 0 0 1rem; padding: 0; color: var(--voice-ink); font-family: inherit; font-size: 1.15rem; font-weight: 750; letter-spacing: -.015em; line-height: 1.35; overflow-wrap: anywhere; scroll-margin-top: 5rem; }
.cph-voices .cph-voices__card h3:focus { outline: 2px solid #1677ff; outline-offset: 5px; }
.cph-voices audio { display: block; width: 100%; min-width: 0; height: 42px; color-scheme: light; }
.cph-voices .cph-voices__error { margin: .8rem 0 0; color: #9a2c25; font-size: .85rem; line-height: 1.6; }
.cph-voices .cph-voices__retry { color: #9a2c25; padding: .2rem 0; border: 0; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.cph-voices__empty { text-align: center; padding: 3rem 1rem; }
.cph-voices .cph-voices__empty h3 { font-family: inherit; font-size: 1.25rem; font-weight: 700; line-height: 1.5; margin: 0 0 .5rem; }
.cph-voices .cph-voices__empty p { color: var(--voice-muted); margin: 0; }
.cph-voices__footer { display: flex; justify-content: center; padding-top: 1.8rem; }
.cph-voices .cph-voices__more { min-width: 220px; min-height: 48px; padding: .8rem 1.4rem; border: 1px solid var(--voice-blue); border-radius: 8px; background: var(--voice-blue); color: #fff; }
.cph-voices .cph-voices__more:hover { background: #033789; border-color: #033789; }
@media (max-width: 720px) {
  .cph-voices { margin: 1.5rem 0; border-radius: 14px; }
  .cph-voices__filters { flex-wrap: wrap; gap: .8rem; }
  .cph-voices__field, .cph-voices__field--search { flex-basis: 100%; }
  .cph-voices .cph-voices__clear { padding-left: 0; }
  .cph-voices .cph-voices__grid { grid-template-columns: minmax(0, 1fr); }
  .cph-voices .cph-voices__card { padding: 1.15rem; }
  .cph-voices__results-head { display: block; }
  .cph-voices .cph-voices__hint { margin-top: .25rem; }
}
