.header-layout2 .container {
    --main-container: inherit;
    padding-inline: var(--bs-gutter-x, .75rem);
}
.hero-1 .hero-style1 {
    padding-top: 240px;
}
@media (min-width: 1300px) {
    .header-layout2 .container {
        padding-inline: calc(var(--container-gutters) / 2);
    }
}
.footer-wrapper.firm-footer {
    background: var(--title-color);
    color: #c4cfcd;
    padding-top: 60px;
}
.firm-footer-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid #ffffff24;
}
.firm-footer-intro img { width: 300px; max-width: 100%; }
.firm-footer-intro p { max-width: 560px; margin: 0; color: inherit; font-size: 14px; }
.firm-footer-grid {
    display: grid;
    grid-template-columns: .7fr 1fr 1.15fr 1.25fr;
    gap: 36px;
    padding-block: 40px;
}
.firm-footer-grid > * { min-width: 0; }
.firm-footer-grid h2 { color: white; font-size: 21px; margin-bottom: 22px; }
.firm-footer-grid a { display: block; width: fit-content; margin-bottom: 10px; color: inherit; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.firm-footer-grid address { font-size: 13px; font-style: normal; line-height: 1.9; margin-bottom: 16px; }
.firm-footer-grid .firm-footer-directions { color: #d8b282; margin-top: 18px; }
.firm-footer a:hover { color: white; text-decoration: underline; }
.firm-footer a:focus-visible { outline: 2px solid var(--theme-color); outline-offset: 5px; }
.firm-footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #ffffff24; padding-block: 22px; }
.firm-footer-bottom p, .firm-footer-bottom a { color: inherit; font-size: 12px; margin: 0; }
@media (max-width: 991px) {
    .firm-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .firm-footer-intro { align-items: flex-start; flex-direction: column; gap: 24px; }
}
@media (max-width: 575px) {
    .header-logo img { max-width: 216px; }
    .hero-1 .hero-style1 { padding-top: 180px; }
    .firm-footer { padding-top: 40px; }
    .firm-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .firm-footer-grid h2 { margin-bottom: 16px; }
    .firm-footer-bottom { flex-direction: column; gap: 10px; }
}
@media (max-width: 375px) {
    .header-logo img { max-width: 192px; }
}
