/* Layout styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'proxima-nova', Arial, sans-serif;
    color: #272727;
    line-height: 1.6;
    background-color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-overflow-scrolling: touch;
}

p {
    font-size: 1.15rem;
}

svg:not(:root) {
    overflow: hidden;
}

[class^="icon-"],
[class*=" icon-"] {
    height: 32px;
    width: 32px;
    display: inline-block;
    fill: currentColor;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

svg {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4 {
    line-height: 1.2;
    margin: 0 0 1rem;
    padding: 0;
    word-wrap: break-word;
    font-family: 'futura-pt-bold', sans-serif;
}

h1, .h1 { font-size: 2.5rem; }
h2, .h2 { font-size: 2.25rem; }
h3, .h3 { font-size: 1.5rem; }
h4, .h4 { font-size: 1.25rem; }


/* Brand Styles */

.bg-primary      { background-color: #b8b09c; color: #272727; }
.bg-lighterGray  { background-color: #efefef; color: #272727; }
.bg-lightGray    { background-color: #e5e5e5; color: #272727; }
.bg-darkGray     { background-color: #808080; color: #ffffff; }
.bg-secondary    { background-color: #002F87; color: #ffffff; }
.bg-highlight    { background-color: #67b2e8; color: #272727; }
.bg-black        { background-color: #272727; color: #ffffff; }
.bg-white        { background-color: #ffffff; color: #272727; }
.bg-lightBlue    { background-color: #d4dce6; }


/* General Styles */

.container {
    max-width: 1280px;
    width: 90%;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.container-small {
    max-width: 79ch;
    width: 90%;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.flex {
    display: flex;
    flex-direction: column;
}

.flex-reverse .highlight::before {
    right: -15px;
    left: auto;
    z-index: 100;
    border-width: 0 80px 80px 80px;
    border-color: transparent #67b2e8 transparent transparent;
}

.visually-hidden {
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: polygon(0px 0px, 0px 0px, 0px 0px, 0px 0px);
    clip-path: polygon(0px 0px, 0px 0px, 0px 0px, 0px 0px);
    position: absolute !important;
    white-space: nowrap;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.hide-mobile {
    display: none;
}

.mobile-only {
    display: block;
}

.image.highlight {
    position: relative;
    z-index: 200;
    display: none;

    @media screen and (min-width: 1024px) {
        display: block;
    }
}

.highlight::before {
    position: absolute;
    z-index: 100;
    top: -12px;
    left: -12px;
    content: '';
    width: 0;
    height: 0;
    border-width: 0 80px 80px 80px;
    border-color: transparent transparent transparent #67b2e8;
    border-style: solid;
}

.highlight img {
    position: relative;
    z-index: 200;
    width: 100%;
}

.btn {
    background-color: hsl(219, 100%, 27%);
    border: 1px solid hsl(219, 100%, 27%);
    color: #ffffff;
    display: block;
    line-height: 1.2;
    padding: 1rem;
    text-decoration: none;
    white-space: normal;
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgb(0 0 0 / 0%);
    transition: all 0.2s;
    text-transform: capitalize;
    margin: 2rem auto;
    width: 100%;
    max-width: 250px;
    text-align: center;
    border-radius: 3px;
}

.btn:hover,
.btn:focus,
.btn:active {
    background-color: hsl(219, 100%, 21%);
    border-color: hsl(219, 100%, 21%);
    color: #ffffff;
    text-decoration: none;
}

ul.styled-list {
    margin: 2rem;
}

ul.styled-list li {
    margin: 1rem 2rem;
    list-style-position: outside;
}

ul.styled-list li ul {
    display: block;
    margin: 0;
    padding: 0;
}

ul.styled-list li a {
    color: black;
    font-weight: bold;
}

ul.styled-list li a:hover {
    text-decoration: none;
}

ul.styled-list.flex {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

ul.styled-list.flex li {
    display: flex;
    flex: 0 0 50%;
}

ul.two-col {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0;
    columns: 2;
    column-gap: 2rem;

    li{
        break-inside: avoid;
        padding: 3px 0;
        line-height: 1.6;
    }

    @media (max-width: 480px) {
        columns: 1;
    }
}

@media screen and (min-width: 64rem) {
    .split {
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        gap: 3.5rem;
    }

    .split.flex-reverse {
        flex-direction: row-reverse;
    }

    .split.half .image {
        flex: 0 0 40%;
    }

    .split .content {
        margin-top: 0;
    }

    .split.no-gap  { gap: 0; }
    .split.small-gap { gap: 1.5rem; }

    .hide-mobile { display: block; }
    .mobile-only { display: none; }
}


/* Header Styles */

header {
    will-change: transform;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 7px 8px rgb(0 0 0 / 5%);
    position: relative;
    z-index: 3333;
    border-bottom: 1px solid #fefefe;
}

header .flex {
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
}

header .logo {
    max-width: 200px;
}

header .flex .logo a {
    margin-left: 0;
    display: block;
    position: relative;
    z-index: 5555;
}

header .flex nav {
    margin: auto;
}

header .logo img {
    display: block;
    max-width: 261px;
}

header nav {
    display: block;
    flex-basis: 100%;
    position: relative;
    z-index: 4444;
}

.contact-buttons {
    position: relative;
    z-index: 5555;
    width: 100%;
    margin-bottom: 1rem;
}

.contact-buttons ul, ul.contact-buttons {
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    gap: 1rem;
}

.contact-buttons ul li, ul.contact-buttons li {
    list-style-type: none;
}

.contact-buttons ul li a, ul.contact-buttons li a {
    display: inline-flex;
    padding: 0.25rem 0.5rem;
    background-color: #f7f7f7;
    color: #53575a;
    border: solid 1px #efefef;
    transition: all 0.2s;
    text-align: center; 
    border-radius: 3px;
    gap: 0.25rem;
    align-items: center;
    width: 100%;
    justify-content: space-around;
}

ul.contact-buttons li a{
    padding: 1rem;
    line-height: 19.2px;
    height: 53.19px;
}

@media (min-width: 75rem) {
    .contact-buttons ul li a, ul.contact-buttons li a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
}

.contact-buttons ul li a, ul.contact-buttons li a:hover {
    background-color: #e5e5e5;
}

.contact-buttons ul li a.btn-email, ul.contact-buttons li a.btn-email {
    background-color: hsl(219, 100%, 27%);
    color: #ffffff;
    svg{
        max-width:22px;
        gap: 1rem;
    }
}

.contact-buttons ul li a.btn-email:hover, ul.contact-buttons li a.btn-email:hover {
    background-color: hsl(219, 100%, 21%);
}

.contact-buttons ul li a.btn-phone:hover, ul.contact-buttons li a.btn-phone:hover {
    background-color: #e5e5e5;
}

@media screen and (min-width: 64rem) {
    header .logo  { max-width: 200px; }
    header .flex  { gap: 7rem; }
}

/* Section Styles */

section,
footer {
    padding: 1.5rem 0;
}

@media screen and (min-width: 64rem) {
    section,
    footer {
        padding: 4rem 0;
    }

    .padding-small {
        padding: 6rem 0;
    }
}

section .content .wrap {
    padding: 2rem 0;
}


/* Hero Section */

.hero {
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 65vh;
    color: white;
    position: relative;
    width: 100%;
    display: flex;
    z-index: 1111;
}

.hero .container {
    position: relative;
    z-index: 3333;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: normal;
    position: relative;
    
    @media screen and (max-width: 1023px) {
        padding: 3rem 0;
    }
}

.hero::before {
    position: absolute;
    z-index: 2222;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    content: '';
    background: linear-gradient(0deg, rgba(39, 39, 39, 85%) 50%, rgba(0, 0, 0, 0) 100%);
}

.hero h1 {
    font-size: 2.8rem;
    position: relative;
    padding-top: 0;
    padding-left: 0.25rem;
    margin-bottom: 0.5rem;
}

.hero h1 span {
    position: relative;
    z-index: 200;
    display: block;
}

.hero h1::before {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    z-index: 100;
    width: 0;
    height: 0;
    border-width: 0 35px 35px 35px;
    border-color: transparent transparent transparent #67b2e8;
    border-style: solid;
}

.hero h2 {
    max-width: 80%;
    margin-left: 0.25rem;
    font-size: 1.6rem;
    font-weight: normal;
    padding-top: 0;
    line-height: 1.4;
    font-family: 'proxima-nova', Arial, sans-serif;
}

.hero .desc {
    color: white;
    line-height: 1.6;
    max-width: 80ch;
    margin-left: 0.25rem;
}

.hero .feat {
    font-weight: bold;
}


/* Card List */

.card-list {
    margin: 2rem auto;
}

@media (min-width: 64rem) {
    .card-list.flex {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        gap: 1rem;
        align-items: normal;
        justify-content: flex-start;
    }
}

.card-list .card {
    padding: 2rem 2rem 6rem;
    background-color: white;
    color: #272727;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    width: 100%;
    position: relative;
    margin: 1rem 0;
    border-radius: 3px;
}

@media (min-width: 64rem) {
    .card-list .card {
        margin: 0;
    }
}

.card-list .card .title {
    padding-top: 0;
    font-size: 1.5rem;
    margin-bottom: 0;
    align-items: center;
}

.card-list .card .card-title {
    padding-top: 0;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
}

.card-list .card .content {
    flex-grow: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
}

.card-list .card .desc {
    font-size: 1rem;
}

.card-list .card .icon {
    color: white;
    width: 100%;
    display: block;
    max-width: 50px;
    height: 50px;
}

.card-list .card .icon svg {
    position: relative;
    z-index: 200;
    text-align: center;
    min-width: 50px;
    top: 9px;
}

.card-list .card .icon::before {
    content: '';
    background-color: #67b2e8;
    height: 50px;
    width: 50px;
    z-index: 100;
    position: absolute;
    display: block;
    border-radius: 50%;
}

.card-list .card:hover {
    background-color: #f3f3f3;
}

.card-list .card:hover .title {
    text-decoration: underline;
}

.card-list .card .arrow {
    display: block;
    margin: 2rem 0 0 90%;
    color: #002F87;
    position: absolute;
    bottom: 2rem;
    height: 32px;
    width: 32px;
    right: 2rem;
    transform: translateX(-15px);
    will-change: transform;
    transition: all 0.2s ease-in-out;
}

.card-list .card:hover .arrow {
    transform: translateX(0);
}


/* Training + Resources */

#training .card-list {
    margin-top: 4rem;
}

@media (min-width: 64rem) {
    #training .card-list {
        flex-direction: row;
    }

    #training .card {
        flex: 0 0 49%;
    }
}


/* Insurance Products */

#insurance{
    @media screen and (max-width: 1023px) {
        padding-top: 75px;
        &:before{
            position:absolute;
            width: 100%;
            background-color: black;
            content:'';
            height: 50px;
            inset: 0;
        }
    }
}

#insurance .split {
    align-items: flex-start;
}

#insurance ul {
    margin: 2rem 0;
}

#insurance ul li a {
    display: list-item;
    padding: 0.5rem;
    color: black;
    font-weight: bold;
    &:hover{
        text-decoration: none;
    }
}

@media (min-width: 64rem) {
    #insurance ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    #insurance ul li {
        display: flex;
        flex: 0 0 35%;
    }

    #insurance .flex.split{
         flex-direction: row-reverse;
    }

    #insurance .btn {
        margin-left: 0;
        margin-top: 2rem;
    }
}


/* Claims Accordion */

.accordion-container {
    padding-top: 1.5rem;
}

.accordion {
    margin: 1.5rem 0 0;
    display: block;
}

.accordion .title {
    list-style: none;
    position: relative;
    color: #272727;
    margin: 0.5rem 0;
    padding: 1.5rem;
    font-size: 1rem;
    border: 1px solid #e3e3e3;
    box-shadow: 0 0 1px rgb(0 0 0 / 0%);
}

.accordion .title > a.btn-phone {
    display: block;
    padding: 1rem;
    background-color: #f7f7f7;
    color: #53575a;
    border: solid 1px #efefef;
    transition: all 0.2s;
    text-align: center;
}

.accordion .title > a.btn-phone:hover {
    background-color: #e5e5e5;
}

@media (min-width: 75rem) {
    .accordion .title > a.btn-phone {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
}

.accordion .title > a.toggle {
    color: #272727;
    text-decoration: none;
    padding: 1.5rem 3rem 1.5rem 1.5rem;
    border: none;
    transition: all 0.2s ease-in;
    border-radius: 3px;
    background-color: #ffffff;
}

.accordion .title > a.toggle svg {
    width: 60px;
    height: 60px;
    color: #58b2e6;
    transform: rotate(90deg);
    transition: all 250ms;
    will-change: transform;
}

.accordion .title.show > a.toggle {
    background-color: #e5e5e5;
}

.accordion .title.show > a.toggle svg {
    transform: rotate(-90deg);
}

.accordion .title > a.toggle:hover,
.accordion .title > a.active {
    background-color: #e5e5e5;
    color: #272727;
    border: none;
}

.accordion .title > a.toggle:hover svg,
.accordion .title > a.active svg {
    color: #58b2e6;
}

.accordion .title > a.toggle span {
    display: block;
    font-weight: normal;
}

.accordion .title.flex {
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.accordion .title.no-padding {
    padding: 0;
}

.accordion .toggle.flex {
    flex-direction: row;
    gap: 6rem;
    align-items: center;
}

.accordion .title ul {
    margin-top: 0;
}

.accordion .title ul li {
    padding: 10px 0;
    margin: 0 0 0 1rem;
    color: #272727;
}

.accordion .content {
    overflow: hidden;
    display: none;
    padding: 2rem;
    background: #ffffff;
    color: #272727;
    border-radius: 3px;
}

.accordion .content.wrap {
    padding: 0;
    background-color: #e5e5e5;
}

#claims .accordion .content ul.styled-list {
    margin: 0 2rem 2rem;
}

.accordion .content a.btn {
    max-width: 400px;
    margin: 1rem 2rem;
}


/* Claims */

#claims ul.styled-list {
    margin: 2rem 0;
}

#claims {
    position: relative;
    z-index: 200;
    overflow: hidden;
}

#claims .container {
    z-index: 300;
    position: relative;
}

#claims img {
    position: relative;
    z-index: 200;
    width: 100%;
}


/* Contact Us */

#contact-us h2 {
    text-align: center;
    font-size: 2.25rem;
}
#contact-us .split{
    justify-content: space-between;
}

#contact-us .split > div{
    flex-basis: 50%;

    &.associate-container{
        flex-basis: 33%;
    }
}


/* Form Styles */

form,
fieldset {
    margin-bottom: 1.5625rem;
}

fieldset {
    border: 0;
    padding: 0;
}

legend,
label {
    display: block;
    margin: 0 0 0.3125rem;
    padding: 0;
}

button,
input,
optgroup,
select,
textarea {
    color: #555759;
    font: inherit;
    margin: 0;
    padding: 0.3125rem;
}

input,
textarea,
select {
    border: 1px solid #B8B8B8;
    display: block;
    line-height: 1.5;
    margin-bottom: 1.1875rem;
    width: 100%;
}

@media (min-width: 64rem) {
    input,
    textarea,
    select {
        line-height: 1.5625;
    }
}

form button,
form .btn {
    margin-bottom: 1.1875rem;
}

textarea {
    height: 8rem;
    overflow: auto;
    resize: vertical;
}

[type="image"],
[type="checkbox"],
[type="radio"] {
    cursor: pointer;
    display: inline-block;
    height: auto;
    margin-bottom: 0.3125rem;
    padding: 0;
    width: auto;
}

input:focus,
textarea:focus {
    border-color: rgba(39, 39, 39, 0.8);
}

.hbspt-form {
    margin: 0 auto;
    padding: 0;
}

.hbspt-form form {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
}

.hbspt-form form input {
    position: relative;
    z-index: 7777;
    background-color: #ffffff;
    width: 100% !important;
}

.hbspt-form form .textarea {
    height: 200px;
    max-height: 200px;
    max-width: 100%;
}

.hbspt-form form fieldset {
    border: 0;
    width: 100%;
    justify-content: space-between;
    max-width: 100%;
    margin: 0.5rem 0;
    clear: both;
    display: block;
}

@media screen and (min-width: 64rem) {
    .hbspt-form form fieldset {
        display: flex;
    }
}

.hbspt-form form .field {
    width: 100% !important;
}

.hbspt-form form .field span {
    font-size: 1rem;
}

@media screen and (min-width: 64rem) {
    .hbspt-form form .field span {
        font-size: 1.25rem;
    }
}

.hbspt-form .hs-form-required {
    color: red;
    margin: 0 5px;
    font-size: 1.2rem;
}

.hbspt-form .hs-error-msg {
    text-indent: 0;
    position: relative;
    height: auto;
    width: auto;
    color: red !important;
    font-size: 1rem;
    padding: 0.5rem;
    text-align: left;
}

.hbspt-form .hs-input {
    width: 100%;
    padding: 10px 15px 12px;
    background: #ffffff;
    color: #272727;
    font-size: 1rem;
    transition: all 0.4s;
    border: none;
    outline: none;
    border-radius: 0;
}

.hbspt-form .hs-input:focus {
    color: black;
}

.hbspt-form .hs-button {
    display: block;
    background-color: hsl(219, 100%, 27%);
    border: 1px solid hsl(219, 100%, 27%);
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: normal;
    line-height: 1.2;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.3125rem;
    padding: 1.5rem;
    text-decoration: none;
    white-space: normal;
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgb(0 0 0 / 0%);
    transition: all 0.2s;
    width: 100%;
    margin-top: 2rem;
    max-width: 250px;
    z-index: 7777;
}

@media screen and (min-width: 64rem) {
    .hbspt-form .hs-button {
        margin-left: 0;
        margin-right: auto;
    }
}

.hbspt-form .hs-button:hover,
.hbspt-form .hs-button:active,
.hbspt-form .hs-button:focus {
    background-color: hsl(219, 100%, 21%);
    border-color: hsl(219, 100%, 21%);
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}


/* Footer */

footer {
    padding-bottom: 0;
    padding-top: 4rem;
}

footer .container {
    align-items: flex-start;
}


@media screen and (min-width: 64rem) {
    footer .container {
        align-items: flex-end;
        flex-direction: row;
        justify-content: space-between;
    }

    footer .contact-info .flex {
        flex-direction: row;
        gap: 3rem;
        padding: 1rem;
        align-items: flex-end;
    }

    footer .contact-info .styled-list {
        margin: 0;
    }
}

footer address {
    font-style: normal;
}

footer .styled-list {
    display: block;
    padding: 0;
    margin-left: 0;
}

footer .styled-list li {
    list-style-type: none;
    margin: 0;
}

footer .styled-list li a {
    color: white;
}

footer .split{
    flex-direction: column;
    > div{
        &.col2{
            flex-basis: 50%;
        }
    }

    @media screen and (min-width: 64rem) {
        flex-direction: row;
        align-items: start;
    }
}

.social{
    margin-top:2rem;
}

.social-nav {
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: start;
    margin: 2rem 0;
}

.social-nav li {
    list-style-type: none;
}

.social-nav li a {
    text-align: center;
    margin: 0 20px 0 0;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: transparent;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.social-nav li a:hover {
    background-color: #00a6ce;
    border-color: #00a6ce;
    color: white;
}

.social-nav svg {
    width: 25px;
}

.footer-end {
    padding: 1.25rem 0;
    margin-top: 2rem;
}

.footer-end a {
    color: white;
    font-weight: bold;
}

.footer-end a:hover {
    text-decoration: none;
}

.footer-end .flex {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

footer .logo .title {
    margin: 2rem 0;
}

@media screen and (min-width: 64rem) {
    footer .logo.flex {
        flex-direction: row;
        gap: 3rem;
        margin-bottom: 2rem;
    }

    footer .logo .title {
        margin: 0;
    }
}

.copyright {
    font-size: 0.825rem;
}

.copyright div {
    display: flex;
    flex-direction: column;
}

@media screen and (min-width: 64rem) {
    .copyright div {
        flex-direction: row;
        gap: 2rem;
    }
}

.disclaimer {
    color: #aaaaaa;
    font-size: 0.825rem;
    padding: 3rem 2rem 2rem;
}

.disclaimer div {
    max-width: 1280px;
    margin: 0 auto;
    margin-top: 0.5rem;
}

.disclaimer div:first-child {
    margin-top: 0;
    padding-top: 3rem;
    border-top: 1px solid #aaaaaa;
}


/* Hero background */

#content .hero,
#main-content .hero {
    background-image: url('../img/hero-fire-fighter-pipes.jpg');
    background-position: right;
    background-repeat: no-repeat;
}


/* Logo tagline */

.desktop-only {
    display: none;
}

.logo-tagline {
    background-color: #002f87;
    color: white;
    padding: 10px;
    text-align: center;
    margin: 0 auto;
}

@media (min-width: 1280px) {
    .desktop-only {
        display: block;
    }

    .logo-tagline {
        position: absolute;
        right: 0;
        bottom: -59px;
        padding: 1rem;
    }
}


/* Accessibility */

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0 0 4px 4px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 9999;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

:focus-visible {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
}


/* Navigation */

.subnav-nav {
    display: none;
}
/* 
header .contact-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0.4rem 1rem;
}

.contact-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    padding: 0 0.5rem;
    text-decoration: none;
    color: inherit;
}

header .contact-buttons a:hover {
    text-decoration: underline;
} */

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0.25rem;
    position: relative;
}

.logo {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

.logo:focus-visible {
    outline-offset: 4px;
}

.main-nav {
    display: none;
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 1rem;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0.25rem;
    text-decoration: none;
    color: inherit;
    font-weight: bold;
}

.main-nav a:hover {
    text-decoration: underline;
}


/* Hamburger */

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 44px;
    height: 44px;
    padding: 12px 10px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    color: inherit;
}

.bar {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* Mobile menu */

.mobile-menu {
    display: none;
    padding: 0.5rem 2rem 1rem;
}

.mobile-menu {
    .subnav-nav {
        display: block;
        margin-top: 1rem;
    }
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu nav:not(.subnav-nav) ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu nav:not(.subnav-nav) li {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu nav:not(.subnav-nav) a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.25rem 0;
    text-decoration: none;
    color: inherit;
}

.mobile-menu nav:not(.subnav-nav) a:hover {
    text-decoration: underline;
}

.mobile-menu nav.subnav-nav li {
    flex: 2;
}

@media (prefers-reduced-motion: reduce) {
    .bar,
    .mobile-menu,
    .skip-link {
        transition: none;
    }
}

.main-nav-container .subnav-nav {display: none;}

@media (min-width: 1024px) {
    .main-nav-container .subnav-nav {display: flex; width: 100%; justify-content: end;}
    .subnav-nav  { display: flex; }
    .main-nav    { display: flex; align-items: center; justify-content: right; }
    .hamburger   { display: none; }
    .mobile-menu { display: none !important; }
}

.align-top{
    align-items: flex-start;
}

.margin-top{ 
    margin-top: 2rem;
}

.inline-links{
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    @media (min-width: 1024px) {
        flex-wrap: nowrap;
    }
    .btn{
        margin: 1rem;
        padding: 1rem;
    }
}

.contact-buttons ul li a svg{
    max-width:22px;
}


@media (max-width: 1023px) {
    #applications .split {
        gap: 3rem;
    }
}

.helpful-links ul.styled-list li a{
    font-weight: normal;
    padding:0.5rem;
    border-bottom:1px dotted #67b2e8;
    text-align: left;
    display: inline-flex;
    font-size: 1rem;
    background-color: #272727;
    flex-grow: 1;
    margin:0;
}

.associate-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 2fr)); /* Responsive grid */
  gap: 5rem;
  padding: 20px;
  margin:0 auto;
  justify-content: space-around;
  .contact-buttons ul{
    flex-direction: column;
  }
}

.associate {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: center;
}

/* .associate-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  padding:1rem;
  max-width: 300px;
  @media (min-width: $bp-large) {
    margin: 0 auto;
  }
} */

.associate-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex:1;
  text-align: left;
}

.associate-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  padding-bottom:1rem;
  border-bottom: 2px solid $highlightColor;
}

.associate-title {
  font-size: 1.15rem;
  margin: 0.25rem 0;
  color: $darkGray;
  flex:1;
}