/* MyLawyers Insights page */

.ml-insights-scope,
.ml-insights-scope * {
    box-sizing: border-box;
}

.ml-insights-scope {
    --ml-text: #334155;
    --ml-muted: #64748b;
    --ml-dark: #1e293b;
    --ml-border: #e2e8f0;
    --ml-soft: #f8fafc;
    --ml-pink: #f06292;
    --ml-pink-dark: #e91e63;
    --ml-gold: #f5b400;
    --ml-hero-bg: #575756;
    --ml-ink: #111827;
    --ml-shadow-soft: 0 14px 36px rgba(15, 23, 42, 0.1);
    --ml-shadow-strong: 0 28px 70px rgba(15, 23, 42, 0.22);

    color: var(--ml-text);
    font-family: inherit;
}

body.mylawyers-insights-page {
    overflow-x: hidden;
}

section.ml-insights-page {
    position: relative;
    width: auto;
    max-width: none;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    overflow-x: hidden;
    background:
        linear-gradient(180deg, #ffffff 0, #f8fafc 520px, #ffffff 100%);
    padding: 0 0 38px;
}

.ml-insights-scope,
.ml-insights-scope * {
    font-family: inherit;
}

.ml-insights-scope [class^="feather-"],
.ml-insights-scope [class*=" feather-"] {
    font-family: feather !important;
}

.ml-insights-scope [class^="jvic-"],
.ml-insights-scope [class*=" jvic-"] {
    font-family: jv-icons !important;
}

.ml-insights-widget {
    width: 100%;
    max-width: 100%;
}

.ml-insights-widget .ml-insights-hero {
    width: 100%;
    margin: 0;
}

.ml-insights-widget .ml-insights-sidebar {
    position: static;
}

.ml-insights-widget .ml-insights-grid {
    grid-template-columns: repeat(var(--ml-insights-columns, 3), minmax(0, 1fr));
}

.ml-insights-shell,
.ml-insights-main,
.ml-insights-sidebar,
.ml-insights-card,
.ml-insights-featured {
    min-width: 0;
    max-width: 100%;
}

.ml-insights-shell {
    width: min(1500px, calc(100% - 72px));
    margin: -44px auto 0;
    position: relative;
    z-index: 3;
}

.ml-insights-hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 520px;
    margin: 0 0 32px;
    padding: 92px max(24px, calc((100vw - 1180px) / 2)) 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(145deg, rgba(17, 24, 39, 0.98) 0%, rgba(43, 45, 47, 0.96) 48%, rgba(87, 87, 86, 0.92) 100%),
        var(--ml-hero-bg);
    border: 0;
    text-align: center;
    overflow: hidden;
}

.ml-insights-hero::before,
.ml-insights-hero::after {
    position: absolute;
    pointer-events: none;
    content: "";
}

.ml-insights-hero::before {
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 84px 84px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 88%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 88%);
}

.ml-insights-hero::after {
    right: -14%;
    bottom: -42px;
    z-index: -1;
    width: 58%;
    height: 220px;
    background:
        linear-gradient(135deg, rgba(245, 180, 0, 0), rgba(245, 180, 0, 0.18) 42%, rgba(240, 98, 146, 0.12));
    border-top: 1px solid rgba(245, 180, 0, 0.3);
    transform: skewY(-10deg);
}

.ml-insights-hero__inner {
    position: relative;
    width: min(1080px, 100%);
}

.ml-insights-hero__inner::before,
.ml-insights-hero__inner::after {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    content: "";
}

.ml-insights-hero__inner::before {
    right: -86px;
    top: -58px;
    width: 210px;
    height: 258px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.24);
    transform: rotate(8deg);
}

.ml-insights-hero__inner::after {
    left: -72px;
    bottom: -88px;
    width: 260px;
    height: 132px;
    border-top: 1px solid rgba(245, 180, 0, 0.38);
    border-left: 1px solid rgba(245, 180, 0, 0.16);
    background:
        linear-gradient(135deg, rgba(245, 180, 0, 0.14), rgba(240, 98, 146, 0.05));
    transform: skewX(-18deg);
}

.ml-insights-hero h1 {
    margin: 0 0 18px;
    color: #ffffff !important;
    font-size: 64px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0;
    text-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.ml-insights-hero p {
    width: min(780px, 100%);
    margin: 0 auto 36px;
    color: rgba(248, 250, 252, 0.9) !important;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.ml-insights-search {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: min(1040px, 100%);
    min-height: 78px;
    margin: 0 auto;
    padding: 8px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--ml-shadow-strong);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.ml-insights-search::before {
    position: absolute;
    left: 30px;
    top: 50%;
    z-index: 2;
    width: 18px;
    height: 18px;
    border: 2px solid #94a3b8;
    border-radius: 50%;
    content: "";
    transform: translateY(-54%);
}

.ml-insights-search::after {
    position: absolute;
    left: 47px;
    top: 49px;
    z-index: 2;
    width: 8px;
    height: 2px;
    background: #94a3b8;
    border-radius: 999px;
    content: "";
    transform: rotate(45deg);
}

.ml-insights-search input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 62px;
    padding: 0 24px 0 58px;
    border: 0;
    border-radius: 18px;
    outline: 0;
    background: #ffffff;
    color: var(--ml-dark);
    font-size: 15px;
    font-weight: 500;
}

.ml-insights-search input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.ml-insights-search button,
.ml-insights-filter-submit,
.ml-insights-read-button,
.ml-insights-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--ml-pink);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

.ml-insights-search button {
    flex: 0 0 auto;
    min-width: 176px;
    height: 62px;
    margin-left: 8px;
    padding: 0 30px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, var(--ml-pink), var(--ml-pink-dark));
    box-shadow: 0 14px 26px rgba(233, 30, 99, 0.28);
    font-size: 15px;
}

.ml-insights-search button:hover,
.ml-insights-search button:focus,
.ml-insights-filter-submit:hover,
.ml-insights-filter-submit:focus,
.ml-insights-read-button:hover,
.ml-insights-read-button:focus,
.ml-insights-cta-button:hover,
.ml-insights-cta-button:focus {
    background: var(--ml-pink-dark);
    color: #ffffff !important;
    text-decoration: none;
}

.ml-insights-filter-panel {
    margin: 0 0 16px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: 22px;
    box-shadow: var(--ml-shadow-soft);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.ml-insights-filter-form {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(170px, 0.8fr) auto auto;
    gap: 12px;
    align-items: end;
}

.ml-insights-filter-form.has-keyword {
    grid-template-columns: minmax(170px, 1fr) minmax(150px, 0.75fr) minmax(180px, 1fr) auto auto;
}

.ml-insights-filter-form label {
    display: grid;
    gap: 7px;
    min-width: 0;
    margin: 0;
}

.ml-insights-filter-form span {
    color: var(--ml-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.ml-insights-filter-form select,
.ml-insights-filter-form input {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 13px;
    border: 1px solid var(--ml-border);
    border-radius: 14px;
    background: #ffffff;
    color: var(--ml-dark);
    font-size: 13.5px;
    font-weight: 600;
    outline: 0;
}

.ml-insights-filter-form select:focus,
.ml-insights-filter-form input:focus {
    border-color: rgba(240, 98, 146, 0.7);
    box-shadow: 0 0 0 3px rgba(240, 98, 146, 0.12);
}

.ml-insights-filter-submit {
    min-width: 124px;
    min-height: 48px;
    padding: 0 18px;
    background:
        linear-gradient(135deg, var(--ml-pink), var(--ml-pink-dark));
    box-shadow: 0 10px 20px rgba(233, 30, 99, 0.18);
}

.ml-insights-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 8px;
    color: var(--ml-pink-dark);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.ml-insights-clear:hover,
.ml-insights-clear:focus {
    color: var(--ml-dark);
    text-decoration: none;
}

.ml-insights-results-label {
    margin: 12px 0 0;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.ml-insights-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px;
}

.ml-insights-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 15px;
    background: #ffffff;
    border: 1px solid var(--ml-border);
    border-radius: 999px;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.ml-insights-chip small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.ml-insights-chip:hover,
.ml-insights-chip:focus,
.ml-insights-chip.is-active {
    background: #111827;
    border-color: #111827;
    color: var(--ml-pink-dark);
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.ml-insights-chip.is-active small {
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
}

.ml-insights-chip:hover small,
.ml-insights-chip:focus small {
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
}

.ml-insights-chip.is-active,
.ml-insights-chip:hover,
.ml-insights-chip:focus {
    color: #ffffff;
}

.ml-insights-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 350px);
    gap: 22px;
    align-items: start;
}

.ml-insights-main {
    display: grid;
    gap: 18px;
}

.ml-insights-featured {
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.05fr);
    gap: 0;
    overflow: hidden;
    min-height: 380px;
    background:
        linear-gradient(135deg, #ffffff 0%, #ffffff 55%, #fff7fb 100%);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 26px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
}

.ml-insights-featured__media,
.ml-insights-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    min-width: 0;
    background: #f1f5f9;
    text-decoration: none;
}

.ml-insights-featured__media {
    min-height: 380px;
}

.ml-insights-featured__image,
.ml-insights-card__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ml-insights-featured:hover .ml-insights-featured__image,
.ml-insights-featured:focus-within .ml-insights-featured__image,
.ml-insights-card:hover .ml-insights-card__image,
.ml-insights-card:focus-within .ml-insights-card__image {
    transform: scale(1.035);
}

.ml-insights-media-fallback {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(17, 24, 39, 0.98), rgba(87, 87, 86, 0.9)),
        #575756;
    color: #ffffff;
}

.ml-insights-media-fallback span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.ml-insights-featured__content {
    position: relative;
    min-width: 0;
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ml-insights-featured__content::before {
    position: absolute;
    left: 0;
    top: 44px;
    bottom: 44px;
    width: 4px;
    background: linear-gradient(180deg, var(--ml-gold), var(--ml-pink));
    border-radius: 999px;
    content: "";
}

.ml-insights-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin: 0 0 13px;
    color: var(--ml-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
}

.ml-insights-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(240, 98, 146, 0.11);
    color: var(--ml-pink-dark);
    font-size: 11.5px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}

.ml-insights-badge:hover,
.ml-insights-badge:focus {
    background: rgba(240, 98, 146, 0.16);
    color: var(--ml-pink-dark);
    text-decoration: none;
}

.ml-insights-featured h2,
.ml-insights-card h3,
.ml-insights-side-card h2,
.ml-insights-empty h2 {
    margin: 0;
    color: var(--ml-dark);
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.ml-insights-featured h2 {
    margin-bottom: 13px;
    font-size: 36px;
    font-weight: 900;
    line-height: 1.12;
}

.ml-insights-featured h2 a,
.ml-insights-card h3 a {
    color: inherit;
    text-decoration: none;
}

.ml-insights-featured h2 a:hover,
.ml-insights-featured h2 a:focus,
.ml-insights-card h3 a:hover,
.ml-insights-card h3 a:focus {
    color: var(--ml-pink-dark);
    text-decoration: none;
}

.ml-insights-featured p {
    margin: 0 0 22px;
    color: var(--ml-muted);
    font-size: 15.5px;
    font-weight: 400;
    line-height: 1.7;
}

.ml-insights-read-button {
    align-self: flex-start;
    min-width: 136px;
    min-height: 48px;
    padding: 0 18px;
    background:
        linear-gradient(135deg, var(--ml-pink), var(--ml-pink-dark));
    box-shadow: 0 12px 24px rgba(233, 30, 99, 0.18);
}

.ml-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ml-insights-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 100%;
    background: #ffffff;
    border: 1px solid var(--ml-border);
    border-color: rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
}

.ml-insights-card__media {
    aspect-ratio: 16 / 10;
}

.ml-insights-card__body {
    min-width: 0;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 18px;
}

.ml-insights-card h3 {
    margin-bottom: 9px;
    color: var(--ml-dark);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.28;
}

.ml-insights-card p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 14px;
    color: var(--ml-muted);
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.ml-insights-read-link {
    align-self: flex-start;
    margin-top: auto;
    color: var(--ml-pink-dark);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none;
}

.ml-insights-read-link:hover,
.ml-insights-read-link:focus {
    color: var(--ml-dark);
    text-decoration: none;
}

.ml-insights-sidebar {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 16px;
}

.ml-insights-side-card {
    padding: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
}

.ml-insights-side-card h2 {
    margin: 0 0 13px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.ml-insights-topic-list,
.ml-insights-latest-list {
    display: grid;
    gap: 8px;
}

.ml-insights-topic-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 42px;
    padding: 9px 11px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 13px;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.ml-insights-topic-list a:hover,
.ml-insights-topic-list a:focus {
    background: #ffffff;
    border-color: #e2e8f0;
    color: var(--ml-pink-dark);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.ml-insights-topic-list small {
    flex: 0 0 auto;
    color: var(--ml-muted);
    font-size: 11px;
    font-weight: 900;
}

.ml-insights-latest-list a {
    display: grid;
    gap: 5px;
    padding: 0 0 11px;
    border-bottom: 1px solid #eef2f7;
    color: var(--ml-dark);
    text-decoration: none;
}

.ml-insights-latest-list a:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.ml-insights-latest-list span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.ml-insights-latest-list time {
    color: var(--ml-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.ml-insights-latest-list a:hover span,
.ml-insights-latest-list a:focus span {
    color: var(--ml-pink-dark);
}

.ml-insights-cta {
    width: 100%;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    padding: 32px 36px 38px;
    background:
        linear-gradient(145deg, #111827, #2b2d2f);
    border-color: rgba(245, 180, 0, 0.24);
    border-radius: 28px;
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.16);
}

.ml-insights-scope .ml-insights-sidebar .ml-insights-cta h2,
.ml-insights-scope .ml-insights-cta h2 {
    margin: 0 0 22px;
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.ml-insights-side-empty {
    margin: 0;
    color: var(--ml-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
}

.ml-insights-scope .ml-insights-sidebar .ml-insights-cta p,
.ml-insights-scope .ml-insights-cta p {
    margin: 0;
    max-width: 590px;
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.62;
    opacity: 1 !important;
}

.ml-insights-scope .ml-insights-cta p {
    margin-bottom: 0;
}

.ml-insights-scope .ml-insights-cta-button {
    color: #ffffff !important;
    opacity: 1 !important;
}

.ml-insights-cta-button {
    width: 100%;
    min-height: 76px;
    margin-top: 24px;
    padding: 0 18px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, var(--ml-pink), var(--ml-pink-dark));
    box-shadow: 0 14px 26px rgba(233, 30, 99, 0.24);
}

.ml-insights-pagination {
    margin-top: 4px;
}

.ml-insights-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.ml-insights-pagination li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.ml-insights-pagination li::before,
.ml-insights-pagination li::after {
    display: none !important;
    content: none !important;
}

.ml-insights-pagination a,
.ml-insights-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--ml-border);
    border-radius: 12px;
    background: #ffffff;
    color: #475569;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}

.ml-insights-pagination a:hover,
.ml-insights-pagination a:focus,
.ml-insights-pagination .current {
    border-color: rgba(240, 98, 146, 0.34);
    background: rgba(240, 98, 146, 0.1);
    color: var(--ml-pink-dark);
    text-decoration: none;
}

.ml-insights-empty {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 52px 22px;
    background: var(--ml-soft);
    border: 1px solid var(--ml-border);
    border-radius: 18px;
    text-align: center;
}

.ml-insights-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: #ffffff;
    color: var(--ml-pink-dark);
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.ml-insights-empty h2 {
    font-size: 22px;
    font-weight: 850;
    line-height: 1.2;
}

.ml-insights-empty p {
    margin: 0 0 4px;
    color: var(--ml-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
}

@media (max-width: 1280px) {
    .ml-insights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .ml-insights-hero {
        min-height: 470px;
    }

    .ml-insights-hero h1 {
        font-size: 52px;
    }

    .ml-insights-hero p {
        font-size: 17px;
    }

    .ml-insights-layout {
        grid-template-columns: 1fr;
    }

    .ml-insights-sidebar {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ml-insights-filter-form,
    .ml-insights-filter-form.has-keyword {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ml-insights-filter-submit,
    .ml-insights-clear {
        width: 100%;
    }
}

@media (max-width: 780px) {
    section.ml-insights-page {
        padding-bottom: 28px;
    }

    .ml-insights-shell {
        width: min(100% - 24px, 1180px);
    }

    .ml-insights-hero {
        min-height: 340px;
        margin-bottom: 24px;
        padding: 52px 16px;
    }

    .ml-insights-hero h1 {
        font-size: 30px;
    }

    .ml-insights-hero p {
        margin-bottom: 26px;
        font-size: 14px;
    }

    .ml-insights-hero__inner::before,
    .ml-insights-hero__inner::after {
        display: none;
    }

    .ml-insights-search {
        display: grid;
        grid-template-columns: 1fr;
        width: min(100%, 520px);
        border-radius: 14px;
    }

    .ml-insights-search::before,
    .ml-insights-search::after {
        display: none;
    }

    .ml-insights-search input {
        height: 54px;
        padding: 0 18px;
        font-size: 13px;
    }

    .ml-insights-search button {
        width: 100%;
        height: 50px;
        margin-top: 8px;
        margin-left: 0;
    }

    .ml-insights-filter-form,
    .ml-insights-filter-form.has-keyword {
        grid-template-columns: 1fr;
    }

    .ml-insights-featured {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .ml-insights-featured__media {
        min-height: 220px;
        aspect-ratio: 16 / 10;
    }

    .ml-insights-featured__content {
        padding: 22px;
    }

    .ml-insights-featured h2 {
        font-size: 24px;
    }

    .ml-insights-grid,
    .ml-insights-sidebar {
        grid-template-columns: 1fr;
    }

    .ml-insights-chips {
        flex-wrap: nowrap;
        width: calc(100% + 24px);
        margin-right: -24px;
        padding-right: 24px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: thin;
    }

    .ml-insights-chip {
        flex: 0 0 auto;
    }
}

@media (max-width: 420px) {
    .ml-insights-filter-panel,
    .ml-insights-side-card,
    .ml-insights-card__body {
        padding: 14px;
    }

    .ml-insights-featured__content {
        padding: 18px;
    }

    .ml-insights-card h3 {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ml-insights-featured__image,
    .ml-insights-card__image {
        transition: none;
    }

    .ml-insights-featured:hover .ml-insights-featured__image,
    .ml-insights-featured:focus-within .ml-insights-featured__image,
    .ml-insights-card:hover .ml-insights-card__image,
    .ml-insights-card:focus-within .ml-insights-card__image {
        transform: none;
    }
}
