/* BUMA Directory — red, white & blue reference theme for GeneratePress
   Palette: Old Glory Blue #0A3161, Old Glory Red #B31942, white, steel ink. */
:root{
	--blue:#0A3161; --blue-2:#12407a; --red:#B31942; --red-2:#8f1435;
	--ink:#1a2233; --muted:#55607a; --line:#d5dbe6; --wash:#f2f5fa; --white:#fff;
	--display:"Barlow Condensed","Arial Narrow",Arial,sans-serif;
	--text:"Source Serif 4",Georgia,"Times New Roman",serif;
	--ui:"Barlow",-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}
html body{color:var(--ink);font-family:var(--text);font-size:19px;line-height:1.7;background:var(--white)}
body .site,body .site-content,body .inside-article,body.separate-containers .inside-article,body .container{background-color:var(--white)}
.separate-containers .inside-article{padding:0}
.site-content{padding-top:0}
a{color:var(--blue-2);text-underline-offset:3px}
a:hover{color:var(--red)}
a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--red);outline-offset:2px}
body h1,body h2,body h3,body h4,body .entry-title,body .main-title{font-family:var(--display);color:var(--blue);font-weight:700;letter-spacing:.005em;line-height:1.08}
body h1,body .entry-title{font-size:clamp(2.3rem,4.6vw,3.4rem)}
.entry-content h2{font-size:2rem;margin:2.6rem 0 .8rem}
.entry-content h3{font-size:1.45rem;margin:1.8rem 0 .5rem}
.entry-content p,.entry-content li{max-width:68ch}
.entry-content ul,.entry-content ol{margin-left:1.2em}
.entry-content .buma-rows,.entry-content .buma-grid{margin-left:0}

/* Header: red rule, white masthead with star mark, blue nav band */
.site-header{border-top:6px solid var(--red);background:var(--white)}
.inside-header{padding:22px 24px}
.main-title{font-size:2rem;margin:0}
.main-title a{color:var(--blue);text-decoration:none;display:inline-flex;align-items:center;gap:.55rem}
.main-title a::before{content:"";width:30px;height:30px;flex:none;background:var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 3.2l2.6 5.6 6.1.7-4.5 4.2 1.2 6-5.4-3-5.4 3 1.2-6-4.5-4.2 6.1-.7z'/%3E%3C/svg%3E") center/20px no-repeat;border-radius:50%}
.site-description{font-family:var(--ui);color:var(--muted);font-size:.95rem;margin-top:.15rem}
body .main-navigation,body .main-navigation ul ul,body .main-navigation .inside-navigation{background-color:var(--blue)}
body .main-navigation .main-nav ul li a{color:var(--white);font-family:var(--ui);font-weight:600;font-size:16px;letter-spacing:.01em;line-height:56px}
body .main-navigation .main-nav ul li:hover>a,body .main-navigation .main-nav ul li.current-menu-item>a,.main-navigation .main-nav ul li[class*="current-menu-"]>a{background:var(--red);color:var(--white)}
.main-navigation .menu-toggle,.main-navigation .menu-bar-item>a{color:var(--white)}
body .main-navigation{border-bottom:4px solid var(--red)}
body .main-navigation .menu-toggle,body .main-navigation .menu-toggle:hover{color:var(--white);background:transparent}
body .site-header{background-color:var(--white)}

/* Content column */
.site-content .content-area{max-width:1040px;margin:0 auto;float:none;width:100%}
.inside-article{padding:40px 24px 64px}
.entry-header{margin-bottom:1.4rem}
.entry-meta{font-family:var(--ui);color:var(--muted);font-size:.9rem}

/* Hero — the one bold moment: blue star field ending in thirteen stripes */
.buma-hero{position:relative;color:var(--white);background-color:var(--blue);
	background-image:radial-gradient(circle,rgba(255,255,255,.16) 1.6px,transparent 2.2px);background-size:26px 26px;
	margin:0 0 3rem;padding:3.2rem 2.4rem 4.6rem;border-radius:4px;overflow:hidden}
.buma-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:39px;
	background:repeating-linear-gradient(to bottom,var(--red) 0 3px,var(--white) 3px 6px)}
.buma-hero h1{color:var(--white);font-size:clamp(2.6rem,6vw,4.4rem);margin:0 0 1rem;max-width:14ch}
.buma-hero p{font-size:1.15rem;max-width:56ch;margin:0 0 1.6rem;color:#e7edf7}
.buma-hero .buma-hero__note{font-family:var(--ui);font-size:.95rem;color:#c9d4e8;margin:1.2rem 0 0}
.buma-hero .buma-hero__note a{color:var(--white)}
.buma-picker{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;max-width:560px}
.buma-picker label{position:absolute;left:-9999px}
.buma-picker select{flex:1 1 260px;font-family:var(--ui);font-size:1.05rem;padding:.8rem .9rem;border:0;border-radius:3px;color:var(--ink);background:var(--white)}
.buma-picker button,.buma-form button{font-family:var(--ui);font-weight:700;font-size:1.05rem;padding:.8rem 1.4rem;border:0;border-radius:3px;background:var(--red);color:var(--white);cursor:pointer}
.buma-picker button:hover,.buma-form button:hover{background:var(--red-2)}

/* Short answer */
.buma-answer{border-left:5px solid var(--red);background:var(--wash);padding:1.1rem 1.4rem;margin:0 0 1.8rem;font-size:1.08rem}
.buma-answer p{margin:0;max-width:none}
.buma-toc{display:flex;flex-wrap:wrap;gap:.4rem 1.4rem;font-family:var(--ui);font-size:.98rem;margin:0 0 1.5rem}

/* State grid: postal code + name */
.buma-grid{list-style:none;margin:0 0 2rem;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:0;border-top:1px solid var(--line);border-left:1px solid var(--line)}
.buma-grid li{margin:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.buma-grid li a{display:flex;align-items:center;gap:.7rem;padding:.65rem .8rem;text-decoration:none;font-family:var(--ui);font-weight:600;color:var(--ink)}
.buma-grid li a:hover{background:var(--blue);color:var(--white)}
.buma-grid li a:hover .buma-code{background:var(--red)}
.buma-code{display:inline-block;min-width:2.4em;text-align:center;font-family:var(--display);font-size:.95rem;font-weight:700;background:var(--blue);color:var(--white);border-radius:2px;padding:.05rem .3rem}

/* Listings */
.buma-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem;margin-bottom:1.4rem}
.buma-card{border:1px solid var(--line);border-top:4px solid var(--blue);border-radius:2px;padding:1.1rem 1.2rem;background:var(--white);position:relative;font-family:var(--ui);font-size:1rem;line-height:1.55}
.buma-card--sponsored{border:2px solid var(--red);border-top-width:6px;margin-bottom:1.8rem;background:#fff}
.buma-badge{position:absolute;top:.8rem;right:.9rem;font-family:var(--ui);font-size:.82rem;font-weight:700;background:var(--red);color:var(--white);padding:.1rem .55rem;border-radius:2px}
.buma-card__name{font-family:var(--display);font-size:1.45rem;margin:0 0 .2rem;padding-right:6rem;color:var(--blue)}
.buma-card__firm,.buma-card__loc{margin:0;color:var(--muted)}
.buma-card__bases,.buma-card__summary,.buma-card__note{margin:.6rem 0 0}
.buma-card__note{color:var(--red-2);font-weight:600}
.buma-card__links{margin:.8rem 0 0;display:flex;flex-wrap:wrap;gap:1rem;font-weight:700}
.buma-card__meta{margin:.7rem 0 0;font-size:.84rem;color:var(--muted)}
.buma-subhead{font-size:1.35rem;margin:2rem 0 .7rem}
.buma-help{font-family:var(--ui);font-size:.95rem;color:var(--muted)}
.buma-rows{list-style:none;margin:0 0 1.5rem;padding:0;border-top:2px solid var(--blue);font-family:var(--ui)}
.buma-rows .buma-row{margin:0;padding:.65rem .2rem;border-bottom:1px solid var(--line);display:flex;flex-wrap:wrap;gap:.3rem .9rem;align-items:baseline;max-width:none}
.buma-row__loc{color:var(--muted);font-size:.95rem}
.buma-row__links{display:flex;gap:1rem;margin-left:auto;font-size:.95rem;font-weight:700}

/* Tables (state installations and comparison tables in articles) */
.entry-content table,.buma-table{width:100%;border-collapse:collapse;font-family:var(--ui);font-size:.96rem;margin:1rem 0 1.8rem;border:0}
.entry-content th,.entry-content td,.buma-table th,.buma-table td{border:0;border-bottom:1px solid var(--line);padding:.6rem .7rem;text-align:left;vertical-align:top}
.entry-content thead th,.buma-table thead th{background:var(--blue);color:var(--white);font-weight:700}
.entry-content tbody tr:nth-child(even),.buma-table tbody tr:nth-child(even){background:var(--wash)}
.entry-content figure.wp-block-table,.entry-content .table-wrap{overflow-x:auto}

/* FAQ */
.buma-faq{border-bottom:1px solid var(--line);padding:.9rem 0}
.buma-faq summary{font-family:var(--ui);font-weight:700;font-size:1.08rem;cursor:pointer;color:var(--blue)}
.buma-faq[open] summary{color:var(--red)}
.buma-faq p{margin:.6rem 0 0}

.buma-guides{columns:2;column-gap:2.5rem;padding-left:1.1em;font-family:var(--ui)}
.buma-guides li{break-inside:avoid;margin-bottom:.45rem}
.buma-list li{margin-bottom:.4rem}

/* Forms */
.buma-form{font-family:var(--ui)}
.buma-form label{font-weight:600}
.buma-form input,.buma-form select,.buma-form textarea{width:100%;max-width:560px;padding:.65rem .75rem;border:1px solid #b9c2d3;border-radius:3px;font-size:1rem;font-family:var(--ui)}
.buma-hp{position:absolute;left:-9999px}

/* Disclosures */
.buma-disclosure-box{border-left:5px solid var(--red);background:var(--wash);padding:.8rem 1.1rem;font-family:var(--ui);font-size:.95rem;max-width:none!important}

/* Footer */
body .site-footer,body .site-info{background-color:var(--blue);color:#d8e1f0}
body .site-info{border-top:6px solid var(--red);font-family:var(--ui);font-size:.95rem}
body .site-info a{color:var(--white)}
body .footer-widgets{background-color:var(--wash);border-top:1px solid var(--line);font-family:var(--ui)}
body .footer-widgets .widget-title{font-family:var(--display);color:var(--blue);font-size:1.35rem}
body .footer-widgets ul{list-style:none;margin:0;columns:2;column-gap:2rem}
body .footer-widgets li{margin-bottom:.4rem}
body .footer-widgets a{color:var(--blue-2)}
.inside-site-info{padding:28px 24px;display:block;max-width:1040px}
.copyright-bar{text-align:left;width:100%}
.buma-disclosure{font-size:.88rem;line-height:1.55;margin-top:.6rem;color:#c9d4e8;max-width:80ch}

/* Blog archive */
.blog .inside-article,.archive .inside-article{padding:28px 24px;border-bottom:1px solid var(--line)}
.blog .entry-title,.archive .entry-title{font-size:1.9rem}
.read-more,.more-link{font-family:var(--ui);font-weight:700}

@media (max-width:768px){
	body{font-size:17.5px}
	.buma-hero{padding:2.2rem 1.3rem 3.8rem;margin-left:-8px;margin-right:-8px}
	.buma-guides{columns:1}
	.buma-row__links{margin-left:0;width:100%}
	.inside-article{padding:28px 16px 48px}
	.main-navigation .main-nav ul li a{line-height:48px}
}

/* Overseas */
.buma-countries{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem;margin:0 0 2rem}
.buma-country{border:1px solid var(--line);border-top:4px solid var(--blue);padding:.9rem 1rem;background:var(--white)}
.buma-country h3{margin:0 0 .4rem;font-size:1.25rem}
.buma-country h3 a{text-decoration:none;color:var(--blue)}
.buma-country ul{margin:0;padding-left:1.1rem;font-family:var(--ui);font-size:.95rem}
.buma-country li{margin:.15rem 0}
.buma-contacts td:first-child{width:28%}
.buma-contacts td:last-child{width:30%;word-break:break-word}
.buma-grid--countries .buma-code{min-width:2.2em;text-align:center}
.buma-picker optgroup{font-style:normal;font-weight:700}

/* Dropdown menus: states and countries in columns */
body .main-navigation .main-nav ul li:hover>a,body .main-navigation .main-nav ul li.sfHover>a,body .main-navigation .main-nav ul li:focus-within>a,body .main-navigation .main-nav ul li[class*="current-menu-"]>a,body .main-navigation .main-nav ul ul li a,body .main-navigation .menu-bar-item>a,body .main-navigation .dropdown-menu-toggle{color:var(--white)}
body .main-navigation .main-nav ul ul li:hover>a,body .main-navigation .main-nav ul ul li a:focus{background:var(--red);color:var(--white)}
@media (min-width:769px){
	body .main-navigation .main-nav ul ul{width:auto;box-shadow:0 10px 24px rgba(10,49,97,.25);border-top:4px solid var(--red)}
	body .main-navigation .main-nav ul li.buma-mega>ul{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));min-width:640px;padding:.4rem 0}
	body .main-navigation .main-nav ul li.buma-mega--states>ul{grid-template-columns:repeat(5,minmax(140px,1fr));min-width:760px;max-height:75vh;overflow-y:auto}
	body .main-navigation .main-nav ul li.buma-mega>ul li a{line-height:1.3;padding:.42rem .9rem;font-size:14px;font-weight:600;white-space:nowrap}
	body .main-navigation .main-nav ul li.buma-mega>ul li.buma-menu-all{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.2)}
	body .main-navigation .main-nav ul li.buma-mega>ul li.buma-menu-all a{font-weight:700}
}

@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
.buma-hide-lead-image .featured-image,.buma-hide-lead-image .page-header-image-single,.buma-hide-lead-image .post-image{display:none}
.entry-content img,.featured-image img,.page-header-image-single img{max-width:100%;height:auto}
.buma-search{margin:0 0 1.4rem;font-family:var(--ui)}
.buma-search label{display:block;font-weight:700;color:var(--blue);margin-bottom:.35rem}
.buma-search input{width:100%;max-width:560px;padding:.75rem .9rem;border:2px solid var(--blue);border-radius:3px;font-size:1.05rem;font-family:var(--ui)}
.buma-facts th{width:34%;background:var(--wash);color:var(--blue);font-weight:700}
.buma-facts{margin-bottom:2rem}
.buma-hero .buma-button{display:inline-block;font-family:var(--ui);font-weight:700;font-size:1.05rem;padding:.8rem 1.4rem;border-radius:3px;background:var(--red);color:var(--white);text-decoration:none}
.buma-hero .buma-button:hover{background:var(--red-2);color:var(--white)}
