/*
Theme Name: Studio Music Gear
Author: Studio Music Gear
Description: An editorial block theme for StudioMusicGear.com, ToneAudit, and RevDevStudio, prepared for the official Shopify plugin for WordPress.
Version: 0.2.4
Requires at least: 6.6
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: studio-music-gear
Tags: block-patterns, full-site-editing, wide-blocks, custom-colors, custom-logo, editor-style, featured-images, blog, e-commerce
*/
:root{--smg-gold:#d8b271;--smg-teal:#50d6ca;--smg-orange:#eb9973;--smg-line:#30363b;--smg-muted:#a7afb5;--smg-panel:#151a1f;--smg-radius:12px}
html{scroll-behavior:smooth;scroll-padding-top:7rem}
body{margin:0;-webkit-font-smoothing:antialiased}
body .wp-site-blocks{padding-top:0;padding-bottom:0}
body .wp-site-blocks>header{margin-block-start:0}
a,button,input,textarea,select{touch-action:manipulation}
a{text-underline-offset:.22em}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,.wp-block-navigation-item__content:focus-visible{outline:3px solid var(--smg-teal);outline-offset:5px;border-radius:2px}
.smg-header{border-bottom:1px solid var(--smg-line);background:#0b0e11;position:relative;z-index:5}
.smg-header-inner{min-height:88px;gap:1.5rem;padding-block:1rem}
.smg-logo-group{gap:12px!important;flex-shrink:0}
.smg-logo{display:inline-flex;align-items:center;color:var(--smg-gold);line-height:0}
.smg-logo svg{width:38px;height:40px}
.smg-site-title{max-width:150px;line-height:1.1;font-size:16px!important;font-weight:800!important;letter-spacing:.015em;text-transform:uppercase}
.smg-site-title a{text-decoration:none!important}
.smg-header .wp-block-navigation{gap:1.3rem;font-weight:600}
.smg-header .wp-block-navigation__container{column-gap:1.1rem;row-gap:.25rem}
.smg-header .wp-block-navigation-item__content{padding-block:.5rem;text-decoration:none}
.smg-header .wp-block-navigation-item__content:hover{color:var(--smg-gold)}
.smg-header .wp-block-navigation__responsive-container.is-menu-open{padding:2rem;background:#0b0e11!important;color:#f3f1eb!important}
.smg-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{gap:1.2rem;align-items:flex-start}
.smg-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{min-height:44px;padding:.4rem 0;font-size:1.25rem}
.smg-eyebrow{font-size:.72rem!important;line-height:1.5;letter-spacing:.18em;font-weight:750;text-transform:uppercase;color:var(--smg-gold);margin-bottom:1.3rem!important}
.smg-hero{position:relative;overflow:hidden;padding-block:clamp(4.5rem,8vw,8.5rem);border-bottom:1px solid var(--smg-line);background:radial-gradient(ellipse at 85% 12%,#d8b27115 0,transparent 55%),linear-gradient(150deg,#0b0e11,#11191d)}
.smg-hero-title{font-size:clamp(3rem,6.6vw,6rem)!important;line-height:1.02!important;letter-spacing:-.055em;font-weight:760;margin:0 0 1.6rem!important;max-width:920px}
.smg-hero .smg-lead{max-width:670px;color:#c3c8cb;font-size:clamp(1.05rem,1.5vw,1.25rem)!important;line-height:1.75}
.smg-hero .wp-block-buttons{margin-top:2rem}
.smg-tone{--smg-accent:var(--smg-teal)}
.smg-dev{--smg-accent:var(--smg-orange)}
.smg-hero.smg-tone{background:radial-gradient(ellipse at 90% 15%,#50d6ca1a,transparent 55%),linear-gradient(150deg,#0b0e11,#0f2020)}
.smg-hero.smg-dev{background:radial-gradient(ellipse at 90% 15%,#eb99731c,transparent 55%),linear-gradient(150deg,#0b0e11,#201714)}
.smg-tone .smg-eyebrow,.smg-tone .smg-mark{color:var(--smg-teal)}
.smg-dev .smg-eyebrow,.smg-dev .smg-mark{color:var(--smg-orange)}
.smg-mark{font-size:2.5rem;line-height:1;color:var(--smg-gold);margin-bottom:1.5rem}
.smg-section{padding-block:clamp(3rem,5vw,5rem)}
.smg-section-heading{font-size:clamp(1.8rem,3vw,2.6rem)!important;line-height:1.15;letter-spacing:-.035em;margin-bottom:1.5rem}
.smg-section-intro{color:var(--smg-muted);max-width:720px;margin-bottom:2.5rem!important}
.smg-brand-feed{margin-top:3.5rem!important}
.smg-pathway{height:100%;padding:2rem;border:1px solid var(--smg-line);border-radius:var(--smg-radius);background:var(--smg-panel);box-sizing:border-box}
.smg-pathway h3{font-size:1.65rem;letter-spacing:-.03em;margin:1.5rem 0 .6rem}
.smg-pathway p{color:var(--smg-muted);font-size:.95rem}
.smg-pathway a{font-weight:700;text-decoration:none}
.smg-pathway.smg-tone{border-top:2px solid var(--smg-teal)}
.smg-pathway.smg-dev{border-top:2px solid var(--smg-orange)}
.smg-pathway.smg-store{border-top:2px solid var(--smg-gold)}
.smg-tone a{color:var(--smg-teal)}
.smg-dev a{color:var(--smg-orange)}
.smg-pathway .wp-block-buttons{margin-top:1.7rem}
.smg-pathway .wp-block-button__link{padding:.2rem 0;border:0;background:none!important;color:var(--smg-accent,var(--smg-gold));border-radius:0}
.smg-quiet-panel{padding:1.5rem 1.7rem;border:1px solid var(--smg-line);border-radius:var(--smg-radius);background:var(--smg-panel)}
.smg-quiet-panel p{margin:0;color:var(--smg-muted);font-size:.95rem;line-height:1.7}
.smg-editorial-grid .wp-block-post{border:1px solid var(--smg-line);border-radius:var(--smg-radius);overflow:hidden;background:var(--smg-panel)}
.smg-editorial-grid .wp-block-post-featured-image{margin:0;aspect-ratio:16/10;overflow:hidden;background:#21292d}
.smg-editorial-grid .wp-block-post-featured-image img{object-fit:cover;width:100%;height:100%}
.smg-editorial-grid .wp-block-post-featured-image a:focus-visible{outline-offset:-5px}
.smg-post-card-body{padding:1.5rem}
.smg-post-card-body .wp-block-post-title{font-size:1.4rem;letter-spacing:-.02em;line-height:1.3;margin:0 0 .8rem}
.smg-post-card-body .wp-block-post-title a{text-decoration:none}
.smg-post-card-body .wp-block-post-excerpt{color:var(--smg-muted);font-size:.95rem}
.smg-post-card-body .wp-block-post-date{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:var(--smg-muted)}
.smg-pagination{justify-content:space-between;margin-top:2rem!important}
.smg-article-shell{padding-block:clamp(2.5rem,6vw,5rem)}
.smg-article-shell>.wp-block-post-title{font-size:clamp(2.3rem,5vw,4.6rem);letter-spacing:-.045em;line-height:1.08;max-width:1000px}
.smg-article-meta{color:var(--smg-muted);font-size:.82rem;gap:1rem;margin-top:1.5rem!important;margin-bottom:2rem!important}
.smg-article-shell .wp-block-post-featured-image{margin-block:2.5rem;border-radius:var(--smg-radius);overflow:hidden}
.smg-article-shell .wp-block-post-featured-image img{display:block;width:auto;max-width:100%;height:auto;max-height:640px;margin-inline:auto;object-fit:contain;border-radius:var(--smg-radius)}
.smg-article-shell .wp-block-post-content{font-size:1.06rem;line-height:1.85;overflow-wrap:anywhere}
.smg-article-shell .wp-block-post-content h2{font-size:1.9rem;letter-spacing:-.025em;margin-top:3rem}
.smg-article-shell .wp-block-post-content h3{font-size:1.35rem;margin-top:2.2rem}
.smg-article-shell .wp-block-post-content p,.smg-article-shell .wp-block-post-content li{color:#c7cdd1}
.smg-article-shell table{width:100%;border-collapse:collapse}
.smg-article-shell th,.smg-article-shell td{padding:.8rem 1rem;text-align:left;border:1px solid var(--smg-line)}
.smg-article-shell th{color:#f3f1eb;background:var(--smg-panel)}
.smg-media-placeholder{border:1px dashed #505b63;border-radius:var(--smg-radius);padding:1.4rem;background:#11191e}
.smg-media-placeholder p{font-size:.9rem;margin:0!important;color:var(--smg-muted)!important}
.smg-footer{border-top:1px solid var(--smg-line);padding-block:3rem;background:#090c0f;margin-block-start:0!important}
.smg-footer .wp-block-heading{font-size:1rem;text-transform:uppercase;letter-spacing:.06em}
.smg-footer p,.smg-footer a{font-size:.88rem;color:var(--smg-muted)}
.smg-footer a{text-decoration:none}
.smg-footer a:hover{color:var(--smg-gold)}
.smg-footer .smg-footer-links{list-style:none;padding:0;margin:0}
.smg-footer-links li{margin:0}
.smg-footer-links a{display:inline-flex;align-items:center;min-height:44px;line-height:1.4;overflow-wrap:anywhere}
.smg-footer-note{margin-top:2.5rem!important;padding-top:1.5rem;border-top:1px solid var(--smg-line);font-size:.75rem!important}
.smg-page-content{min-height:120px;padding-block:3rem}
.smg-shop-content{padding-block:1.5rem 4rem}
.smg-shop-content .wp-block-post-content{max-width:1240px}
.smg-back-link{font-size:.8rem;font-weight:600;text-decoration:none}
.smg-search .wp-block-search__inside-wrapper{gap:.75rem}
.smg-search .wp-block-search__input{min-height:48px;border:1px solid #59636a;background:#121a1f;color:#f3f1eb;border-radius:6px;padding:.7rem 1rem}
.smg-search .wp-block-search__button{border-radius:6px;min-height:48px}
.wp-block-button__link{min-height:44px;display:inline-flex;align-items:center;justify-content:center;font-weight:700;text-decoration:none;transition:filter .15s ease}
.wp-block-button__link:hover{filter:brightness(1.08)}
.wp-block-button.is-style-outline>.wp-block-button__link{border-color:#687078;color:#f3f1eb}
.wp-block-query-no-results{color:var(--smg-muted);padding:1.3rem;border:1px solid var(--smg-line);border-radius:var(--smg-radius);font-size:.95rem}
.wp-block-post-terms{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase}
.wp-block-post-terms a{text-decoration:none;color:var(--smg-gold)}
@media(max-width:780px){.smg-header-inner{min-height:70px}.smg-hero{padding-block:3.5rem}.smg-hero-title{font-size:clamp(2.8rem,11vw,4.5rem)!important}.smg-pathway{padding:1.5rem}.smg-section{padding-block:3rem}.smg-header .wp-block-navigation{gap:1rem}.smg-article-shell .wp-block-post-content{font-size:1rem}.smg-footer .wp-block-columns{gap:2rem}}
@media(max-width:599px){.smg-header-inner{gap:.8rem}.smg-site-title{font-size:14px!important;max-width:130px}.smg-logo svg{width:30px;height:34px}.smg-hero .wp-block-buttons{flex-direction:column;align-items:stretch}.smg-hero .wp-block-button,.smg-hero .wp-block-button__link{width:100%}.smg-editorial-grid .wp-block-post-template{grid-template-columns:1fr!important}.smg-article-meta{flex-wrap:wrap}.smg-search .wp-block-search__inside-wrapper{flex-wrap:wrap}.smg-search .wp-block-search__input{min-width:160px}.smg-article-shell th,.smg-article-shell td{padding:.6rem}.smg-footer{padding-block:2.5rem}}
@media(min-width:600px) and (max-width:960px){.smg-editorial-grid .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
.smg-hero-art{position:absolute;inset:0;pointer-events:none;z-index:0}
.smg-hero-art img{width:100%;height:100%;object-fit:cover;object-position:62% 50%;opacity:.5}
.smg-hero-art::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0b0e11f5 0%,#0b0e11c9 42%,#0b0e1144 100%),linear-gradient(0deg,#0b0e11,transparent 35%)}
.smg-hero-copy{position:relative;z-index:1}
.smg-editor-note{border-left:3px solid var(--smg-gold);padding:1rem 1.25rem;background:var(--smg-panel);color:var(--smg-muted);font-size:.9rem}
.smg-hero>.smg-hero-art{max-width:none!important;margin:0!important}
.smg-pathway .smg-mark{color:var(--smg-accent,var(--smg-gold));font-size:2.1rem}
.smg-tone .wp-block-button:not(.is-style-outline)>.wp-block-button__link{background:var(--smg-teal);color:#0b0e11}
.smg-dev .wp-block-button:not(.is-style-outline)>.wp-block-button__link{background:var(--smg-orange);color:#0b0e11}
.smg-tone .smg-pathway .wp-block-button__link,.smg-dev .smg-pathway .wp-block-button__link{background:none!important;color:var(--smg-accent)}

/* Keep hero copy aligned to the wide container's left edge. */
.smg-hero > .alignwide > :where(
  .smg-mark,
  .smg-eyebrow,
  .smg-hero-title,
  .smg-lead,
  .wp-block-buttons
) {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
