/*
Theme Name: The Savage Breast
Theme URI: https://savagebreasts.com/
Author: Bruce A. Ferguson
Description: Golden hour block theme for The Savage Breast, a weekly musical escape. Peach, deep teal and marigold; Fraunces headings; record-sleeve Liner notes. Pair with the The Savage Breast Core plugin.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: savagebreast
*/

/* ---------- Header ---------- */
.sb-header { border-bottom: 1px solid var(--wp--preset--color--line); }
.sb-header .wp-block-site-logo img { border-radius: 50%; }
.sb-brand { gap: 14px; }
.sb-brand-text { gap: 0; }
.sb-brand-text > * { margin: 0; }
.sb-header-motto { font-size: 0.95rem; color: var(--wp--preset--color--muted); }
.sb-nav { font-size: 1rem; }
.sb-nav .wp-block-navigation-item__content { padding: 10px 12px; border-bottom: 3px solid transparent; color: var(--wp--preset--color--ink); text-decoration: none; }
.sb-nav .wp-block-navigation-item__content:hover,
.sb-nav .current-menu-item > .wp-block-navigation-item__content,
.sb-nav .wp-block-navigation-item__content[aria-current="page"] { border-bottom-color: var(--wp--preset--color--marigold); }
.sb-nav .wp-block-navigation__submenu-container { background: var(--wp--preset--color--card) !important; border: 1px solid var(--wp--preset--color--line) !important; border-radius: 12px; padding: 6px 0; min-width: 220px !important; }
.sb-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { border-bottom: 0; padding: 8px 16px; }

/* ---------- Shared pieces ---------- */
.sb-kicker { font-size: 0.8rem !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--amber); font-weight: 600; margin: 0; }
.sb-dek { font-family: var(--wp--preset--font-family--fraunces); font-style: italic; font-size: 1.4rem; line-height: 1.45; color: #3D3028; }
.sb-pill a, .sb-pill { text-decoration: none; }
.sb-pill a { display: inline-block; background: var(--wp--preset--color--marigold); color: var(--wp--preset--color--ink); border-radius: 999px; padding: 4px 14px; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.sb-pill .wp-block-post-terms__separator { display: none; }
.sb-plate img { border-radius: 10px; }
.sb-plate { border: 1px solid var(--wp--preset--color--line); border-radius: 14px; padding: 10px; background: var(--wp--preset--color--card); }

/* Bands */
.sb-band { background: var(--wp--preset--color--tint); border-top: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line); }
.sb-band--teal { background: var(--wp--preset--color--teal); color: var(--wp--preset--color--white); border: 0; }
.sb-band--teal p { color: #CDE3E5; }
.sb-band--teal h2 { color: var(--wp--preset--color--white); }

/* Feature (latest Escape) and cards */
.sb-feature { background: var(--wp--preset--color--card); border: 1px solid var(--wp--preset--color--line); border-radius: 14px; padding: 28px; }
.sb-feature .wp-block-post-title a, .sb-card .wp-block-post-title a { color: var(--wp--preset--color--ink); text-decoration: none; }
.sb-feature .wp-block-post-title a:hover, .sb-card .wp-block-post-title a:hover { text-decoration: underline; text-decoration-color: var(--wp--preset--color--marigold); text-underline-offset: 6px; }
.sb-card { background: var(--wp--preset--color--card); border: 1px solid var(--wp--preset--color--line); border-radius: 14px; overflow: hidden; height: 100%; }
.sb-card .wp-block-post-featured-image { margin: 0; }
.sb-card-body { padding: 22px 24px 26px; }
.sb-grid .wp-block-post-template { gap: 24px; }
.wp-block-read-more { font-weight: 600; }

/* Category chips */
.sb-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.95rem; }
.sb-chips li a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; color: var(--wp--preset--color--ink); text-decoration: none; background: var(--wp--preset--color--card); }
.sb-chips li.current-cat a { background: var(--wp--preset--color--marigold); border-color: var(--wp--preset--color--marigold); }
.sb-chips li a:hover { border-color: var(--wp--preset--color--marigold); }

/* How to escape steps */
.sb-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: sbstep; }
.sb-steps li { counter-increment: sbstep; border-top: 1px solid rgba(255,255,255,0.35); padding-top: 16px; }
.sb-steps li::before { content: counter(sbstep, upper-roman) "."; display: block; font-family: var(--wp--preset--font-family--fraunces); font-size: 2.4rem; line-height: 1.1; margin-bottom: 6px; }
.sb-band--teal .sb-steps li { color: var(--wp--preset--color--white); }

/* Motto */
.sb-motto { font-family: var(--wp--preset--font-family--im-fell) !important; font-style: italic; }
.sb-motto-quote { text-align: center; background: var(--wp--preset--color--card); border: 1px solid var(--wp--preset--color--line) !important; border-radius: 14px; padding: 32px 36px !important; }
.sb-motto-quote cite { display: block; margin-top: 12px; font-family: var(--wp--preset--font-family--libre-franklin); font-style: normal; font-size: 0.95rem; color: var(--wp--preset--color--muted); }

/* Comments */
.sb-comments { border-top: 1px solid var(--wp--preset--color--ink); padding-top: 1.5rem; margin-top: 3rem; }
.sb-comment { border-bottom: 1px solid var(--wp--preset--color--line); padding: 1rem 0; }
.sb-comments input[type="text"], .sb-comments input[type="email"], .sb-comments input[type="url"], .sb-comments textarea { border: 1px solid #A88A6E; border-radius: 10px; background: #FFFBF6; padding: 10px 12px; font: inherit; width: 100%; box-sizing: border-box; }
.sb-comments .comment-form label { font-weight: 600; font-size: 0.95rem; }

/* Footer */
.sb-footer { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--cream); padding-top: 3.5rem; padding-bottom: 2.5rem; }
footer.wp-block-template-part { margin-top: 0; }
main.wp-block-group { margin-top: 0; }
.sb-section { padding-top: 4rem; padding-bottom: 4rem; }
.sb-section-tight { padding-top: 3rem; padding-bottom: 1rem; }
.sb-footer a { color: var(--wp--preset--color--cream); }
.sb-footer .sb-footer-small { color: #D8C3A8; font-size: 0.875rem; }
.sb-footer .sb-motto { font-size: 1.5rem; line-height: 1.35; }

/* Editor-only highlight for [Bruce: …] notes left in drafts */
mark.sb-todo { background: #FCE3A6; color: #4A3A12; padding: 2px 6px; }
