/*--------------------------------------------------------------
# Learned Counsel Homepage
--------------------------------------------------------------*/
.home-hero {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 94px 0 0;
    background-color: var(--ews-black);
    background-image: radial-gradient(circle at 82% 18%, rgba(var(--ews-base-rgb), .17), transparent 31%);
}

.home-hero .container {
    position: relative;
    z-index: 1;
}

.home-hero__glow {
    position: absolute;
    border: 1px solid rgba(var(--ews-white-rgb), .08);
    border-radius: 50%;
    pointer-events: none;
}

.home-hero__glow--one {
    top: -190px;
    right: -90px;
    width: 520px;
    height: 520px;
}

.home-hero__glow--two {
    bottom: -260px;
    left: -190px;
    width: 600px;
    height: 600px;
    border-color: rgba(var(--ews-base-rgb), .12);
}

.home-hero__content {
    padding: 22px 0 58px;
}

.home-hero__kicker,
.home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--ews-base);
    font-family: var(--ews-font);
    font-size: 12px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.home-hero__kicker::before,
.home-kicker::before {
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--ews-base);
    content: "";
}

.home-hero__title {
    max-width: 760px;
    margin: 0 0 22px;
    color: var(--ews-white);
    font-family: var(--ews-font-two);
    font-size: 64px;
    line-height: 74px;
    font-weight: 700;
}

.home-hero__title span {
    color: var(--ews-base);
}

.home-hero__text {
    max-width: 660px;
    margin: 0;
    color: rgba(var(--ews-white-rgb), .72);
    font-size: 17px;
    line-height: 30px;
}

.home-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 26px;
    margin-top: 30px;
}

.home-hero__btn {
    color: var(--ews-black);
    background: var(--ews-white);
    border-color: var(--ews-white);
}

.home-hero__link,
.home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ews-white);
    font-size: 12px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    -webkit-transition: color .3s ease;
    transition: color .3s ease;
}

.home-hero__link i,
.home-text-link i {
    color: var(--ews-base);
    font-size: 11px;
    -webkit-transition: transform .3s ease;
    transition: transform .3s ease;
}

.home-hero__link:hover,
.home-text-link:hover {
    color: var(--ews-base);
}

.home-hero__link:hover i,
.home-text-link:hover i {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
}

.home-hero__note {
    margin: 22px 0 0;
    color: rgba(var(--ews-white-rgb), .46);
    font-size: 12px;
    line-height: 21px;
}

.home-search {
    position: relative;
    z-index: 1;
    padding: 28px;
    background: rgba(var(--ews-white-rgb), .06);
    border: 1px solid rgba(var(--ews-white-rgb), .14);
    border-radius: var(--ews-bdr-radius);
}

.home-search__label {
    display: block;
    margin: 0 0 12px;
    color: var(--ews-white);
    font-size: 12px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-search__row {
    display: flex;
    gap: 10px;
}

.home-search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 52px;
    padding: 0 16px;
    color: var(--ews-black);
    background: var(--ews-white);
    border: 0;
    border-radius: 5px;
    outline: none;
}

.home-search input::placeholder {
    color: var(--ews-gray);
}

.home-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    height: 52px;
    padding: 0 20px;
    color: var(--ews-black);
    background: var(--ews-base);
    border: 0;
    border-radius: 5px;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    -webkit-transition: background .3s ease;
    transition: background .3s ease;
}

.home-search button:hover {
    background: var(--ews-white);
}

.home-search__hint {
    margin: 12px 0 0;
    color: rgba(var(--ews-white-rgb), .5);
    font-size: 12px;
    line-height: 20px;
}

.home-snapshot {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(var(--ews-white-rgb), .12);
}

.home-snapshot__item {
    min-width: 0;
    padding: 24px 22px;
    border-left: 1px solid rgba(var(--ews-white-rgb), .12);
}

.home-snapshot__item:first-child {
    border-left: 0;
}

.home-snapshot__item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ews-white);
    font-family: var(--ews-font-two);
    font-size: 27px;
    line-height: 32px;
    font-weight: 700;
}

.home-snapshot__item span {
    display: block;
    color: rgba(var(--ews-white-rgb), .5);
    font-size: 10px;
    line-height: 18px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.home-ai,
.home-articles,
.home-topics,
.home-principles,
.home-about-contact {
    position: relative;
    display: block;
    padding: 110px 0;
}

.home-ai,
.home-topics,
.home-about-contact {
    background: var(--ews-white);
}

.home-articles,
.home-principles {
    background: var(--ews-primary);
}

.home-ai {
    scroll-margin-top: 110px;
}

.home-section-heading {
    margin-bottom: 44px;
}

.home-section-heading--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 34px 70px;
}

.home-section-heading--split > div {
    max-width: 760px;
}

.home-section-heading--split > p {
    max-width: 430px;
    margin: 0 0 5px;
    color: var(--ews-gray);
    font-size: 15px;
    line-height: 27px;
}

.home-section-heading h2 {
    max-width: 860px;
    margin: 0;
    color: var(--ews-black);
    font-family: var(--ews-font-two);
    font-size: 42px;
    line-height: 52px;
    font-weight: 700;
}

.home-section-heading__row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 26px 60px;
}

.home-text-link {
    flex: 0 0 auto;
    color: var(--ews-black);
}

.home-text-link:hover {
    color: var(--ews-base);
}

.home-text-link--light {
    color: var(--ews-white);
}

.home-text-link--light:hover {
    color: var(--ews-base);
}

.home-ai-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 36px;
    background: var(--ews-primary);
    border: 1px solid var(--ews-bdr-color);
    border-radius: var(--ews-bdr-radius);
}

.home-ai-card--accent {
    background: var(--ews-black);
    border-color: var(--ews-black);
}

.home-ai-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    color: var(--ews-base);
    background: rgba(var(--ews-base-rgb), .15);
    border-radius: 50%;
    font-size: 21px;
}

.home-ai-card--accent .home-ai-card__icon {
    background: rgba(var(--ews-white-rgb), .07);
}

.home-ai-card__label {
    display: block;
    margin-bottom: 8px;
    color: var(--ews-base);
    font-size: 11px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-ai-card h3 {
    margin: 0 0 14px;
    color: var(--ews-black);
    font-family: var(--ews-font-two);
    font-size: 29px;
    line-height: 39px;
    font-weight: 700;
}

.home-ai-card p {
    margin: 0;
    color: var(--ews-gray);
    font-size: 15px;
    line-height: 27px;
}

.home-ai-card--accent h3,
.home-ai-card--accent p {
    color: var(--ews-white);
}

.home-ai-card--accent p {
    color: rgba(var(--ews-white-rgb), .72);
}

.home-ai-card__list {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.home-ai-card__list li {
    position: relative;
    margin-top: 10px;
    padding-left: 21px;
    color: var(--ews-gray);
    font-size: 14px;
    line-height: 24px;
}

.home-ai-card__list li::before {
    position: absolute;
    top: 10px;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--ews-base);
    border-radius: 50%;
    content: "";
}

.home-ai-card--accent .home-ai-card__list li {
    color: rgba(var(--ews-white-rgb), .78);
}

.home-ai-note {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 28px;
    padding: 22px 24px;
    background: var(--ews-primary);
    border-left: 3px solid var(--ews-base);
    border-radius: var(--ews-bdr-radius);
}

.home-ai-note > i {
    flex: 0 0 auto;
    margin-top: 4px;
    color: var(--ews-base);
    font-size: 18px;
}

.home-ai-note p {
    margin: 0;
    color: var(--ews-gray);
    font-size: 14px;
    line-height: 25px;
}

.home-ai-note strong {
    color: var(--ews-black);
}

.home-articles__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.home-article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px 28px 24px;
    background: var(--ews-white);
    border: 1px solid var(--ews-bdr-color);
    border-radius: var(--ews-bdr-radius);
    -webkit-transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.home-article-card:hover {
    border-color: rgba(var(--ews-base-rgb), .6);
    box-shadow: 0 16px 38px rgba(var(--ews-black-rgb), .07);
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
}

.home-article-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
}

.home-article-card__tag {
    display: inline-block;
    max-width: 58%;
    padding: 4px 10px;
    overflow: hidden;
    color: var(--ews-black);
    background: rgba(var(--ews-base-rgb), .12);
    border-radius: 20px;
    font-size: 10px;
    line-height: 16px;
    font-weight: 700;
    letter-spacing: .06em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-article-card__date {
    color: var(--ews-gray);
    font-size: 11px;
    line-height: 18px;
    font-weight: 600;
    white-space: nowrap;
}

.home-article-card h3 {
    margin: 0 0 12px;
    font-family: var(--ews-font-two);
    font-size: 23px;
    line-height: 33px;
    font-weight: 700;
}

.home-article-card h3 a {
    color: var(--ews-black);
    -webkit-transition: color .3s ease;
    transition: color .3s ease;
}

.home-article-card h3 a:hover {
    color: var(--ews-base);
}

.home-article-card__text {
    display: -webkit-box;
    margin: 0 0 20px;
    overflow: hidden;
    color: var(--ews-gray);
    font-size: 14px;
    line-height: 25px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-article-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--ews-bdr-color);
}

.home-article-card__author {
    color: var(--ews-gray);
    font-size: 11px;
    line-height: 20px;
    font-weight: 600;
}

.home-article-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ews-black);
    font-size: 10px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    -webkit-transition: color .3s ease;
    transition: color .3s ease;
}

.home-article-card__link i {
    color: var(--ews-base);
    font-size: 10px;
    -webkit-transition: transform .3s ease;
    transition: transform .3s ease;
}

.home-article-card__link:hover {
    color: var(--ews-base);
}

.home-article-card__link:hover i {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
}

.home-topics__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.home-topic {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 76px;
    padding: 18px 20px;
    color: var(--ews-black);
    background: var(--ews-primary);
    border: 1px solid var(--ews-bdr-color);
    border-radius: var(--ews-bdr-radius);
    font-size: 14px;
    line-height: 22px;
    font-weight: 700;
    text-decoration: none;
    -webkit-transition: color .3s ease, background .3s ease, border-color .3s ease, transform .3s ease;
    transition: color .3s ease, background .3s ease, border-color .3s ease, transform .3s ease;
}

.home-topic i {
    color: var(--ews-base);
    font-size: 11px;
    -webkit-transition: transform .3s ease;
    transition: transform .3s ease;
}

.home-topic:hover {
    color: var(--ews-white);
    background: var(--ews-black);
    border-color: var(--ews-black);
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

.home-topic:hover i {
    color: var(--ews-base);
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
}

.home-principles__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.home-principle {
    padding: 28px 24px;
    background: var(--ews-white);
    border: 1px solid var(--ews-bdr-color);
    border-radius: var(--ews-bdr-radius);
}

.home-principle__number {
    display: block;
    margin-bottom: 18px;
    color: var(--ews-base);
    font-family: var(--ews-font-two);
    font-size: 27px;
    line-height: 30px;
    font-weight: 700;
}

.home-principle h3 {
    margin: 0 0 10px;
    color: var(--ews-black);
    font-family: var(--ews-font-two);
    font-size: 20px;
    line-height: 29px;
    font-weight: 700;
}

.home-principle p {
    margin: 0;
    color: var(--ews-gray);
    font-size: 14px;
    line-height: 25px;
}

.home-about-contact__panel {
    position: relative;
    overflow: hidden;
    padding: 54px;
    background: var(--ews-black);
    border-radius: 14px;
}

.home-about-contact__panel::before {
    position: absolute;
    top: -160px;
    right: -120px;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(var(--ews-white-rgb), .08);
    border-radius: 50%;
    content: "";
}

.home-about-contact__panel .row {
    position: relative;
    z-index: 1;
}

.home-kicker--light {
    color: var(--ews-base);
}

.home-about-contact h2 {
    max-width: 690px;
    margin: 0 0 18px;
    color: var(--ews-white);
    font-family: var(--ews-font-two);
    font-size: 42px;
    line-height: 52px;
    font-weight: 700;
}

.home-about-contact p {
    max-width: 690px;
    margin: 0 0 22px;
    color: rgba(var(--ews-white-rgb), .72);
    font-size: 15px;
    line-height: 27px;
}

.home-contact-card {
    padding: 28px;
    background: rgba(var(--ews-white-rgb), .06);
    border: 1px solid rgba(var(--ews-white-rgb), .12);
    border-radius: var(--ews-bdr-radius);
}

.home-contact-card h3 {
    margin: 0 0 12px;
    color: var(--ews-white);
    font-family: var(--ews-font-two);
    font-size: 25px;
    line-height: 34px;
    font-weight: 700;
}

.home-contact-card p {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 25px;
}

.home-contact-card__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 20px;
}

.home-contact-card .thm-btn {
    color: var(--ews-black);
    background: var(--ews-white);
    border-color: var(--ews-white);
}

.home-empty {
    padding: 64px 24px;
    text-align: center;
    background: var(--ews-white);
    border: 1px solid var(--ews-bdr-color);
    border-radius: var(--ews-bdr-radius);
}

.home-empty h3 {
    margin: 0 0 10px;
    color: var(--ews-black);
    font-family: var(--ews-font-two);
    font-size: 28px;
    line-height: 38px;
    font-weight: 700;
}

.home-empty p {
    margin: 0 0 20px;
    color: var(--ews-gray);
    font-size: 15px;
    line-height: 26px;
}

.home-sidebar-note {
    margin: 12px 0 0;
    color: var(--ews-gray);
    font-size: 11px;
    line-height: 19px;
}

@media (max-width: 1199px) {
    .home-hero__title {
        font-size: 54px;
        line-height: 64px;
    }

    .home-section-heading h2,
    .home-about-contact h2 {
        font-size: 38px;
        line-height: 48px;
    }

    .home-articles__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-topics__grid,
    .home-principles__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .home-hero {
        padding-top: 72px;
    }

    .home-hero__content {
        padding-bottom: 40px;
    }

    .home-hero__title {
        font-size: 46px;
        line-height: 58px;
    }

    .home-search {
        margin-bottom: 40px;
    }

    .home-ai,
    .home-articles,
    .home-topics,
    .home-principles,
    .home-about-contact {
        padding: 82px 0;
    }

    .home-section-heading--split {
        display: block;
    }

    .home-section-heading--split > p {
        margin-top: 16px;
        max-width: 100%;
    }

    .home-ai-card {
        padding: 30px;
    }

    .home-about-contact__panel {
        padding: 40px;
    }

    .home-snapshot {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-snapshot__item:nth-child(3) {
        border-left: 0;
    }

    .home-snapshot__item:nth-child(n+3) {
        border-top: 1px solid rgba(var(--ews-white-rgb), .12);
    }
}

@media (max-width: 767px) {
    .home-hero__title {
        font-size: 38px;
        line-height: 48px;
    }

    .home-hero__text {
        font-size: 16px;
        line-height: 28px;
    }

    .home-hero__actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-search__row {
        flex-direction: column;
    }

    .home-search button {
        width: 100%;
    }

    .home-articles__grid {
        grid-template-columns: 1fr;
    }

    .home-section-heading h2,
    .home-about-contact h2 {
        font-size: 32px;
        line-height: 42px;
    }

    .home-section-heading__row {
        display: block;
    }

    .home-section-heading__row .home-text-link {
        margin-top: 16px;
    }

    .home-principles__grid {
        grid-template-columns: 1fr;
    }

    .home-about-contact__panel {
        padding: 30px 24px;
    }

    .home-contact-card {
        padding: 24px;
    }

    .home-ai-note {
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .home-hero {
        padding-top: 56px;
    }

    .home-hero__title {
        font-size: 34px;
        line-height: 44px;
    }

    .home-snapshot {
        grid-template-columns: 1fr;
    }

    .home-snapshot__item {
        border-left: 0;
        border-top: 1px solid rgba(var(--ews-white-rgb), .12);
    }

    .home-snapshot__item:first-child {
        border-top: 0;
    }

    .home-topics__grid {
        grid-template-columns: 1fr;
    }

    .home-ai-card,
    .home-article-card {
        padding: 24px 22px;
    }

    .home-ai-card h3 {
        font-size: 25px;
        line-height: 35px;
    }

    .home-article-card h3 {
        font-size: 21px;
        line-height: 31px;
    }

    .home-contact-card__actions {
        align-items: flex-start;
        flex-direction: column;
    }
}
