/* BTT case study styling — matches site palette (dark navy + gold)
 * Enqueued by btt-claude-publisher.php on the case-study post type singular view.
 * Class names are scoped to .btt-cs-* so this never conflicts with theme/Bricks rules.
 */
.btt-cs-hero{background:#f4f8fa;border:1px solid #e0eaee;border-radius:16px;padding:32px;margin:24px 0 32px}
.btt-cs-hero__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:20px}
.btt-cs-hero__stat{background:#033d5f;color:#fff;border-radius:12px;padding:24px 20px;display:flex;flex-direction:column;gap:6px}
.btt-cs-hero__stat-value{font-size:clamp(1.6rem,3vw,2.4rem);font-weight:700;color:#fbaa34;line-height:1.1}
.btt-cs-hero__stat-label{font-size:.9rem;color:#fff;opacity:.85}
.btt-cs-hero>p{margin:8px 0 0;color:#033d5f}
.btt-cs-hero>p:first-of-type{font-weight:600;font-size:1.1rem}
@media (max-width:700px){.btt-cs-hero{padding:24px}.btt-cs-hero__stats{grid-template-columns:1fr}}

.btt-cs-lead{font-size:1.15rem;font-weight:500;color:#033d5f;line-height:1.55;margin:24px 0;padding:8px 0 8px 18px;border-left:4px solid #fbaa34}

.btt-cs-results{background:#f4f8fa;border:1px solid #e0eaee;border-radius:16px;padding:32px;margin:32px 0}
.btt-cs-results__heading{color:#033d5f;margin:0 0 20px;font-size:1.4rem;font-weight:700}
.btt-cs-results__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:20px}
.btt-cs-results__item{background:#033d5f;color:#fff;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:4px}
.btt-cs-results__item>strong:first-child,.btt-cs-results__item>span:first-child{color:#fbaa34;font-size:1.5rem;font-weight:700;line-height:1.1}
.btt-cs-results__item strong{color:#fbaa34}
.btt-cs-results__wins{list-style:none;padding:0;margin:0}
.btt-cs-results__wins li{padding:10px 0 10px 28px;position:relative;border-bottom:1px solid #e0eaee;color:#033d5f}
.btt-cs-results__wins li:last-child{border-bottom:0}
.btt-cs-results__wins li::before{content:"\2713";position:absolute;left:0;top:10px;color:#fbaa34;font-weight:700}
@media (max-width:700px){.btt-cs-results{padding:24px}.btt-cs-results__grid{grid-template-columns:1fr}}

.btt-cs-related{background:#f4f8fa;border:1px solid #e0eaee;border-radius:16px;padding:32px;margin:32px 0}
.btt-cs-related__heading{color:#033d5f;margin:0 0 20px;font-size:1.4rem;font-weight:700}
.btt-cs-related__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.btt-cs-related__col{background:#033d5f;color:#fff;border-radius:12px;padding:22px}
.btt-cs-related__label{display:block;color:#fbaa34;font-weight:700;font-size:.85rem;margin-bottom:12px;text-transform:uppercase;letter-spacing:.05em}
.btt-cs-related__list{list-style:none;padding:0;margin:0}
.btt-cs-related__list li{margin:8px 0}
/* Default .btt-cs-link styling — readable on the light cream backgrounds (.btt-cs-hero, .btt-cs-results, body prose) */
.btt-cs-link,.btt-cs-hero a,.btt-cs-results a,.btt-cs-related__heading a{color:#033d5f;text-decoration:underline;text-decoration-color:rgba(251,170,52,.6);text-underline-offset:3px;transition:text-decoration-color .2s,color .2s}
.btt-cs-link:hover,.btt-cs-hero a:hover,.btt-cs-results a:hover{text-decoration-color:#fbaa34}
/* Override: when a .btt-cs-link is INSIDE a dark navy panel, flip to white */
.btt-cs-related__list a,.btt-cs-related__col .btt-cs-link,.btt-cs-takeaways .btt-cs-link,.btt-cs-cta .btt-cs-link,.btt-cs-takeaways a,.btt-cs-cta a{color:#fff;text-decoration-color:rgba(251,170,52,.55)}
.btt-cs-related__list a:hover,.btt-cs-related__col .btt-cs-link:hover,.btt-cs-takeaways a:hover,.btt-cs-cta a:hover,.btt-cs-takeaways .btt-cs-link:hover,.btt-cs-cta .btt-cs-link:hover{color:#fff;text-decoration-color:#fbaa34}
@media (max-width:700px){.btt-cs-related{padding:24px}.btt-cs-related__grid{grid-template-columns:1fr}}

.btt-cs-takeaways{background:#033d5f;color:#fff;border-radius:16px;padding:32px;margin:32px 0}
.btt-cs-takeaways__heading{color:#fbaa34;margin:0 0 16px;font-size:1.4rem;font-weight:700}
.btt-cs-takeaways ul,.btt-cs-takeaways ol{padding-left:22px;margin:0}
.btt-cs-takeaways li{margin:8px 0;color:#fff}
.btt-cs-takeaways p{color:#fff;margin:8px 0}
.btt-cs-takeaways a{color:#fbaa34}

.btt-cs-cta{background:#033d5f;color:#fff;border-radius:16px;padding:36px;margin:32px 0;text-align:center}
.btt-cs-cta__heading{color:#fbaa34;margin:0 0 12px;font-size:1.6rem;font-weight:700}
.btt-cs-cta__body{color:#fff;margin:0 auto 24px;max-width:580px;font-size:1.05rem;line-height:1.55}
.btt-cs-cta__button{display:inline-block;background:#fbaa34;color:#033d5f!important;padding:14px 32px;border-radius:999px;font-weight:700;text-decoration:none;transition:transform .15s,background .15s}
.btt-cs-cta__button:hover{background:#ffba50;transform:translateY(-1px);text-decoration:none}

/* Tables inside any case study post-content (where Chris likes metrics styled) */
.brxe-post-content table,.btt-cs-table{width:100%;border-collapse:separate;border-spacing:0;margin:24px 0;border-radius:12px;overflow:hidden;box-shadow:0 0 0 1px #e0eaee}
.brxe-post-content table thead,.btt-cs-table thead{background:#033d5f}
.brxe-post-content table thead th,.btt-cs-table thead th{padding:14px 16px;text-align:left;font-weight:700;color:#fbaa34;border-bottom:2px solid #fbaa34}
.brxe-post-content table tbody td,.btt-cs-table tbody td{padding:12px 16px;border-bottom:1px solid #e0eaee;color:#033d5f}
.brxe-post-content table tbody tr:nth-child(even),.btt-cs-table tbody tr:nth-child(even){background:#f4f8fa}
.brxe-post-content table tbody tr:last-child td,.btt-cs-table tbody tr:last-child td{border-bottom:0}

/* Inline metric chip for any prose */
.btt-metric{display:inline-block;background:#033d5f;color:#fbaa34;font-weight:700;padding:2px 10px;border-radius:6px;margin:0 2px;font-size:.95em}
