/*
Theme Name: Fiddles & Fuzz
Theme URI: https://fiddlesandfuzz.com
Author: Fiddles & Fuzz
Description: Texas and Red Dirt music news. Red woven texture, the Rocking Double F brand, brand-seal section breaks.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: fiddles-fuzz
*/

:root{--ff-red:#D21F26;--ff-red-bright:#E8262D;--ff-black:#000;--ff-paper:#F1EDE4;--ff-rule:#DDD6C8;--ff-muted:#5C5C5C}
body{background:var(--ff-paper)}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--ff-red);outline-offset:2px}

/* textures */
.ff-denim{background-color:#C21A22;background-image:repeating-linear-gradient(45deg,rgba(0,0,0,.07) 0 2px,rgba(0,0,0,0) 2px 5px),repeating-linear-gradient(-45deg,rgba(255,255,255,.05) 0 1px,rgba(0,0,0,0) 1px 6px);color:#fff}
.ff-wood{background-color:#0E0B09;background-image:radial-gradient(120% 80% at 30% 20%,rgba(120,70,40,.22),rgba(0,0,0,0) 60%),repeating-linear-gradient(92deg,rgba(255,255,255,.025) 0 2px,rgba(0,0,0,0) 2px 9px,rgba(255,220,180,.03) 9px 10px,rgba(0,0,0,0) 10px 23px);color:#fff}
.ff-denim a,.ff-wood a{color:#fff}

/* header */
.ff-header{padding:14px clamp(18px,4vw,32px)}
.ff-header .wp-block-navigation a{color:#fff;font-weight:700}
.ff-header .wp-block-navigation__responsive-container.is-menu-open{background:#000;color:#fff}
.ff-logo{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none}
.ff-logo:hover{text-decoration:none}
.ff-logo-word{font-family:var(--wp--preset--font-family--display);font-weight:900;font-size:36px;line-height:.86;text-transform:uppercase}
.ff-logo-word b{color:#000;font-weight:900}
.ff-header .wp-block-search__input{border-radius:999px;border:0;padding:8px 16px}
.ff-header .wp-block-search__button{border-radius:999px;background:#000;color:#fff;border:0}

/* crack mark */
.ff-crack{display:block;margin:12px 0 16px}
.ff-crack path{stroke:var(--ff-red-bright)}
.ff-crack-draw path{stroke-dasharray:220;stroke-dashoffset:220;animation:ffdraw .9s .35s ease-out forwards}
@keyframes ffdraw{to{stroke-dashoffset:0}}

/* brand seal */
.ff-seal{display:flex;align-items:center;gap:16px;padding:0 clamp(18px,4vw,32px);margin:0!important}
.ff-seal-line{flex:1;height:3px;background:var(--ff-red-bright)}
.ff-seal-mark{flex:0 0 auto;width:60px;height:60px;border-radius:30px;background:#000;border:3px solid var(--ff-red-bright);display:flex;align-items:center;justify-content:center}
@keyframes ffpress{from{transform:scale(1.7) rotate(-30deg);opacity:0}60%{transform:scale(.94) rotate(4deg);opacity:1}to{transform:none;opacity:1}}
@keyframes ffline{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@supports (animation-timeline:view()){
 .ff-seal-mark{animation:ffpress linear both;animation-timeline:view();animation-range:entry 5% cover 30%}
 .ff-seal-line:first-child{transform-origin:right center;animation:ffline linear both;animation-timeline:view();animation-range:entry 15% cover 40%}
 .ff-seal-line:last-child{transform-origin:left center;animation:ffline linear both;animation-timeline:view();animation-range:entry 15% cover 40%}
}
@media (prefers-reduced-motion:reduce){.ff-seal-mark,.ff-seal-line,.ff-crack-draw path{animation:none!important;stroke-dashoffset:0}}

/* pills */
.ff-pill a,.ff-pill{display:inline-block;background:#000;color:#fff!important;border-radius:999px;padding:5px 14px;font-weight:700;font-size:14px;text-decoration:none}
.ff-pill .wp-block-post-terms__separator{display:none}
.ff-lane a{color:var(--ff-red)!important;font-weight:800;font-size:14px;text-decoration:none}

/* hero */
.ff-hero .wp-block-post{position:relative;border-radius:28px;overflow:hidden;background:#111;min-height:520px;display:flex;align-items:flex-end}
.ff-hero .wp-block-post-featured-image{position:absolute;inset:0;margin:0}
.ff-hero .wp-block-post-featured-image img{width:100%;height:100%;object-fit:cover}
.ff-hero .ff-hero-text{position:relative;padding:clamp(22px,4vw,48px);width:100%;box-sizing:border-box;background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.88) 55%);color:#fff}
.ff-hero .ff-hero-text a{color:#fff;text-decoration:none}
.ff-hero .wp-block-post-title{font-size:clamp(44px,7vw,96px);line-height:.9;margin:12px 0 0}

/* news list */
.ff-list .wp-block-post{display:flex;gap:18px;align-items:flex-start;padding:20px 0;border-top:2px solid var(--ff-rule)}
.ff-list .wp-block-post-featured-image{flex:0 0 clamp(92px,24%,180px);margin:0}
.ff-list .wp-block-post-featured-image img{border-radius:16px;aspect-ratio:1;object-fit:cover}
.ff-list .wp-block-post-title{font-family:var(--wp--preset--font-family--body);text-transform:none;font-weight:800;font-size:clamp(18px,2.4vw,23px);line-height:1.22;margin:4px 0}
.ff-list .wp-block-post-title a{text-decoration:none}
.ff-list .wp-block-post-excerpt{margin:4px 0;color:#333}
@media (max-width:760px){.ff-list .wp-block-post-excerpt{display:none}}

/* rails */
.ff-rail .wp-block-post-template{display:flex!important;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px;grid-template-columns:none!important}
.ff-rail .wp-block-post{flex:0 0 clamp(200px,60vw,260px);scroll-snap-align:start;position:relative;border-radius:20px;overflow:hidden;aspect-ratio:3/4;background:#222}
.ff-rail .wp-block-post-featured-image{position:absolute;inset:0;margin:0}
.ff-rail .wp-block-post-featured-image img{width:100%;height:100%;object-fit:cover}
.ff-rail .wp-block-post-title{position:absolute;left:0;right:0;bottom:0;margin:0;padding:18px;font-size:30px;line-height:.95;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.85))}
.ff-rail .wp-block-post-title a{color:#fff;text-decoration:none}

/* grid cards */
.ff-cards .wp-block-post-featured-image img{border-radius:18px;aspect-ratio:3/2;object-fit:cover}
.ff-cards .wp-block-post-title{font-size:28px;line-height:.98}
.ff-cards .wp-block-post-title a{text-decoration:none}

/* article */
.ff-article .wp-block-post-content p{font-size:19px;line-height:1.75}
.ff-article .wp-block-post-content h2{margin-top:40px}
.ff-article .wp-block-post-content table{width:100%;border-collapse:collapse;font-size:16px}
.ff-article .wp-block-post-content td,.ff-article .wp-block-post-content th{border-top:2px solid var(--ff-rule);padding:10px 8px;text-align:left}
.ff-figcap{font-size:14px;color:var(--ff-muted)}

/* artist facts */
.ff-facts{display:flex;flex-wrap:wrap;gap:16px 44px;padding:20px clamp(18px,4vw,32px)}
.ff-facts div{display:flex;flex-direction:column;gap:2px;min-width:130px}
.ff-facts span{font-size:13px;font-weight:700;color:#FFE3E4}
.ff-facts strong{font-size:18px;font-weight:800}
.ff-facts a{text-decoration:underline}

/* ads */
.ff-ad{display:flex;flex-direction:column;align-items:center;gap:6px;margin:28px auto;max-width:100%}
.ff-ad-label{font-size:11px;font-weight:700;color:#6B6458;letter-spacing:.04em}
.ff-ad-box{display:flex;align-items:center;justify-content:center;text-align:center;border:2px dashed #BDB5A6;border-radius:12px;background:#E9E4D9;color:#6B6458;font-size:13px;font-weight:600;max-width:100%;box-sizing:border-box}
.ff-ad-leaderboard .ff-ad-box,.ff-ad-leaderboard ins{width:728px;min-height:90px}
.ff-ad-billboard .ff-ad-box,.ff-ad-billboard ins{width:970px;min-height:250px}
.ff-ad-rectangle .ff-ad-box,.ff-ad-rectangle ins{width:300px;min-height:250px}
.ff-ad-halfpage .ff-ad-box,.ff-ad-halfpage ins{width:300px;min-height:600px}
@media (max-width:760px){.ff-ad-leaderboard .ff-ad-box,.ff-ad-leaderboard ins{width:320px;min-height:100px}.ff-ad-billboard .ff-ad-box,.ff-ad-billboard ins{width:300px;min-height:250px}.ff-ad-halfpage .ff-ad-box,.ff-ad-halfpage ins{min-height:250px}}

/* footer */
.ff-footer{border-top:4px solid var(--ff-red-bright)}
.ff-footer a{color:#fff}
