/* Site shell: header, hero and footer share the body column (main padding + 1400px max). */
.bv-container { width: min(1400px, calc(100% - .5rem)); margin-left: auto; margin-right: auto; }
@media (min-width: 1280px) { .bv-container { width: min(1400px, calc(100% - 12rem)); } }

.bv-header .bv-container { padding-left: .625rem; padding-right: .625rem; }
@media (min-width: 1280px) { .bv-header .bv-container { padding-left: 0; padding-right: 0; } }

.bv-main { padding-top: 0 !important; }
/* Every top-level block in the body (heroes, breadcrumb banners, pill rows, page bodies) stays inside the 1400px column. */
.bv-main > section, .bv-main > div { max-width: 1400px; margin-left: auto; margin-right: auto; }
.bv-hero { border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; }

/* Footer */
.bv-footer { padding: 1.25rem 0 1rem; }
.bv-footer-card { position: relative; overflow: hidden; border-radius: 1.25rem; padding: 2rem 1rem 1rem; color: #fff; background: radial-gradient(circle at 90% -20%, rgba(245, 196, 81, .22), transparent 45%), radial-gradient(circle at -10% 120%, rgba(178, 121, 0, .25), transparent 45%), linear-gradient(135deg, #3E2A00 0%, #1a1200 100%); }
.bv-footer-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #8a5e00, #f5c451, #B27900); }
.bv-footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
.bv-footer-brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: .875rem; }
.bv-footer-logo { height: 48px; width: auto; }
.bv-footer-about { margin: 0; color: rgba(255, 245, 225, .75); font-size: .875rem; line-height: 1.6; max-width: 34rem; }
.bv-footer-cta { display: flex; flex-wrap: wrap; gap: .5rem; }
.bv-footer-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: .75rem; font-weight: 700; font-size: .875rem; color: #fff !important; text-decoration: none !important; transition: transform .15s, filter .15s; }
.bv-footer-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.bv-footer-btn.is-gold { background: linear-gradient(180deg, #f5c451, #B27900); color: #1a1200 !important; }
.bv-footer-btn.is-telegram { background: linear-gradient(265deg, #186288, #2291cc); }
.bv-footer-social { display: flex; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.bv-footer-social a { width: 2.25rem; height: 2.25rem; display: flex; align-items: center; justify-content: center; border-radius: 9999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(245, 196, 81, .3); color: #fff; font-size: 1rem; transition: background .2s, color .2s; }
.bv-footer-social a:hover { background: #B27900; color: #fff; }

.bv-footer-col h3 { margin: 0 0 .875rem; color: #f5c451; font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.bv-footer-col ul { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.bv-footer-col li a { color: rgba(255, 255, 255, .82); font-size: .875rem; text-decoration: none; transition: color .15s, padding-left .15s; }
.bv-footer-col li a:hover { color: #f5c451; padding-left: 3px; }
.bv-footer-note { margin: 0 0 .75rem; color: rgba(255, 245, 225, .7); font-size: .8125rem; }
.bv-footer-contact li a { display: flex; align-items: center; gap: .625rem; }
.bv-footer-contact li a:hover { padding-left: 0; }
.bv-footer-contact .ic { width: 2.25rem; height: 2.25rem; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: .75rem; background: rgba(245, 196, 81, .14); color: #f5c451; font-size: 1rem; }
.bv-footer-contact .ic.is-wa { background: rgba(37, 211, 102, .15); color: #25d366; }
.bv-footer-contact small { display: block; color: rgba(255, 245, 225, .55); font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; }
.bv-footer-contact span:last-child { min-width: 0; overflow-wrap: anywhere; }
.bv-footer-col:last-child { grid-column: 1 / -1; }

.bv-footer-links { margin-top: 1.75rem; }
.bv-footer-links:not(:has(.textlink-css-wrapper)) { display: none; }
.bv-footer-links .textlink-css-wrapper { background: rgba(0, 0, 0, .28) !important; border: 1px solid rgba(245, 196, 81, .15); border-radius: .875rem !important; }

.bv-footer-bottom { display: flex; flex-direction: column; align-items: center; gap: .5rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .14); text-align: center; }
.bv-footer-bottom p { margin: 0; color: rgba(255, 245, 225, .7); font-size: .8125rem; }
.bv-footer-rg { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.bv-18 { display: inline-flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; border-radius: 9999px; border: 2px solid #ef4444; color: #fff; font-size: .625rem; font-weight: 800; }

@media (min-width: 768px) {
    .bv-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bv-footer-col:last-child { grid-column: auto; }
}
@media (min-width: 1024px) {
    .bv-footer-card { padding: 2.75rem 2.5rem 1.25rem; }
    .bv-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 2rem; }
    .bv-footer-brand { grid-column: auto; }
    .bv-footer-logo { height: 56px; }
    .bv-footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* Header nav fits the narrower container on one line */
.bv-header .bv-container > div > ul > li { white-space: nowrap; }
@media (max-width: 1439px) {
    .bv-header .bv-container > div { column-gap: 1rem; }
    .bv-header .bv-container > div > ul { column-gap: .125rem; font-size: .875rem; }
    .bv-header .bv-container > div > ul > li { padding: .5rem .55rem; }
    .bv-header .bv-container > div > div > a { padding-left: 1rem; padding-right: 1rem; }
}
