.state-main{padding:clamp(12px,2.5vw,34px);min-width:0;max-width:1400px}.state-heading,.state-section{background:#fff;border:1px solid #000;border-radius:8px;padding:clamp(18px,3vw,36px);margin:22px 0;color:#171717}.state-heading{border-top:7px solid #060066}.state-heading h1{font-size:clamp(30px,4vw,52px);line-height:1.08;color:#060066;max-width:900px}.state-deck{font-size:clamp(19px,2vw,25px);font-weight:650;max-width:850px}.state-section h2{color:#060066;font-size:clamp(25px,3vw,34px);line-height:1.18;margin:0 0 20px}.state-section h3{font-size:21px;line-height:1.3}.state-section>p{max-width:80ch;font-size:17px;line-height:1.85}.state-section a,.state-heading a,.state-main>.dc-crumbs a{color:#060066;text-decoration:underline;text-underline-offset:3px}.state-article figure{margin:24px 0}.state-article figure img,.state-main img{max-width:100%;height:auto}.state-hero img{display:block;width:100%;border:1px solid #000;border-radius:8px}.state-article figcaption{font-size:14px;line-height:1.55;padding:10px;background:white;border:1px solid #000;border-top:0}.state-jumps,.state-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.state-jumps a{background:#060066;color:white;padding:13px 17px;border-radius:5px;text-decoration:none;font-weight:700}.state-event-grid,.state-regional,.state-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.state-event{border-left:4px solid #f90;background:#f4f4f4;padding:20px}.state-event p{line-height:1.75}.state-note,.state-source{font-size:14px!important;line-height:1.65!important}.state-note{background:#f1f1f1;padding:15px;border-left:4px solid #060066}.state-button{background:#ff9e00!important;color:#060066!important;border:2px solid #000;border-radius:7px;padding:14px 20px;font-weight:800;text-decoration:none!important}.state-tool{border:1px solid black;background:#f5f5ff;padding:24px;margin-top:22px;max-width:640px}.state-tool label{display:block;margin:16px 0 7px;font-weight:700}.state-tool input{width:100%;max-width:330px;padding:12px;font-size:18px;border:1px solid black;background:white;color:black;border-radius:4px}.state-tool output{display:block;padding:20px 0;font-size:24px;font-weight:800;color:#060066}.state-map{position:relative;margin:20px 0}.state-map img{display:block;width:100%;height:auto}.map-hotspot{position:absolute;transform:translate(-50%,-50%);height:44px;width:44px;padding:0;border:2px solid #000;border-radius:50%;font-size:27px;line-height:40px;background:#ffac19;color:#060066;cursor:pointer}.map-hotspot:hover,.map-hotspot:focus-visible{background:white;outline:3px solid #060066;z-index:2}.map-order{position:absolute;left:31%;top:82%;width:40%;height:9%;border-radius:16px}.map-order:focus-visible{outline:4px solid #060066}.state-center-buttons{display:flex;flex-wrap:wrap;gap:8px}.state-center-buttons button{background:white;color:#060066;border:1px solid black;border-radius:5px;padding:12px;min-height:44px;cursor:pointer;font-weight:700}.state-center-buttons button[aria-pressed=true]{background:#060066;color:white}.state-center-detail{border:2px solid #060066;padding:20px;margin:20px 0;background:#fffaf0;min-height:150px}.state-directory{border:1px solid black;padding:18px}.state-directory summary{cursor:pointer;min-height:44px;font-weight:750}.state-products .vpg-card{min-width:0}.state-products{grid-template-columns:repeat(3,minmax(0,1fr))}.state-main :target{scroll-margin-top:100px}.state-main a:focus-visible,.state-main button:focus-visible{outline:3px solid #ff9500;outline-offset:4px}
@media(max-width:800px){.state-products{grid-template-columns:repeat(2,minmax(0,1fr))}.state-event-grid{grid-template-columns:1fr}}@media(max-width:520px){.state-products,.state-regional,.state-directory-grid{grid-template-columns:1fr}.map-hotspot{width:24px;height:24px;font-size:15px;line-height:20px}.state-center-buttons button{flex:1 1 44%}.state-section{padding:18px}.state-jumps a{flex:1 1 42%;text-align:center}.state-hero{margin-inline:-4px!important}.state-heading h1{font-size:33px}}
.state-heading{position:static!important;top:auto!important;z-index:auto!important;display:block!important;width:auto!important}.state-products .product-card{min-width:0}
.map-name-link,.map-star-link{position:absolute;display:block;border-radius:8px}.map-star-link{transform:translate(-50%,-50%);width:5%;height:7%}.map-name-link:hover,.map-name-link:focus-visible,.map-star-link:hover,.map-star-link:focus-visible{outline:3px solid #fff;box-shadow:0 0 0 5px #060066}.state-center-buttons a{display:inline-flex;align-items:center;min-height:44px;padding:12px;background:#fff;border:1px solid #000;border-radius:5px;color:#060066;font-weight:700}.state-dealer-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.state-dealer-gallery figure{margin:15px 0}.state-dealer-gallery img{width:100%;display:block}.state-dealer-gallery figcaption{min-height:130px}.state-dealer-gallery strong{display:block}@media(max-width:650px){.state-dealer-gallery{grid-template-columns:1fr}.state-dealer-gallery figure{max-width:432px;margin:15px auto}.state-dealer-gallery figcaption{min-height:0}.state-center-buttons a{flex:1 1 44%}}
.sidebar .state-sidebar-label{font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:#fff;margin:27px 8px 11px;line-height:1.5;font-weight:700}.state-registration-banner{margin-top:30px!important}.state-registration-banner img{width:100%;height:auto;border:1px solid #000}.state-registration-banner a:focus-visible{display:block;outline:3px solid #ff9e00}.state-local-context{border-left:6px solid #060066}.state-article #distribution{border-top:6px solid #ff9e00}.state-article #dealer{border-top:6px solid #060066}
/* State guide full-width layout: preserve the existing navigation sidebar. */
.state-wide-page .page-content{width:100%;max-width:none;min-width:0}.state-wide-page .state-main{box-sizing:border-box;width:100%;max-width:none;padding:18px 0}.state-wide-page .state-article{width:100%;max-width:none}.state-wide-page .state-main>.dc-crumbs{width:90%;margin-inline:auto}.state-wide-page .state-heading,.state-wide-page .state-section{box-sizing:border-box;width:100%;max-width:none;padding:26px 0}.state-wide-page .state-heading>*:not(figure),.state-wide-page .state-section>h2,.state-wide-page .state-section>p,.state-wide-page .state-section>.state-actions{box-sizing:border-box;width:90%;max-width:none;margin-left:auto;margin-right:auto}.state-wide-page .state-heading h1{max-width:none}.state-wide-page .state-hero,.state-wide-page .state-jumps{width:90%;margin:24px auto!important}.state-wide-page .state-tool{box-sizing:border-box;width:90%;max-width:none;margin:24px auto;padding:24px 5%}.state-wide-page .state-tool>p,.state-wide-page .state-tool>h3{max-width:none}.state-wide-page .state-event-grid,.state-wide-page .state-regional,.state-wide-page .state-map,.state-wide-page .state-center-buttons,.state-wide-page .state-directory,.state-wide-page .state-dealer-gallery,.state-wide-page .state-registration-banner{box-sizing:border-box;width:90%;margin-left:auto!important;margin-right:auto!important}.state-wide-page .state-products{display:grid;grid-template-columns:repeat(3,minmax(0,320px));width:90%;max-width:none;gap:20px;margin:24px auto;justify-content:start;align-items:stretch}.state-wide-page .state-products .catalog-card{width:100%;min-width:0;box-sizing:border-box;margin:0}.state-wide-page .state-products .product-photo{display:flex;justify-content:flex-start;align-items:center;height:auto;min-height:0;padding:0}.state-wide-page .state-products img.product-thumb{display:block;width:100%;max-width:300px;height:auto!important;max-height:300px;object-fit:contain;margin:0}.state-wide-page .state-products .catalog-card h3{font-size:18px;line-height:1.4}.state-wide-page .state-hero img{max-width:1200px}.state-wide-page .state-registration-banner img{max-width:1200px}.state-wide-page .state-dealer-gallery img{max-width:432px}
@media(max-width:1100px){.state-wide-page .state-products{grid-template-columns:repeat(2,minmax(0,320px))}}@media(max-width:620px){.state-wide-page .state-products{grid-template-columns:minmax(0,320px)}.state-wide-page .state-tool{padding:20px 5%}.state-wide-page .state-heading h1{font-size:32px}}
/* Alabama alignment refinement: centered banners and product groups. */
.state-wide-page .state-hero,.state-wide-page .state-registration-banner{display:block;width:90%;margin-left:auto!important;margin-right:auto!important}.state-wide-page .state-hero img,.state-wide-page .state-registration-banner img{display:block;width:100%;max-width:none;height:auto;margin-left:auto;margin-right:auto}.state-wide-page .state-products{justify-content:center}.state-wide-page .state-products .product-photo{justify-content:center}.state-wide-page .state-products img.product-thumb{margin-left:auto;margin-right:auto;max-width:300px}.state-wide-page>header>.wrap.nav{width:100%;max-width:none;box-sizing:border-box;padding:16px 24px 16px 0;gap:20px}.state-amsoil-logo{display:flex;flex:0 0 240px;align-items:center;justify-content:center}.state-amsoil-logo img{width:200px;max-width:100%;height:auto;display:block}.state-wide-page>header .brand{font-size:21px;flex-shrink:0}.state-wide-page>header nav{gap:18px}
@media(max-width:1100px){.state-wide-page>header>.wrap.nav{gap:12px;padding-right:14px}.state-amsoil-logo{flex-basis:190px}.state-amsoil-logo img{width:165px}.state-wide-page>header .brand{font-size:18px}.state-wide-page>header nav{gap:10px}}
@media(max-width:800px){.state-wide-page>header>.wrap.nav{padding:14px;flex-wrap:wrap}.state-amsoil-logo{flex:0 0 140px;justify-content:flex-start}.state-amsoil-logo img{width:140px}.state-wide-page>header .brand{display:none}.state-wide-page>header .mobile{margin-left:auto}}

.state-wide-page .state-products{display:flex;flex-wrap:wrap;justify-content:center}.state-wide-page .state-products .catalog-card{flex:0 1 calc((100% - 40px)/3);max-width:320px}@media(max-width:1100px){.state-wide-page .state-products .catalog-card{flex-basis:calc((100% - 20px)/2)}}@media(max-width:620px){.state-wide-page .state-products .catalog-card{flex-basis:100%}}

/* Alabama: consistent section accents and paired header logos. */
.state-wide-page .state-heading,.state-wide-page .state-section{border-left:6px solid #060066;padding-left:10pt;padding-right:10pt}
.state-garage-logo{display:flex;flex:0 0 72px;margin-left:auto;align-items:center;justify-content:center}
.state-garage-logo img{display:block;width:72px;height:72px;object-fit:contain}
.state-wide-page>header>.wrap.nav{flex-wrap:wrap}
@media(max-width:800px){.state-wide-page>header .state-amsoil-logo{order:0}.state-wide-page>header .mobile{order:1}.state-wide-page>header .state-garage-logo{order:2}.state-wide-page>header nav{order:3;flex-basis:100%}.state-wide-page>header>.wrap.nav>.btn{order:4}}

/* Apply the requested inset to text itself, including nested text blocks. */
.state-wide-page .state-main :is(h1,h2,h3,h4,p,li,figcaption,summary,label,output){box-sizing:border-box;padding-left:10pt!important;padding-right:10pt!important}
.state-wide-page .state-main :is(.state-regional>div,.state-directory-grid>div,.state-event,.state-tool){box-sizing:border-box;padding-left:10pt;padding-right:10pt}
.state-wide-page .state-garage-logo img{width:72px;height:72px}
/* Alabama: consistent centered text measures instead of fixed text padding. */
.state-wide-page .state-heading,.state-wide-page .state-section{padding-left:0;padding-right:0}
.state-wide-page .state-main :is(h1,h2,h3,h4,p,li,figcaption,summary,label,output){width:90%;max-width:none;box-sizing:border-box;margin-left:auto;margin-right:auto;padding-left:0!important;padding-right:0!important}
.state-wide-page .state-main :is(.state-regional>div,.state-directory-grid>div,.state-event,.state-tool){padding-left:0;padding-right:0}
.state-wide-page .state-hero figcaption,.state-wide-page .state-dealer-gallery figcaption{width:100%;padding-left:5%!important;padding-right:5%!important}
.state-wide-page .state-tool input{display:block;width:90%;margin-left:auto;margin-right:auto}
.state-wide-page .state-jumps{display:flex;flex-wrap:wrap;width:90%;justify-content:center;margin:24px auto!important}
.state-wide-page .state-jumps a{flex:1 1 auto;text-align:center}
#amsoil-fullwidth-vehicle-lookup{width:90%;max-width:90%;margin:24px auto;background:#000;color:#fff;box-sizing:border-box;padding:16px 8px}
#amsoil-fullwidth-vehicle-lookup *{box-sizing:border-box}
#amsoil-fullwidth-vehicle-lookup .lookup-title{color:#fff;font-size:clamp(20px,2.3vw,30px);font-weight:800;text-align:center;line-height:1.25;margin-top:0;margin-bottom:4px}
#amsoil-fullwidth-vehicle-lookup .lookup-prompt{color:#ffaa00;font-size:clamp(18px,2vw,26px);font-weight:800;text-align:center;margin-top:0;margin-bottom:12px}
#amsoil-fullwidth-vehicle-lookup .lookup-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;width:100%}
#amsoil-fullwidth-vehicle-lookup .lookup-card{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0;padding:4px;color:#fff;text-decoration:none;background:#000;min-height:64px}
#amsoil-fullwidth-vehicle-lookup img{display:block;width:108px;max-width:100%;height:auto;object-fit:contain;margin:0 auto 6px;border:0}
#amsoil-fullwidth-vehicle-lookup .lookup-label{font-size:11px;font-weight:800;line-height:1.2;text-align:center;color:#fff}
#amsoil-fullwidth-vehicle-lookup .lookup-card:hover .lookup-label{color:#ffaa00}
#amsoil-fullwidth-vehicle-lookup .lookup-card:focus-visible{outline:2px solid #ffaa00;outline-offset:-2px}
@media(max-width:1000px){#amsoil-fullwidth-vehicle-lookup .lookup-grid{grid-template-columns:repeat(4,minmax(0,1fr))}#amsoil-fullwidth-vehicle-lookup img{width:82px}}
@media(max-width:420px){#amsoil-fullwidth-vehicle-lookup{padding:12px 4px}#amsoil-fullwidth-vehicle-lookup img{width:64px}#amsoil-fullwidth-vehicle-lookup .lookup-label{font-size:9px}}
/* Alabama: the white bordered blocks are 90%; their text uses 98%. */
.state-wide-page .state-heading,.state-wide-page .state-section{box-sizing:border-box;width:90%;max-width:90%;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}
.state-wide-page .state-heading>:is(h1,h2,h3,h4,p),.state-wide-page .state-section :is(h2,h3,h4,p,li,summary,label,output){box-sizing:border-box;width:98%;max-width:98%;margin-left:auto;margin-right:auto;padding-left:0!important;padding-right:0!important}
/* Final Alabama panel proportions. */
.state-wide-page .state-heading,.state-wide-page .state-section{box-sizing:border-box;width:97%;max-width:97%;margin-left:auto;margin-right:auto;border:1px solid #000!important;padding-left:0;padding-right:0}
.state-wide-page .state-heading>:is(h1,h2,h3,h4,p),.state-wide-page .state-section :is(h2,h3,h4,p,li,summary,label,output){box-sizing:border-box;width:95%;max-width:95%;margin-left:auto;margin-right:auto;padding-left:0!important;padding-right:0!important}
.state-wide-page .state-section>:is(.state-event-grid,.state-regional,.state-map,.state-center-buttons,.state-directory,.state-dealer-gallery,.state-registration-banner,.state-products,.state-tool,.state-actions){box-sizing:border-box;width:95%;max-width:95%;margin-left:auto!important;margin-right:auto!important}
.state-wide-page .state-section .state-dealer-gallery figure{width:100%;margin-left:0;margin-right:0}
.state-wide-page .state-dealer-gallery img{display:block;width:95%;max-width:432px;margin-left:auto;margin-right:auto}
.state-wide-page .state-section .state-registration-banner img,.state-wide-page .state-section .state-map img{width:100%;max-width:100%;display:block}
.state-wide-page .state-hero,.state-wide-page .state-jumps,#amsoil-fullwidth-vehicle-lookup{width:92.15%;max-width:92.15%;margin-left:auto!important;margin-right:auto!important}
.state-wide-page .state-hero img{width:100%;max-width:100%}
.state-wide-page .state-products .catalog-card,.state-wide-page .state-directory,.state-wide-page .state-article figcaption{border:1px solid #000}
.state-wide-page .state-products img.product-thumb{width:95%;max-width:300px;margin-left:auto;margin-right:auto}
/* Align the navigation, hero/caption and lookup with the 97% panels. */
.state-wide-page .state-jumps,.state-wide-page .state-hero,.state-wide-page #amsoil-fullwidth-vehicle-lookup{box-sizing:border-box;width:97%;max-width:97%;margin-left:auto!important;margin-right:auto!important}
.state-wide-page .state-hero img,.state-wide-page .state-hero figcaption{box-sizing:border-box;display:block;width:100%;max-width:100%;margin-left:0;margin-right:0}
.state-wide-page .state-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;width:97%;margin:24px auto}.state-hub-card{display:block;border:1px solid #000;background:#fff;border-radius:8px;overflow:hidden;color:#060066;text-decoration:none}.state-hub-card img{display:block;width:100%;height:auto}.state-wide-page .state-hub-card h2,.state-wide-page .state-hub-card p{width:95%;margin:16px auto}.state-hub-card h2{font-size:24px}.state-hub-card p{font-size:16px}.state-wide-page .state-dealer-gallery.gallery-2{grid-template-columns:repeat(2,minmax(0,1fr));justify-items:center}.state-wide-page .state-dealer-gallery.gallery-2 figure{max-width:432px}.state-wide-page .state-prose-columns{width:95%;margin:20px auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.state-wide-page .state-prose-columns p{font-size:17px;line-height:1.85}
@media(max-width:800px){.state-wide-page .state-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.state-wide-page .state-dealer-gallery.gallery-2,.state-wide-page .state-prose-columns{grid-template-columns:1fr}}@media(max-width:520px){.state-wide-page .state-hub-grid{grid-template-columns:1fr}}
