/* =========================================================
   SOEL INSIGHTS — LANDING + ARCHIVE EXTENSIONS
   /assets/css/insights-library.css
   ========================================================= */

/* Landing page: View More */
.insights-view-all-wrap {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}

.insights-view-all-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid rgba(70,32,109,.16);
    border-radius: 999px;
    background: #fff;
    color: #45205e !important;
    text-decoration: none !important;
    font-size: .87rem;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(42,20,72,.055);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.insights-view-all-button span {
    color: #d6a642;
    font-size: 1.05rem;
    transition: transform .2s ease;
}

.insights-view-all-button:hover {
    transform: translateY(-2px);
    border-color: rgba(214,166,66,.5);
    box-shadow: 0 16px 34px rgba(42,20,72,.085);
}

.insights-view-all-button:hover span {
    transform: translateX(4px);
}

/* Archive hero */
.insights-archive-hero {
    padding: 68px 0;
    background:
        radial-gradient(circle at 87% 15%, rgba(171,128,222,.18), transparent 34%),
        linear-gradient(112deg, #fbf8ff 0%, #efe8fa 52%, #e9e0f7 100%);
}

.insights-archive-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    color: #7d7185;
    font-size: .8rem;
}

.insights-archive-breadcrumbs a {
    color: #5d2b7c !important;
    text-decoration: none !important;
}

.insights-archive-title-row {
    display: grid;
    grid-template-columns: 1fr .65fr;
    gap: 50px;
    align-items: end;
}

.insights-archive-title-row h1 {
    margin: 0;
    font-size: clamp(3.6rem, 7vw, 6.4rem);
    line-height: .94;
    letter-spacing: -.06em;
}

.insights-archive-title-row p {
    max-width: 520px;
    margin: 0;
    color: #6e6276;
    font-size: 1.03rem;
    line-height: 1.7;
}

/* Archive list */
.insights-archive-section {
    padding: 76px 0 88px;
    background: #fbf9fd;
}

.insights-archive-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 25px;
    padding-bottom: 19px;
    border-bottom: 1px solid rgba(70,32,109,.1);
}

.insights-archive-count {
    color: #7c7183;
    font-size: .8rem;
    font-weight: 650;
}

.insights-rss-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #5d2b7c !important;
    text-decoration: none !important;
    font-size: .8rem;
    font-weight: 750;
}

.insights-rss-link span {
    color: #d6a642;
}

.insights-archive-list {
    display: grid;
    gap: 17px;
}

.insights-archive-row {
    position: relative;
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr) 50px;
    gap: 34px;
    align-items: center;
    min-height: 230px;
    overflow: hidden;
    padding: 18px 24px 18px 18px;
    border: 1px solid rgba(70,32,109,.1);
    border-radius: 19px;
    background: #fff;
    color: inherit !important;
    text-decoration: none !important;
    box-shadow: 0 13px 35px rgba(42,20,72,.055);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.insights-archive-row:hover {
    transform: translateY(-3px);
    border-color: rgba(214,166,66,.42);
    box-shadow: 0 20px 46px rgba(42,20,72,.09);
}

.insights-archive-image {
    overflow: hidden;
    height: 194px;
    border-radius: 13px;
    background: #2d1643;
}

.insights-archive-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .33s ease;
}

.insights-archive-row:hover .insights-archive-image img {
    transform: scale(1.025);
}

.insights-archive-copy {
    padding: 8px 0;
}

.insights-archive-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 14px;
    align-items: center;
    margin-bottom: 12px;
    color: #8a7f90;
    font-size: .72rem;
}

.insights-archive-meta span:first-child {
    color: #d6a642;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .13em;
}

.insights-archive-meta time::before,
.insights-archive-meta span:last-child:not(:first-child)::before {
    content: "•";
    margin-right: 14px;
    color: #d6a642;
}

.insights-archive-copy h2 {
    max-width: 760px;
    margin: 0 0 11px;
    color: #281732;
    font-size: clamp(1.65rem, 2.3vw, 2.4rem);
    line-height: 1.08;
    letter-spacing: -.028em;
}

.insights-archive-copy > p {
    max-width: 760px;
    margin: 0 0 15px;
    color: #716678;
    font-size: .92rem;
    line-height: 1.65;
}

.insights-archive-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4f286a;
    font-size: .8rem;
    font-weight: 800;
}

.insights-archive-read span {
    color: #d6a642;
    transition: transform .2s ease;
}

.insights-archive-row:hover .insights-archive-read span {
    transform: translateX(4px);
}

.insights-archive-arrow {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #d6a642;
    color: #fff;
    font-size: 1.08rem;
    transition: transform .2s ease;
}

.insights-archive-row:hover .insights-archive-arrow {
    transform: translateX(4px);
}

/* Archive return */
.insights-archive-return {
    padding: 0 0 88px;
    background: #fbf9fd;
}

.insights-archive-return-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 35px;
    align-items: center;
    padding: 40px 44px;
    border: 1px solid rgba(70,32,109,.1);
    border-radius: 21px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(42,20,72,.055);
}

.insights-archive-return-box h2 {
    margin: 0 0 8px;
    font-size: clamp(2.1rem, 3vw, 3rem);
    line-height: 1.04;
}

.insights-archive-return-box p {
    max-width: 650px;
    margin: 0;
    color: #756a7c;
    line-height: 1.65;
}

@media (max-width: 991px) {
    .insights-archive-title-row {
        grid-template-columns: 1fr;
        gap: 19px;
    }

    .insights-archive-row {
        grid-template-columns: 250px minmax(0, 1fr);
    }

    .insights-archive-arrow {
        display: none;
    }

    .insights-archive-image {
        height: 180px;
    }

    .insights-archive-return-box {
        grid-template-columns: 1fr;
    }

    .insights-archive-return-box > a {
        justify-self: start;
    }
}

@media (max-width: 767px) {
    .insights-view-all-wrap {
        margin-top: 30px;
    }

    .insights-archive-hero {
        padding: 53px 0 55px;
    }

    .insights-archive-title-row h1 {
        font-size: clamp(3rem, 14vw, 4.5rem);
    }

    .insights-archive-section {
        padding: 55px 0 65px;
    }

    .insights-archive-row {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }

    .insights-archive-image {
        height: auto;
        aspect-ratio: 2 / 1;
        border-radius: 18px 18px 0 0;
    }

    .insights-archive-copy {
        padding: 25px 23px 27px;
    }

    .insights-archive-copy h2 {
        font-size: 1.75rem;
    }

    .insights-archive-toolbar {
        align-items: flex-start;
    }

    .insights-archive-return {
        padding-bottom: 60px;
    }

    .insights-archive-return-box {
        padding: 31px 24px;
    }
}
