.footer-grid {
max-width: 1400px;
margin: 0 auto;
padding: 20px 20px 30px;
background: #fff;
} .footer-table {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 50px;
margin: auto;
margin-bottom: 30px;
width: 1000px;
} .footer-col h3 { color: #a62d26;
font-size: 18px;
font-weight: 600;
margin: 0 0 15px 0;
padding-bottom: 8px; display: block; 
position: relative;
min-height: 50px;  }
.footer-col h3 a {
color: #a62d26;
text-decoration: none;
}
.footer-col h3:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 200px; height: 2px;
background: #a10a00;
} .footer-col {
display: flex;
flex-direction: column;
width: 200px;
}
.footer-col .h3-wrapper {
display: block;
width: 100%;
} .footer-col h3.fixed-height {
height: 50px; overflow: hidden; } .footer-col h3 {
word-wrap: break-word;
word-break: break-word;
} .footer-links {
list-style: none;
margin: 0;
padding: 0;
}
.footer-links li {
padding-left: 0 !important;
padding-bottom: 0 !important;
}
.footer-links li {
margin-bottom: 8px;
}
.footer-links li::before {
content: none !important;
} .footer-grid .footer-links a {
color: inherit;
text-decoration: none;
font-size: 14px;
transition: all 0.2s ease;
display: inline-block;
}
.footer-grid .footer-links a:hover {
color: #a10a00;
padding-left: 3px;
text-decoration: none;
} @media (max-width: 992px) {
.footer-table {
gap: 20px;
width: 700px;
}
.footer-col {
width: 150px;
}
.footer-col h3 {
font-size: 16px;
min-height: 62px; width: 150px;
}
.footer-col h3:after {
width: 150px;
}
.footer-grid .footer-links a {
font-size: 13px;
}
} @media (max-width: 768px) {
.footer-table {
grid-template-columns: repeat(2, 1fr);
gap: 25px;
width: 500px;
}
.footer-grid {
padding: 20px 15px 20px;
}
.footer-col h3 {
font-size: 16px;
min-height: 40px; margin-bottom: 12px;
}
}
@media (max-width: 480px) {
.footer-table {
grid-template-columns: 1fr;
gap: 20px;
width: 100%;
}
.footer-col {
width: 100%;
}
.footer-col h3 {
min-height: auto; margin-bottom: 10px;
}
.footer-col h3:after {
width: 80%;
}
.footer-links li {
margin-bottom: 6px;
}
.footer-links li::before {
content: none !important;
}
} .footer-col {
display: flex;
flex-direction: column;
vertical-align: top;
}
.footer-links {
flex: 1;
} .footer-table {
align-items: start; }