/* Shared ERN layout refinements. Preserve editorial styles and reader controls. */
main{min-width:0}main h1,main h2,main h3{overflow-wrap:break-word}main h1{text-wrap:balance}main article,main article>div{min-width:0}main article .mt-auto{flex-wrap:wrap;row-gap:5px}main form{min-width:0}main form input,main form textarea,main form select{max-width:100%;box-sizing:border-box}main form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),main form select{min-height:46px}main form button,main form [type=submit]{min-height:46px}main form label{line-height:1.5}main .article-content{overflow-wrap:anywhere}main .article-content img,main .article-content video{max-width:100%;height:auto}main .article-content iframe{max-width:100%}main .article-content pre{max-width:100%;overflow:auto;white-space:pre-wrap}main .article-content table{max-width:100%;display:block;overflow:auto}main a:focus-visible,main button:focus-visible,main input:focus-visible,main select:focus-visible,main textarea:focus-visible{outline:2px solid #ff0005;outline-offset:3px}.ern-chat-policy{display:inline-block;font-size:11px;line-height:1.5;margin-top:10px}
@media(max-width:767px){main>div>header h1{font-size:clamp(2rem,7vw,3rem);line-height:1.12;letter-spacing:-.015em}main>div>header{padding-top:36px;padding-bottom:36px;margin-bottom:28px}main form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),main form textarea,main form select{font-size:16px;line-height:1.5}main form textarea{min-height:130px}main form input[type=file]{padding:10px 8px;white-space:normal}main .grid.gap-y-16{row-gap:36px}main article h2{font-size:23px;line-height:1.18}main article .font-sans.text-sm{line-height:1.6}main .article-content{line-height:1.75}main .article-content blockquote{margin-inline:0;padding-inline:16px}}
@media(min-width:768px) and (max-width:1023px){main article h2{overflow-wrap:break-word}main .grid.gap-x-8{column-gap:24px}main form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),main form textarea,main form select{font-size:16px}}

@media(max-width:639px){.ern-ad-wrap>.container{padding-top:10px;padding-bottom:10px}.ern-hero-excerpt{font-size:16px;line-height:1.55}.ern-masthead [aria-label="Menu"],.ern-masthead [aria-label="Search"]{min-height:44px;min-width:40px}.ern-masthead .gap-3{gap:6px}}
@media(max-width:360px){.ern-masthead img[src="/brand/er-logo.svg"]{height:28px;max-width:132px}}

.ern-search-form input{min-width:0;flex:1;width:0}.ern-home-hero h1{font-size:clamp(1.5rem,3.5vw,3rem);line-height:1.12}
@media(max-width:639px){.ern-search-form button{padding-inline:18px;flex:none}.ern-search-form input{padding-inline:14px}.ern-home-hero .ern-hero-excerpt{margin-bottom:20px}}

/* One true ERN red across controls and accents. White labels meet contrast. */
:root{--primary:358.823529 100% 50%;--primary-foreground:0 0% 100%;--color-primary:#ff0005;--color-primary-foreground:#fff;--ring:358.823529 100% 50%;--er-red:#ff0005;--er-red-dark:#a60003}.ern-search-form button{background:#ff0005}.ern-search-form button:hover{background:#a60003}#CitySpark{--cityspark-accent:#ff0005;--cityspark-star:#ff0005;--cityspark-accent-dark10:#b40004;--cityspark-star-dark10:#b40004}

/* Align the official ALCO seal with the footer logo and copy.
   Its current pill is ~178.31px wide and centered inside its iframe. */
footer iframe[src="https://alcohq.com/seal"] {
  display: block;
  width: 184px;
  max-width: 100%;
  margin-inline: 0;
}
