.line-grid {
    position: relative;
}

.line-grid::before {
    background-image: repeating-linear-gradient(
        90deg,
        rgba(151, 155, 165, 0.3),
        rgba(151, 155, 165, 0.3) 1px,
        transparent 0 100%
    );
    background-size: 14.26%;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

.line-grid.line-grid--five::before {
    background-size: 16.7%;
}

.line-grid.line-grid--six::before {
    background-size: 15%;
}

.line-grid.line-grid--seven::before {
    background-size: 12.97%;
}

.line-grid.line-grid--eight::before {
    background-size: 13.05%;
    z-index: 1;
}

@media (min-width: 640px) {
    .line-grid.line-grid--five::before {
        background-size: 25%;
    }

    .line-grid.line-grid--six::before {
        background-size: 25%;
    }

    .line-grid.line-grid--seven::before {
        display: none;
    }
}

.wysiwyg-content,
section.basic-page .page-content {
    @apply flex flex-col gap-5;
}

.wysiwyg-content a,
section.basic-page a {
    @apply underline px-1 rounded-sm text-sedgwick-blue font-semibold hover:text-white hover:bg-sedgwick-blue hover:no-underline;
}

.wysiwyg-content p,
section.basic-page p {
    @apply leading-[1.8];
}

.wysiwyg-content ul,
section.basic-page ul,
.editor-styles-wrapper ul {
    @apply list-disc pl-5;
}

.wysiwyg-content ol,
section.basic-page ol,
.editor-styles-wrapper ol {
    @apply list-decimal pl-5;
}

.wysiwyg-content li,
section.basic-page li {
    @apply leading-[1.8] mb-2.5;
}

.editor-styles-wrapper li {
    @apply leading-[1.8];
}

.wysiwyg-content blockquote p,
section.basic-page blockquote p {
    @apply block !text-xl italic !leading-[1.7] ml-5 sm:ml-11 mr-5 sm:mr-8 mt-4 mb-5 pt-7 pb-0 px-0 border-t-[3px] border-t-sedgwick-blue font-georgia text-sedgwick-blue;
}

.wysiwyg-content .lead-in,
section.basic-page .lead-in {
    @apply pb-5 font-semibold text-sm uppercase tracking-[3.5px] text-sedgwick-blue font-oswald;
}

.wysiwyg-content .date,
section.basic-page .date {
    @apply -mb-5;
}

.wysiwyg-content .first-letter,
section.basic-page .first-letter {
    @apply text-sedgwick-blue float-left font-oswald text-[52px] leading-[45px] pt-1 pr-2 pl-1;
}

.wysiwyg-content .subtitle,
section.basic-page .subtitle {
    @apply text-xl text-sedgwick-blue italic leading-[1.5] font-georgia;
}

.wysiwyg-content h1,
section.basic-page h1,
.wysiwyg-content h2,
section.basic-page h2,
.wysiwyg-content h3,
section.basic-page h3,
.wysiwyg-content h4,
section.basic-page h4,
.wysiwyg-content h5,
section.basic-page h5 {
    @apply leading-[1.5] font-semibold;
}

.wysiwyg-content .two-columns {
    @apply grid grid-cols-1 md:grid-cols-2 gap-5;
}

#sedgwick-404 h1 {
    @apply border-b-[3px] font-light border-[#007dbc] pt-20 pb-12 mb-10;
}

#sedgwick-404 .subtitle {
    @apply text-black;
}

footer {
    @apply w-full mx-auto font-oswald bg-sedgwick-blue-medium text-white;
}

footer .primary-footer {
    @apply md:py-0 md:w-[90%] md:max-w-[1440px] mx-auto grid grid-cols-4 gap-3 md:gap-5 md:divide-x divide-sedgwick-gray divide-opacity-20 md:border-x md:border-sedgwick-gray md:border-opacity-20 relative;
}

footer .primary-footer-container {
    @apply bg-sedgwick-blue-dark divide-x divide-sedgwick-gray divide-opacity-20 md:divide-x-0;
}

footer .primary-footer .primary-footer-left {
    @apply flex flex-col gap-3 col-span-4 md:col-span-1 py-8 md:py-12 border-b md:border-b-0 border-sedgwick-gray border-opacity-20 px-[5%] md:px-0;
}

footer .primary-footer .primary-footer-right {
    @apply flex flex-col md:items-end gap-3 col-span-4 md:col-span-3 px-[5%] md:px-0 pb-10;
}

footer .primary-footer .primary-footer-links {
    @apply flex flex-col gap-3 md:pt-12 pt-2;
}

footer .primary-footer .primary-footer-links.second-row {
    @apply pt-2 lg:pt-6;
}

footer .primary-footer .primary-footer-links ul {
    @apply list-none p-0 -ml-1 md:m-0 md:-mr-1 flex flex-col gap-5 md:flex-row md:gap-6 flex-wrap justify-end;
}

footer .primary-footer .primary-footer-links li a {
    @apply uppercase tracking-widest font-medium text-sm p-1 bg-transparent hover:bg-sedgwick-blue transition-colors;
}

footer .primary-footer .primary-footer-social {
    @apply flex gap-5 items-center md:pt-6 pt-2;
}

footer .secondary-footer {
    @apply flex flex-col md:flex-row justify-between md:items-center gap-5 w-[90%] max-w-[1440px] mx-auto py-4 font-light tracking-widest uppercase;
}

footer .secondary-footer p {
    @apply text-sm;
}

#vidyard-overlay-wrapper {
    @apply z-50;
}

.places-search__input,
.autocomplete__input {
    @apply p-3 flex gap-2 items-center bg-white w-full h-fit border-t border-l border-r border-b border-sedgwick-gray bg-no-repeat bg-[length:16px_16px] bg-[position:center_left_16px] indent-8 rounded-3xl;
}

.autocomplete__input {
    @apply bg-[url(assets/images/icon-expert.svg)];
}

.places-search__input {
    @apply bg-[url(assets/images/icon-location.svg)];
}

.selected-expertises-container {
    @apply flex flex-wrap gap-2 mt-2;
}

.expertise-chip {
    @apply flex items-center bg-sedgwick-blue text-white px-2 py-1 rounded-full;
}

.expertise-chip button {
    @apply bg-none border-none text-white ml-2 mt-0.5 cursor-pointer;
}

.search-term-chip {
    @apply flex items-center border border-sedgwick-blue text-sedgwick-blue bg-white px-2 py-1 rounded-full;
}

.search-term-chip button {
    @apply bg-none border-none text-sedgwick-blue ml-2 mt-0.5 cursor-pointer;
}

.autocomplete__header {
    @apply  px-4 py-2 font-bold bg-white border-y border-sedgwick-gray flex flex-row items-center gap-1;
}

.autocomplete__header.user-before:before {
    @apply content-[''] relative object-contain bg-no-repeat bg-center bg-[image:url("assets/images/icon-user-blue.svg")] bg-[size:12px_12px] h-3 w-3 inline-block;
}

.autocomplete__header.shield-before:before {
    @apply content-[''] relative object-contain bg-no-repeat bg-center bg-[image:url("assets/images/icon-expert.svg")] bg-[size:12px_12px] h-3 w-3 inline-block;
}

.autocomplete__suggestion {
    @apply flex gap-5 justify-between px-4 py-2 border-none text-left w-full bg-none pointer-events-none;
}

.autocomplete__option-value {
    @apply font-bold capitalize flex flex-row items-center gap-2;
}

.autocomplete__option-value.plus-after:after {
    @apply content-[''] absolute object-contain bg-no-repeat bg-center bg-[image:url("assets/images/dropdown-plus.svg")] bg-[size:12px_12px] h-3 w-3 inline-block right-4;
}

.autocomplete__option-details {
    @apply text-gray-600 text-sm capitalize;
}

.autocomplete__option {
    @apply hover:bg-sedgwick-blue-light/50 cursor-pointer;
}

.autocomplete__menu {
    @apply absolute z-10 w-full bg-white border hidden rounded-3xl top-full mt-4 overflow-hidden lg:max-w-[550px];
}

.autocomplete__menu--visible {
    @apply block border-sedgwick-gray;
}

footer .secondary-footer .secondary-footer-right {
    @apply flex flex-col md:flex-row gap-5;
}

.acf-fields > .acf-tab-wrap .acf-tab-group li a {
    @apply text-[#555];
}