/* ===== Blog List Page (Figma redesign) ===== */

.list-page {
    background: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #55606C;
}

.list-wrap {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
}

.list-page a {
    text-decoration: none;
}

/* ---------- Hero ---------- */

.list-hero {
    padding: 28px 0 70px;
    background:
        linear-gradient(0deg, hsla(0, 0%, 100%, .5), hsla(0, 0%, 100%, 0) 40%),
        linear-gradient(1turn, hsla(0, 0%, 100%, 0) 58%, hsla(0, 0%, 100%, .25)),
        radial-gradient(30% 90% at 0 50%, rgba(30, 117, 187, .22) 0, rgba(30, 117, 187, 0) 100%),
        radial-gradient(30% 90% at 100% 50%, rgba(30, 117, 187, .22) 0, rgba(30, 117, 187, 0) 100%),
        radial-gradient(25% 100% at 85% 0, rgba(46, 127, 196, .38) 0, rgba(46, 127, 196, 0) 100%),
        radial-gradient(25% 100% at 0 25%, rgba(242, 111, 33, .16) 0, rgba(242, 111, 33, 0) 125%),
        radial-gradient(circle at 50% 50%, #EAF3FB 20%, #DCEAF7 100%);
}

.list-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    color: #55606C;
}

.list-breadcrumb a {
    color: #55606C;
}

.list-breadcrumb a:hover {
    color: #2E7FC4;
}

.list-breadcrumb-sep {
    color: #6C7076;
}

.list-breadcrumb-current {
    color: #2E7FC4;
    font-weight: 600;
}

.list-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 750px;
    margin: 34px auto 0;
    text-align: center;
}

.list-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid #D5E5F3;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #3A3A3C;
}

.list-hero-title {
    margin: 0;
    font-family: 'Noto Serif', serif;
    font-weight: 600;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 120%;
    letter-spacing: -0.02em;
    color: #3A3A3C;
}

.list-hero-accent {
    position: relative;
    display: inline-block;
    color: #2E7FC4;
}

.list-hero-underline {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    width: 100%;
    height: 20px;
}

.list-hero-sub {
    margin: 0;
    max-width: 600px;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    color: #55606C;
}

.list-hero-media {
    margin-top: 34px;
}

.list-hero-media img {
    display: none;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

/* ---------- Directory layout ---------- */

.list-directory {
    padding: 61px 0 100px;
}

.list-columns {
        padding: 0px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    scroll-margin-top: 180px;
}

.list-aside {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 24px;
   
    top: 180px;
}

.list-results {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ---------- Sidebar widgets ---------- */

.list-widget {
    padding: 24px;
    background: #ffffff;
    border: 1px solid #D5E5F3;
    border-radius: 16px;
    box-shadow: 0 8px 24px -6px rgba(22, 57, 92, 0.06);
}

.list-widget-title {
    margin: 0 0 24px;
    font-family: 'Noto Serif', serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 150%;
    color: #3A3A3C;
}

/* Search */

.list-search-form {
    display: block;
}

.list-search-box {
  display: flex;
    align-items: stretch;
    border: 1px solid #D5E5F3;
    border-radius: 10px;
    overflow: hidden;
    background: #eaf3fb;
}

.list-search-box input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 18px;
    border: 0;
    outline: 0;
    background: #EAF3FB;
    color: #3A3A3C;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
        border-radius: 10px 0 0 10px;
}

.list-search-box input::placeholder {
    color: rgba(58, 58, 60, 0.5);
}

.list-search-box button {
      flex: 0 0 54px;
    border: 0;
    background: #eaf3fb;
    color: #1e75bb;
    font-size: 16px;
    cursor: pointer;
}

/* Categories */

.list-category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.list-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 16px;
       background: #ffffff;
    border: 1px solid #D5E5F3;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    color: #55606C;
    transition: background 0.2s ease, color 0.2s ease;
}

.list-category-item em {
    padding: 6px 12px;
    background: #ffffff;
    border: 1px solid #D5E5F3;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    font-style: normal;
    line-height: 150%;
    color: #55606C;
}

.list-category-item:hover {
    background: #dcecfa;
}

.list-category-item--active,
.list-category-item--active:hover {
       background: #EAF3FB;
    color: #2b2f32;
}

.list-category-item--active em {
       background: rgb(46 127 196);
    border-color: #a1e9ff;
    color: #ffffff;
    border: 0px;
}

/* Popular blogs */

.list-popular-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.list-popular-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #D5E5F3;
    border-radius: 14px;
    box-shadow: 0 25px 50px -30px rgba(46, 127, 196, 0.15);
}

.list-popular-card img {
    width: 60px;
    height: 60px;
    flex: 0 0 80px;
    border-radius: 6px;
    object-fit: cover;
    background: #f1f6fb;
}

.list-popular-card div {
    margin: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
    color: #16395c;
}

.list-popular-card:hover h4 {
    color: #2E7FC4;
}

/* ---------- Results column ---------- */

.list-results-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.list-results-title {
    margin: 0;
    font-family: 'Noto Serif', serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 38px;
    color: #16395C;
}

.list-results-badge {
    padding: 6px 14px;
    background: #EAF3FB;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 15px;
    color: #16395C;
    white-space: nowrap;
}

.list-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #D5E5F3;
    border-radius: 12px;
}

.list-toolbar-count {
    flex: 1;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: #55606C;
}

.list-toolbar-filters {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
}

.list-filter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.list-filter label {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
    color: #6C7076;
    white-space: nowrap;
}

.list-filter select {
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #D5E5F3;
    border-radius: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 15px;
    color: #17181A;
    cursor: pointer;
}

/* ---------- Post cards ---------- */

.list-post-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.list-post-list.is-loading {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.list-card {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #D5E5F3;
    border-radius: 16px;
    box-shadow: 0 8px 20px -6px rgba(22, 57, 92, 0.06);
}

.list-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.list-card-title-link {
    display: block;
    padding-bottom: 0px;
   
    color: inherit;
}

.list-card-title {
margin: 0 0 10px;
    font-family: 'Noto Serif', Georgia, serif;
    font-size: 21px;
    line-height: 30px;
    color: #2b2f32;
    transition: color 0.2s ease;
    font-weight: 600;
}

.list-card-title-link:hover .list-card-title {
    color: #2E7FC4;
}

.list-card-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 4px;
}

.list-card-avatars {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.list-card-avatar {
      width: 34px;
    height: 34px;
    flex: 0 0 34px;
    background: #2d91eb2b;
    border-radius: 28px;
    object-fit: cover;
    padding: 5px;
}

.list-card-avatars .list-card-avatar + .list-card-avatar {
    margin-left: -18px;
    box-shadow: 0 0 0 2px #ffffff;
}

.list-card-author-meta {
    display: flex;
    flex-direction: column;
    gap: 0px;
    min-width: 0;
}

.list-card-author-names {
    font-size: 14px;
    font-weight: 400;
    color: #323638;
}

.list-card-author-names a {
    font-family: 'Noto Serif', serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.005em;
    color: #2e7fc4;
}

.list-card-author-names a:hover {
    color: #2E7FC4;
}

.list-card-amp {
    font-family: 'Noto Serif', serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 150%;
    color: #55606C;
}

.list-card-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.list-card-date span {
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    color: #55606C;
}

.list-card-date time {
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    color: #55606C;
}

.list-card-excerpt {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
}

.list-card-excerpt h4 {
    margin: 0;
    font-family: 'Noto Serif', serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 150%;
    color: #3A3A3C;
}

.list-card-excerpt p {
   margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    color: #55606C;
}

.list-card-more {
    font-weight: 600;
    color: #2E7FC4;
}

.list-card-more:hover {
    text-decoration: underline;
}

.list-highlight {
    background: #FFF3C4;
    color: #16395C;
    font-weight: 700;
    padding: 0 2px;
    border-radius: 3px;
}

.list-card-media {
    flex: 0 0 272px;
    width: 272px;
    align-self: stretch;
    border-radius: 14px;
    overflow: hidden;
    display: block;
}

.list-card-media img {
    width: 100%;
    height: 100%;
   
    object-fit: cover;
    display: block;
}

/* ---------- Empty state ---------- */

.list-empty-state {
    padding: 22px;
    border: 1px dashed #bdd5eb;
    border-radius: 16px;
    background: #f7fbff;
    text-align: center;
}

.list-empty-state p {
    margin: 0;
    color: #55606C;
    font-size: 15px;
    font-weight: 600;
}

/* ---------- Pagination ---------- */

.list-pagination .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.list-pagination .pagination li a,
.list-pagination .pagination li span,
.list-pagination .page-item .page-link {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 36px;
    height: 36px;
    padding: 0 6px;
    background: #ffffff;
    border: 1px solid #D5E5F3;
    border-radius: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 150%;
    color: #55606C;
    text-decoration: none;
    box-shadow: none;
}

.list-pagination .pagination li a:hover,
.list-pagination .page-item .page-link:hover {
    border-color: #2E7FC4;
    color: #2E7FC4;
    background: #ffffff;
}

.list-pagination .pagination li.active span,
.list-pagination .page-item.active .page-link {
    background: #2E7FC4;
    border-color: #2E7FC4;
    color: #ffffff;
}

.list-pagination .pagination li.disabled span,
.list-pagination .page-item.disabled .page-link {
    color: #b8c4cf;
    background: #ffffff;
}

/* ---------- Helpful resources ---------- */

.list-resources {
    padding: 75px 0;
}

.list-resources-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 750px;
    margin: 0 auto 44px;
    text-align: center;
}

.list-resources-head h2 {
    margin: 0;
    font-family: 'Noto Serif', serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 38px;
    color: #16395C;
}

.list-resources-head p {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    color: #55606C;
}

.list-resource-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.list-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px 12px 20px;
    background: #ffffff;
    border: 1px solid #D5E5F3;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: #55606C;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.list-pill i {
    font-size: 12px;
    color: #2E7FC4;
}

.list-pill:hover {
    border-color: #2E7FC4;
    color: #2E7FC4;
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
    .list-columns {
        flex-direction: column;
    }

    .list-aside {
        position: static;
        flex: none;
        width: 100%;
    }

    .list-card {
        flex-direction: column-reverse;
    }

    .list-card-media {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .list-hero {
        padding: 20px 0 44px;
    }

    .list-hero-title {
        font-size: clamp(28px, 8vw, 40px);
    }

    .list-hero-sub {
        font-size: 16px;
    }

    .list-card {
        padding: 16px;
        gap: 20px;
    }

    .list-card-title {
        font-size: 22px;
        line-height: 32px;
    }

    .list-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .list-toolbar-filters {
        justify-content: space-between;
    }

    .list-resources {
        padding: 50px 0;
    }
}
