/*
Theme Name: SAWS Tuning
Description: The SAWS Tuning redesign for WordPress. Pairs with SAWS Tuning Tools.
Version: 1.4.1
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: saws-tuning
*/
:root { --saws-red: #bc2a26; --saws-ink: #181a1b; --saws-paper: #f2f0eb; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--saws-ink); background: var(--saws-paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.65; }
a { color: inherit; }
img { max-width: 100%; }
.saws-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 16px 5%; border-bottom: 1px solid #ccc; }
.saws-header img { display: block; width: 175px; height: auto; }
.saws-header ul { display: flex; flex-wrap: wrap; gap: clamp(12px, 2vw, 28px); list-style: none; padding: 0; margin: 0; }
.saws-header nav a { font-size: .9rem; text-decoration: none; padding-block: .35rem; }
.saws-header nav a:hover, .saws-header nav a[aria-current=page] { border-bottom: 2px solid var(--saws-red); }
.saws-hero { position: relative; isolation: isolate; min-height: 550px; display: flex; align-items: center; color: #fff; background: #131516; overflow: hidden; }
.saws-hero > img { position: absolute; inset: 0 0 0 auto; width: 79%; height: 100%; object-fit: cover; z-index: -2; }
.saws-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #131516 19%, #131516ed 29%, #13151638 79%); z-index: -1; }
.saws-hero-copy { padding: clamp(40px, 6vw, 82px) 7%; }
.saws-hero-copy > p:not(.saws-eyebrow) { max-width: 27rem; color: #e1e1e1; }
.saws-eyebrow { color: #ff736b; text-transform: uppercase; font-size: .78rem; font-weight: 700; letter-spacing: .12em; }
h1 { font-size: clamp(2.65rem, 5.2vw, 4.75rem); line-height: 1.04; letter-spacing: -.045em; margin-block: 0 .35em; }
h1 em { color: #ff5d52; font-style: normal; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); line-height: 1.12; letter-spacing: -.035em; }
h3 { line-height: 1.2; }
.saws-button { display: inline-block; color: white; background: var(--saws-red); padding: .85em 1.25em; margin: .3rem .45rem .3rem 0; border: 1px solid transparent; cursor: pointer; text-decoration: none; font-weight: 700; }
.saws-button:hover { background: #a22120; color: #fff; }
.saws-secondary { background: transparent; border-color: #aaa; }
.saws-strip { display: flex; justify-content: space-around; flex-wrap: wrap; gap: .75rem 2rem; padding: 1rem 7%; background: #252728; color: #fff; font-size: .88rem; }
.saws-strip span::before { content: '/'; color: #ff736b; margin-right: .65rem; }
.saws-page { padding: clamp(2.5rem, 5.6vw, 5rem) 7%; }
.saws-page > :first-child, .saws-page article > :first-child { margin-top: 0; }
.saws-page > article > p, .saws-page > p { max-width: 65ch; }
.saws-page-intro { margin-bottom: 1.75rem; }
.saws-page-intro .saws-eyebrow, .saws-home-results .saws-eyebrow { color: var(--saws-red); margin: 0 0 1rem; }
.saws-page-intro h1 { white-space: pre-line; }
.saws-page-intro > :last-child { margin-bottom: 0; }
.saws-page-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(1.25rem, 4vw, 3rem); }
.saws-page-columns > div > :first-child, .saws-page-aside > :first-child { margin-top: 0; }
.saws-page-aside { padding: clamp(1.25rem, 3vw, 2rem); background: #fff; border-left: 4px solid var(--saws-red); }
.saws-page-aside h2 { font-size: 1.45rem; }
.saws-page .saws-tool .saws-prices th[scope="row"] { font-weight: 400; }
.saws-page .saws-tool .saws-prices :is(th, td) { padding-block: 1rem; }
.saws-page .saws-tool .saws-prices :is(th, td):last-child { width: 18%; text-align: left; }
.saws-dark { background: #202324; color: #fff; }
.saws-dark p { color: #ddd; }
.saws-dark .saws-eyebrow { color: #ff736b; }
.saws-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.saws-methods article { border-top: 2px solid #7d8081; padding-top: 1.2rem; }
.saws-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.5rem 7%; font-size: .85rem; }
.saws-footer-links, .saws-guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.saws-guide-actions { margin-top: 1.5rem; }
.saws-guide-content { max-width: 76ch; }
.saws-guide-content h2 { margin-top: 1.6em; font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.saws-guide-image { display: block; width: 100%; height: auto; border: 1px solid #b9b8b4; }
.saws-project { background: #e8e5de; }
.saws-project h2 { margin-top: 0; }
.saws-project figure { margin: 0; }
.saws-flasher-guide { margin-top: 2.5rem; }
.saws-flasher-steps { padding-left: 1.3rem; }
.saws-flasher-steps li { margin-bottom: .85rem; padding-left: .25rem; }
.saws-text-link { display: inline-block; font-weight: 700; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #92500e; outline-offset: 4px; }
.screen-reader-text:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 2.8rem; left: 1rem; z-index: 10000; background: #fff; padding: .75rem; }
@media (max-width: 680px) {
    .saws-header { align-items: flex-start; flex-direction: column; }
    .saws-header img { width: 138px; }
    .saws-hero { min-height: 470px; }
    .saws-hero > img { width: 100%; }
    .saws-hero::after { background: linear-gradient(90deg, #131516ee, #13151675); }
    .saws-methods { grid-template-columns: 1fr; gap: 1rem; }
    .saws-page-columns { grid-template-columns: 1fr; }
    .saws-strip { justify-content: flex-start; }
}
