/* =========================================================
   RILITY INSIGHTS
   Complete Desktop + Mobile CSS
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {

    --primary: #6D5DFB;
    --primary-soft: rgba(109, 93, 251, .08);
    --primary-glow: rgba(109, 93, 251, .15);

    --text: #111111;
    --muted: #6b7280;
    --light-text: #777777;

    --border: #ECECEC;
    --surface: #FAFAFA;

    --shadow: 0 30px 80px rgba(15, 23, 42, .08);
    --card-shadow: 0 15px 40px rgba(0, 0, 0, .05);

    --radius: 32px;
    --radius-large: 36px;
    --radius-small: 24px;

    --page-width: min(1440px, 90%);
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;

    font-family: "Inter", sans-serif;

    color: var(--text);
    background: #fff;

    overflow-x: clip;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
}

button,
a {
    font-family: inherit;
}

a {
    color: inherit;
}


/* =========================================================
   MAIN PAGE
   ========================================================= */

.insights-page {
    position: relative;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    background: #fff;

    overflow: hidden;
}


/* =========================================================
   HERO
   ========================================================= */

.rility-insights-hero {

    position: relative;

    width: 100%;
    min-height: 720px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 138px 0 130px;

    overflow: hidden;

    background: #fff;
}


/* =========================================================
   HERO GLOW
   ========================================================= */

.rility-insights-hero::before {

    content: "";

    position: absolute;

    width: 1100px;
    height: 900px;

    left: 50%;
    top: -430px;

    transform: translateX(-50%);

    background: radial-gradient(
        ellipse at center,
        rgba(109, 93, 251, .16),
        rgba(109, 93, 251, .07) 35%,
        transparent 72%
    );

    filter: blur(40px);

    pointer-events: none;

    z-index: 0;
}


.rility-insights-hero__glow {

    position: absolute;

    width: 700px;
    height: 500px;

    left: 50%;
    top: 180px;

    transform: translateX(-50%);

    background: radial-gradient(
        ellipse at center,
        rgba(109, 93, 251, .08),
        transparent 70%
    );

    filter: blur(50px);

    pointer-events: none;

    z-index: 0;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.rility-insights-hero__content {

    position: relative;

    z-index: 3;

    width: var(--page-width);
    max-width: 850px;

    margin: 0 auto;

    text-align: center;
}


/* =========================================================
   HERO BADGE
   ========================================================= */

.rility-insights-hero__badge {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 10px 18px;

    margin-bottom: 28px;

    border-radius: 999px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;

    letter-spacing: .01em;
}


.rility-insights-hero__badge .material-symbols-outlined {

    font-size: 17px;

    line-height: 1;
}


/* =========================================================
   HERO TITLE
   ========================================================= */

.rility-insights-hero__title {

    margin: 0;

    max-width: 850px;

    font-size: 68px;
    line-height: 1.08;

    letter-spacing: -3px;

    font-weight: 600;

    color: #111;
}


.rility-insights-hero__title span {

    display: inline;

    color: var(--primary);
}


/* =========================================================
   HERO DESCRIPTION
   ========================================================= */

.rility-insights-hero__text {

    max-width: 700px;

    margin: 34px auto 0;

    font-size: 20px;
    line-height: 1.8;

    font-weight: 400;

    color: var(--muted);
}


/* =========================================================
   FLOATING HERO PROPERTY CARDS
   ========================================================= */

.rility-insights-hero-card {

    position: absolute;

    z-index: 2;

    width: 240px;

    background: #fff;

    border: 1px solid rgba(236, 236, 236, .9);

    border-radius: 28px;

    overflow: hidden;

    box-shadow: var(--shadow);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}


.rility-insights-hero-card:hover {

    box-shadow:
        0 35px 90px rgba(15, 23, 42, .13);

}


.rility-insights-hero-card img {

    display: block;

    width: 100%;
    height: 155px;

    object-fit: cover;
}


.rility-insights-hero-card__content {

    display: flex;

    flex-direction: column;

    gap: 5px;

    padding: 18px 20px 20px;
}


.rility-insights-hero-card__content strong {

    font-size: 14px;
    line-height: 1.4;

    font-weight: 600;

    color: #111;
}


.rility-insights-hero-card__content span {

    font-size: 12px;
    line-height: 1.5;

    font-weight: 400;

    color: var(--muted);
}


/* =========================================================
   LEFT FLOATING CARD
   ========================================================= */

.rility-insights-hero-card--left {

    left: max(3%, calc((100vw - 1440px) / 2));

    top: 185px;

    transform: rotate(-4deg);
}


.rility-insights-hero-card--left:hover {

    transform:
        rotate(-2deg)
        translateY(-8px);
}


/* =========================================================
   RIGHT FLOATING CARD
   ========================================================= */

.rility-insights-hero-card--right {

    right: max(3%, calc((100vw - 1440px) / 2));

    bottom: 145px;

    transform: rotate(4deg);
}


.rility-insights-hero-card--right:hover {

    transform:
        rotate(2deg)
        translateY(-8px);
}


/* =========================================================
   FEATURED ARTICLE
   ========================================================= */

.rility-feature {

    width: 100%;

    padding: 30px 0 120px;

    background: #fff;
}


.rility-feature__container {

    width: var(--page-width);

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   FEATURED CARD
   ========================================================= */

.rility-feature__card {

    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(0, .92fr);

    min-height: 570px;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: var(--radius-large);

    overflow: hidden;

    box-shadow: var(--shadow);
}


/* =========================================================
   FEATURE IMAGE
   ========================================================= */

.rility-feature__image {

    min-width: 0;

    height: 100%;

    overflow: hidden;

    background: #f4f4f4;
}


.rility-feature__image img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .6s ease;
}


.rility-feature__card:hover
.rility-feature__image img {

    transform: scale(1.035);
}


/* =========================================================
   FEATURE CONTENT
   ========================================================= */

.rility-feature__content {

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: flex-start;

    padding: 70px;

    min-width: 0;
}


/* =========================================================
   FEATURE TAG
   ========================================================= */

.rility-feature__tag {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 9px 16px;

    margin-bottom: 26px;

    border-radius: 999px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 11px;

    line-height: 1.4;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;
}


/* =========================================================
   FEATURE TITLE
   ========================================================= */

.rility-feature__title {

    max-width: 570px;

    margin: 0;

    font-size: 44px;

    line-height: 1.15;

    letter-spacing: -1.5px;

    font-weight: 600;

    color: #111;
}


/* =========================================================
   FEATURE TEXT
   ========================================================= */

.rility-feature__text {

    max-width: 520px;

    margin: 26px 0 0;

    font-size: 18px;

    line-height: 1.75;

    font-weight: 400;

    color: var(--muted);
}


/* =========================================================
   FEATURE LINK
   ========================================================= */

.rility-feature__link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 34px;

    color: #111;

    text-decoration: none;

    font-size: 14px;

    line-height: 1.4;

    font-weight: 600;

    transition: color .25s ease;
}


.rility-feature__link span {

    font-size: 18px;

    transition: transform .25s ease;
}


.rility-feature__link:hover {

    color: var(--primary);
}


.rility-feature__link:hover span {

    transform: translateX(5px);
}


/* =========================================================
   INSIGHTS SECTION
   ========================================================= */

.rility-insights {

    width: 100%;

    padding: 20px 0 120px;

    background: #fff;
}


.rility-insights__container {

    width: var(--page-width);

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   INSIGHTS HEADER
   ========================================================= */

.rility-insights__header {

    display: flex;

    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 42px;
}


.rility-insights__heading {

    max-width: 760px;
}


.rility-insights__title {

    margin: 0;

    font-size: 44px;

    line-height: 1.15;

    letter-spacing: -1.5px;

    font-weight: 600;

    color: #111;
}


.rility-insights__intro {

    max-width: 620px;

    margin: 16px 0 0;

    font-size: 18px;

    line-height: 1.7;

    color: var(--muted);
}


/* =========================================================
   INSIGHTS GRID
   ========================================================= */

.rility-insights__grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;
}


/* =========================================================
   INSIGHT CARD
   ========================================================= */

.rility-insights-card {

    min-width: 0;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 30px;

    overflow: hidden;

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}


.rility-insights-card:hover {

    transform: translateY(-7px);

    box-shadow: var(--shadow);
}


/* =========================================================
   INSIGHT IMAGE
   ========================================================= */

.rility-insights-card__image {

    width: 100%;

    height: 250px;

    overflow: hidden;

    background: #f4f4f4;
}


.rility-insights-card__image img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}


.rility-insights-card:hover
.rility-insights-card__image img {

    transform: scale(1.05);
}


/* =========================================================
   INSIGHT BODY
   ========================================================= */

.rility-insights-card__body {

    padding: 30px;
}


/* =========================================================
   CATEGORY
   ========================================================= */

.rility-insights-card__category {

    display: block;

    margin-bottom: 15px;

    font-size: 11px;

    line-height: 1.4;

    font-weight: 700;

    letter-spacing: .12em;

    text-transform: uppercase;

    color: var(--primary);
}


/* =========================================================
   INSIGHT TITLE
   ========================================================= */

.rility-insights-card__title {

    margin: 0;

    font-size: 24px;

    line-height: 1.25;

    letter-spacing: -1px;

    font-weight: 600;

    color: #111;
}


/* =========================================================
   INSIGHT TEXT
   ========================================================= */

.rility-insights-card__text {

    margin: 16px 0 0;

    font-size: 15px;

    line-height: 1.7;

    color: var(--muted);
}


/* =========================================================
   INSIGHT LINK
   ========================================================= */

.rility-insights-card__link {

    display: inline-block;

    margin-top: 24px;

    color: #111;

    text-decoration: none;

    font-size: 14px;

    line-height: 1.4;

    font-weight: 600;

    transition: color .25s ease;
}


.rility-insights-card__link:hover {

    color: var(--primary);
}


/* =========================================================
   LATEST ARTICLES SLIDER
   ========================================================= */

.insights-slider-section {

    width: var(--page-width);

    margin-left: auto;
    margin-right: auto;

    padding: 0 0 120px;
}


/* =========================================================
   SLIDER HEADER
   ========================================================= */

.insights-slider-header {

    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 28px;
}


.insights-slider-heading h2 {

    margin: 0;

    font-size: 44px;

    line-height: 1.15;

    letter-spacing: -1.5px;

    font-weight: 600;

    color: #111;
}


/* =========================================================
   SLIDER CONTROLS
   ========================================================= */

.insights-slider-controls {

    display: flex;

    align-items: center;

    gap: 12px;
}


.insights-slider-arrow {

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid #ddd;

    border-radius: 50%;

    background: #fff;

    color: #111;

    cursor: pointer;

    font-size: 19px;

    line-height: 1;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease;
}


.insights-slider-arrow:hover:not(:disabled) {

    background: #111;

    border-color: #111;

    color: #fff;
}


.insights-slider-arrow:disabled {

    opacity: .35;

    cursor: default;
}


/* =========================================================
   SLIDER VIEWPORT
   ========================================================= */

.insights-slider {

    width: 100%;

    overflow: hidden;
}


/* =========================================================
   SLIDER TRACK
   ========================================================= */

.insights-slider__track {

    display: flex;

    gap: 28px;

    width: max-content;

    transition: transform .4s ease;

    will-change: transform;
}


/* =========================================================
   SLIDER CARD
   ========================================================= */

.insights-slider-card {

    flex: 0 0 296px;

    min-width: 0;

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 30px;

    overflow: hidden;

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}


.insights-slider-card:hover {

    transform: translateY(-7px);

    box-shadow: var(--shadow);
}


.insights-slider-card > a {

    display: block;

    color: inherit;

    text-decoration: none;
}


/* =========================================================
   SLIDER IMAGE
   ========================================================= */

.insights-slider-card__image {

    width: 100%;

    height: 205px;

    overflow: hidden;

    background: #f4f4f4;
}


.insights-slider-card__image img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}


.insights-slider-card:hover
.insights-slider-card__image img {

    transform: scale(1.05);
}


/* =========================================================
   SLIDER CONTENT
   ========================================================= */

.insights-slider-card__content {

    padding: 26px 26px 28px;
}


.insights-slider-card__content h3 {

    margin: 0;

    font-size: 21px;

    line-height: 1.3;

    letter-spacing: -.7px;

    font-weight: 600;

    color: #111;
}


.insights-slider-card__meta {

    margin-top: 17px;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.4;

    font-weight: 500;
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (max-width: 1200px) {

    .rility-insights-hero {

        min-height: 680px;

        padding-top: 100px;
        padding-bottom: 110px;
    }


    .rility-insights-hero__title {

        font-size: 58px;

        letter-spacing: -2.5px;
    }


    .rility-insights-hero-card {

        width: 205px;
    }


    .rility-insights-hero-card img {

        height: 135px;
    }


    .rility-feature__content {

        padding: 55px;
    }


    .rility-feature__title {

        font-size: 40px;
    }


    .rility-insights__grid {

        gap: 24px;
    }


    .rility-insights-card__body {

        padding: 26px;
    }


    .rility-insights-card__title {

        font-size: 22px;
    }
}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 980px) {

    .rility-insights-hero {

        min-height: 650px;

        padding-top: 100px;
        padding-bottom: 100px;
    }


    /* Hide decorative floating cards before mobile */

    .rility-insights-hero-card {

        opacity: .65;

        transform: scale(.85);
    }


    .rility-insights-hero-card--left {

        left: -30px;
    }


    .rility-insights-hero-card--right {

        right: -30px;
    }


    .rility-feature__card {

        grid-template-columns: 1fr;

    }


    .rility-feature__image {

        height: 430px;
    }


    .rility-feature__content {

        padding: 50px;
    }


    .rility-insights__grid {

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


/* =========================================================
   MOBILE — MAX 768PX
   ========================================================= */

@media (max-width: 768px) {


    /* ==========================================
       PAGE / BODY
       ========================================== */

    html,
    body {

        width: 100%;
        max-width: 100%;

        margin: 0;
        padding: 0;

        overflow-x: hidden;
    }


    .insights-page {

        width: 100%;
        max-width: 100%;
        min-width: 0;

        overflow-x: hidden;
    }


    /* ==========================================
       GLOBAL MOBILE WIDTH
       SAME 20PX SIDE PADDING
       ========================================== */

    .rility-feature__container,
    .rility-insights__container,
    .insights-slider-section {

        width: 100%;
        max-width: 100%;
        min-width: 0;

        margin-left: 0;
        margin-right: 0;

        padding-left: 20px;
        padding-right: 20px;
    }


    /* ==========================================
       HERO
       ========================================== */

    .rility-insights-hero {

        width: 100%;
        max-width: 100%;
        min-width: 0;

        min-height: 0;

        padding: 70px 20px 75px;

        overflow: hidden;
    }


    .rility-insights-hero::before {

        width: 700px;
        height: 600px;

        top: -300px;
    }


    .rility-insights-hero__glow {

        width: 500px;
        height: 400px;

        top: 150px;
    }


    /* ==========================================
       HERO CONTENT
       ========================================== */

    .rility-insights-hero__content {

        width: 100%;
        max-width: 100%;

        min-width: 0;

        text-align: center;
    }


    /* ==========================================
       HERO BADGE
       ========================================== */

    .rility-insights-hero__badge {

        margin-bottom: 22px;

        padding: 9px 15px;

        font-size: 11px;
    }


    .rility-insights-hero__badge
    .material-symbols-outlined {

        font-size: 16px;
    }


    /* ==========================================
       HERO H1
       ========================================== */

    .rility-insights-hero__title {

        width: 100%;
        max-width: 100%;

        font-size: 42px;

        line-height: 1.1;

        letter-spacing: -1.5px;
    }


    /* ==========================================
       HERO P
       ========================================== */

    .rility-insights-hero__text {

        width: 100%;
        max-width: 100%;

        margin-top: 24px;

        font-size: 17px;

        line-height: 1.7;
    }


    /* ==========================================
       FLOATING CARDS
       ========================================== */

    .rility-insights-hero-card {

        display: none;
    }


    /* ==========================================
       FEATURE
       ========================================== */

    .rility-feature {

        padding: 20px 0 80px;
    }


    .rility-feature__container {

        width: 100%;
    }


    .rility-feature__card {

        display: block;

        width: 100%;

        min-height: 0;

        border-radius: 28px;

        box-shadow:
            0 20px 60px rgba(15, 23, 42, .07);
    }


    .rility-feature__image {

        width: 100%;

        height: 300px;
    }


    .rility-feature__content {

        width: 100%;

        padding: 30px 24px 34px;

        align-items: flex-start;
    }


    .rility-feature__tag {

        padding: 8px 14px;

        margin-bottom: 20px;

        font-size: 10px;
    }


    .rility-feature__title {

        width: 100%;
        max-width: 100%;

        font-size: 31px;

        line-height: 1.18;

        letter-spacing: -1px;
    }


    .rility-feature__text {

        width: 100%;
        max-width: 100%;

        margin-top: 18px;

        font-size: 17px;

        line-height: 1.7;
    }


    .rility-feature__link {

        margin-top: 26px;

        font-size: 14px;
    }


    /* ==========================================
       INSIGHTS
       ========================================== */

    .rility-insights {

        padding: 0 0 80px;
    }


    .rility-insights__container {

        width: 100%;
    }


    .rility-insights__header {

        display: block;

        margin-bottom: 28px;
    }


    .rility-insights__title {

        font-size: 31px;

        line-height: 1.2;

        letter-spacing: -1px;
    }


    .rility-insights__intro {

        margin-top: 13px;

        font-size: 17px;

        line-height: 1.7;
    }


    /* ==========================================
       INSIGHT GRID
       ========================================== */

    .rility-insights__grid {

        grid-template-columns: 1fr;

        gap: 22px;
    }


    /* ==========================================
       INSIGHT CARD
       ========================================== */

    .rility-insights-card {

        width: 100%;
        max-width: 100%;

        border-radius: 26px;
    }


    .rility-insights-card__image {

        height: 240px;
    }


    .rility-insights-card__body {

        padding: 26px 24px 28px;
    }


    .rility-insights-card__category {

        margin-bottom: 13px;

        font-size: 10px;
    }


    .rility-insights-card__title {

        font-size: 23px;

        line-height: 1.25;

        letter-spacing: -.8px;
    }


    .rility-insights-card__text {

        margin-top: 14px;

        font-size: 16px;

        line-height: 1.7;
    }


    .rility-insights-card__link {

        margin-top: 21px;

        font-size: 14px;
    }


    /* ==========================================
       LATEST ARTICLES
       ========================================== */

    .insights-slider-section {

        width: 100%;

        padding-top: 0;
        padding-bottom: 80px;
    }


    .insights-slider-header {

        margin-bottom: 24px;
    }


    .insights-slider-heading h2 {

        font-size: 31px;

        line-height: 1.2;

        letter-spacing: -1px;
    }


    /* ==========================================
       SLIDER CONTROLS
       ========================================== */

    .insights-slider-controls {

        gap: 8px;
    }


    .insights-slider-arrow {

        width: 40px;
        height: 40px;

        font-size: 18px;
    }


    /* ==========================================
       SLIDER
       ========================================== */

    .insights-slider {

        width: 100%;
        max-width: 100%;

        overflow: hidden;
    }


    .insights-slider__track {

        gap: 18px;
    }


    /* ==========================================
       SLIDER CARD
       ========================================== */

    .insights-slider-card {

        flex: 0 0 82vw;

        max-width: 82vw;

        border-radius: 26px;
    }


    .insights-slider-card__image {

        height: 220px;
    }


    .insights-slider-card__content {

        padding: 24px;
    }


    .insights-slider-card__content h3 {

        font-size: 21px;

        line-height: 1.3;

        letter-spacing: -.7px;
    }


    .insights-slider-card__meta {

        margin-top: 15px;

        font-size: 11px;
    }


    /* ==========================================
       PREVENT LONG CONTENT OVERFLOW
       ========================================== */

    .rility-insights-hero__title,
    .rility-insights-hero__text,
    .rility-feature__title,
    .rility-feature__text,
    .rility-insights-card__title,
    .rility-insights-card__text,
    .insights-slider-card__content h3 {

        overflow-wrap: anywhere;

        word-break: normal;
    }


    /* ==========================================
       IMAGES
       ========================================== */

    .rility-insights-hero img,
    .rility-feature img,
    .rility-insights-card img,
    .insights-slider-card img {

        max-width: 100%;
    }
}


/* =========================================================
   SMALL MOBILE — MAX 480PX
   ========================================================= */

@media (max-width: 480px) {


    /* ==========================================
       HERO
       ========================================== */

    .rility-insights-hero {

        padding-top: 60px;
        padding-bottom: 65px;
    }


    .rility-insights-hero__badge {

        margin-bottom: 20px;

        padding: 8px 14px;

        font-size: 10px;
    }


    .rility-insights-hero__title {

        font-size: 34px;

        line-height: 1.1;

        letter-spacing: -1px;
    }


    .rility-insights-hero__text {

        font-size: 17px;

        line-height: 1.65;
    }


    /* ==========================================
       FEATURE
       ========================================== */

    .rility-feature {

        padding-bottom: 70px;
    }


    .rility-feature__card {

        border-radius: 25px;
    }


    .rility-feature__image {

        height: 250px;
    }


    .rility-feature__content {

        padding: 26px 22px 30px;
    }


    .rility-feature__title {

        font-size: 28px;

        line-height: 1.2;

        letter-spacing: -.8px;
    }


    .rility-feature__text {

        font-size: 16px;

        line-height: 1.7;
    }


    /* ==========================================
       INSIGHTS
       ========================================== */

    .rility-insights {

        padding-bottom: 70px;
    }


    .rility-insights__title {

        font-size: 28px;

        line-height: 1.2;

        letter-spacing: -.8px;
    }


    .rility-insights__intro {

        font-size: 16px;

        line-height: 1.7;
    }


    .rility-insights__grid {

        gap: 18px;
    }


    .rility-insights-card {

        border-radius: 24px;
    }


    .rility-insights-card__image {

        height: 220px;
    }


    .rility-insights-card__body {

        padding: 24px 21px 27px;
    }


    .rility-insights-card__title {

        font-size: 22px;

        line-height: 1.25;
    }


    .rility-insights-card__text {

        font-size: 16px;
    }


    /* ==========================================
       LATEST
       ========================================== */

    .insights-slider-section {

        padding-bottom: 70px;
    }


    .insights-slider-heading h2 {

        font-size: 28px;

        line-height: 1.2;

        letter-spacing: -.8px;
    }


    .insights-slider-card {

        flex: 0 0 84vw;

        max-width: 84vw;

        border-radius: 24px;
    }


    .insights-slider-card__image {

        height: 205px;
    }


    .insights-slider-card__content {

        padding: 22px;
    }


    .insights-slider-card__content h3 {

        font-size: 21px;

        line-height: 1.3;
    }


    .insights-slider-card__meta {

        font-size: 10px;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.rility-feature__link:focus-visible,
.rility-insights-card__link:focus-visible,
.insights-slider-card > a:focus-visible,
.insights-slider-arrow:focus-visible {

    outline: 3px solid rgba(109, 93, 251, .35);

    outline-offset: 4px;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        scroll-behavior: auto !important;

        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}















/* ==========================================================
RILITY INSIGHTS — EDITORIAL LIST
========================================================== */

.insights-editorial {
    width: 100%;
    margin-top: 120px;
    margin-bottom: 120px;
    background: var(--surface);
    padding: 110px 0;
}


/* ==========================================================
CONTAINER
========================================================== */

.insights-editorial__container {
    width: var(--page-width);
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}


/* ==========================================================
HEADER
========================================================== */

.insights-editorial__header {
    margin-bottom: 55px;
    max-width: 760px;
}


.insights-editorial__eyebrow {
    display: block;

    margin-bottom: 16px;

    color: var(--primary);

    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;

    letter-spacing: .12em;
    text-transform: uppercase;
}


.insights-editorial__title {
    margin: 0 0 20px;

    font-family: "Inter", sans-serif;

    font-size: 52px;
    line-height: 1.1;

    letter-spacing: -2px;

    font-weight: 600;

    color: var(--text);
}


.insights-editorial__intro {
    margin: 0;

    max-width: 650px;

    font-family: "Inter", sans-serif;

    font-size: 18px;
    line-height: 1.7;

    font-weight: 400;

    color: var(--muted);
}


/* ==========================================================
ARTICLE LIST
========================================================== */

.insights-editorial__list {
    width: 100%;
}


/* ==========================================================
ARTICLE ROW
========================================================== */

.insights-editorial-item {
    display: grid;

    grid-template-columns: 380px minmax(0, 1fr);

    gap: 60px;

    align-items: center;

    padding: 42px 0;

    border-top: 1px solid var(--border);
}


.insights-editorial-item:last-child {
    border-bottom: 1px solid var(--border);
}


/* ==========================================================
IMAGE
========================================================== */

.insights-editorial-item__image {
    display: block;

    width: 100%;
    height: 260px;

    overflow: hidden;

    border-radius: 24px;

    background: #eee;
}


.insights-editorial-item__image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .5s ease;
}


.insights-editorial-item:hover
.insights-editorial-item__image img {
    transform: scale(1.04);
}


/* ==========================================================
CONTENT
========================================================== */

.insights-editorial-item__content {
    min-width: 0;
    max-width: 720px;
}


.insights-editorial-item__category {
    margin-bottom: 15px;

    font-size: 11px;
    line-height: 1.4;

    font-weight: 700;

    letter-spacing: .12em;
    text-transform: uppercase;

    color: var(--primary);
}


/* ==========================================================
TITLE
========================================================== */

.insights-editorial-item h3 {
    margin: 0 0 18px;

    font-family: "Inter", sans-serif;

    font-size: 34px;
    line-height: 1.18;

    letter-spacing: -1.2px;

    font-weight: 600;

    color: var(--text);
}


.insights-editorial-item h3 a {
    color: inherit;

    text-decoration: none;

    transition:
        color .25s ease;
}


.insights-editorial-item:hover h3 a {
    color: var(--primary);
}


/* ==========================================================
DESCRIPTION
========================================================== */

.insights-editorial-item__content > p {
    max-width: 650px;

    margin: 0 0 22px;

    font-family: "Inter", sans-serif;

    font-size: 17px;
    line-height: 1.7;

    font-weight: 400;

    color: var(--muted);
}


/* ==========================================================
META
========================================================== */

.insights-editorial-item__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 18px;

    font-family: "Inter", sans-serif;

    font-size: 12px;
    line-height: 1.4;

    font-weight: 500;

    color: #888;
}


.insights-editorial-item__meta span + span {
    position: relative;

    padding-left: 18px;
}


.insights-editorial-item__meta span + span::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: #aaa;

    transform: translateY(-50%);
}


/* ==========================================================
MOBILE — MAX 768px
========================================================== */

@media (max-width: 768px) {

    .insights-editorial {
        margin-top: 80px;
        margin-bottom: 80px;

        padding: 70px 0;
    }


    .insights-editorial__container {
        width: 100%;
        max-width: 100%;

        padding-left: 20px;
        padding-right: 20px;
    }


    /* HEADER */

    .insights-editorial__header {
        margin-bottom: 40px;
    }


    .insights-editorial__eyebrow {
        margin-bottom: 12px;

        font-size: 11px;
    }


    .insights-editorial__title {
        margin-bottom: 16px;

        font-size: 34px;
        line-height: 1.15;

        letter-spacing: -1px;
    }


    .insights-editorial__intro {
        font-size: 17px;
        line-height: 1.7;
    }


    /* ARTICLE */

    .insights-editorial-item {
        display: block;

        padding: 30px 0;
    }


    /* IMAGE */

    .insights-editorial-item__image {
        width: 100%;
        height: 230px;

        margin-bottom: 25px;

        border-radius: 22px;
    }


    /* CONTENT */

    .insights-editorial-item__content {
        width: 100%;
        max-width: 100%;
    }


    .insights-editorial-item__category {
        margin-bottom: 11px;

        font-size: 10px;
    }


    .insights-editorial-item h3 {
        margin-bottom: 14px;

        font-size: 26px;
        line-height: 1.2;

        letter-spacing: -.7px;
    }


    .insights-editorial-item__content > p {
        margin-bottom: 18px;

        font-size: 16px;
        line-height: 1.7;
    }


    .insights-editorial-item__meta {
        gap: 14px;

        font-size: 11px;
    }


    .insights-editorial-item__meta span + span {
        padding-left: 14px;
    }

}


/* ==========================================================
MOBILE — MAX 480px
========================================================== */

@media (max-width: 480px) {

    .insights-editorial {
        margin-top: 65px;
        margin-bottom: 65px;

        padding: 60px 0;
    }


    .insights-editorial__container {
        padding-left: 20px;
        padding-right: 20px;
    }


    .insights-editorial__title {
        font-size: 30px;
    }


    .insights-editorial__intro {
        font-size: 16px;
    }


    .insights-editorial-item {
        padding: 26px 0;
    }


    .insights-editorial-item__image {
        height: 210px;

        margin-bottom: 22px;

        border-radius: 20px;
    }


    .insights-editorial-item h3 {
        font-size: 23px;
        line-height: 1.22;
    }


    .insights-editorial-item__content > p {
        font-size: 16px;
    }

}


/* ==========================================================
   INSIGHTS HERO — SIDE FLOATING IMAGES
========================================================== */

.rility-insights-hero{
    position:relative;
    overflow:hidden;
}

.rility-insights-hero__content{
    position:relative;
    z-index:10;
}

.rility-insights-hero__floaters{
    position:absolute;
    top:0;
    bottom:0;
    width:360px;
    z-index:2;
    pointer-events:none;
}

.rility-insights-hero__floaters--left{
    left:0;
}

.rility-insights-hero__floaters--right{
    right:0;
}

        min-height:34px;
        padding:7px 12px;
        font-size:11px;
    }

}


/* ==========================================================
   INSIGHTS HERO — FLOATING EDITORIAL IMAGES
========================================================== */

.rility-insights-hero{
    position:relative;
    overflow:hidden;
}


.rility-insights-hero__content{
    position:relative;
    z-index:10;
}


.rility-insights-hero__floating{
    position:absolute;
    top:0;
    bottom:0;
    width:300px;
    pointer-events:none;
    z-index:3;
}


.rility-insights-hero__floating--left{
    left:0;
}


.rility-insights-hero__floating--right{
    right:0;
}


.hero-float{
    position:absolute;
    overflow:hidden;

    border:4px solid #fff;
    border-radius:45%;

    background:#fff;

    box-shadow:
        0 18px 45px rgba(0,0,0,.16),
        0 5px 15px rgba(0,0,0,.08);

    animation:
        heroFloat 7s ease-in-out infinite;
}


.hero-float img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}


/* LEFT */

.hero-float--1{
    width:82px;
    height:108px;
    left:55px;
    top:15%;
    transform:rotate(-8deg);
    animation-delay:-1s;
}

.hero-float--2{
    width:112px;
    height:82px;
    left:145px;
    top:34%;
    border-radius:28px;
    transform:rotate(7deg);
    animation-delay:-4s;
}

.hero-float--3{
    width:76px;
    height:96px;
    left:42px;
    top:57%;
    transform:rotate(6deg);
    animation-delay:-2s;
}

.hero-float--4{
    width:98px;
    height:72px;
    left:160px;
    top:74%;
    border-radius:30px;
    transform:rotate(-7deg);
    animation-delay:-5s;
}


/* RIGHT */

.hero-float--5{
    width:92px;
    height:118px;
    right:55px;
    top:13%;
    transform:rotate(8deg);
    animation-delay:-3s;
}

.hero-float--6{
    width:112px;
    height:80px;
    right:145px;
    top:34%;
    border-radius:30px;
    transform:rotate(-6deg);
    animation-delay:-6s;
}

.hero-float--7{
    width:78px;
    height:102px;
    right:42px;
    top:57%;
    transform:rotate(-7deg);
    animation-delay:-2.5s;
}

.hero-float--8{
    width:102px;
    height:74px;
    right:158px;
    top:75%;
    border-radius:30px;
    transform:rotate(7deg);
    animation-delay:-4.5s;
}


/* smooth subtle movement */

@keyframes heroFloat{

    0%,
    100%{
        translate:0 0;
    }

    50%{
        translate:0 -10px;
    }

}


/* ==========================================================
   CATEGORY PILLS
========================================================== */

.rility-insights-categories{
    position:relative;
    z-index:10;

    display:flex;
    flex-wrap:wrap;
    justify-content:center;

    gap:9px;

    max-width:850px;

    margin:30px auto 0;
}


.rility-insights-categories a{
    display:inline-flex;
    align-items:center;

    padding:9px 15px;

    border:1px solid rgba(17,17,17,.10);
    border-radius:999px;

    background:rgba(255,255,255,.78);

    color:#222;

    text-decoration:none;

    font-size:12px;
    font-weight:500;

    white-space:nowrap;

    box-shadow:
        0 4px 14px rgba(0,0,0,.05);

    backdrop-filter:blur(8px);

    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}


.rility-insights-categories a:hover{
    background:#fff;
    border-color:rgba(17,17,17,.18);

    transform:translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0,0,0,.08);
}


/* ==========================================================
   MOBILE
========================================================== */

@media(max-width:1100px){

    .rility-insights-hero__floating{
        opacity:.65;
        transform:scale(.85);
    }

}


@media(max-width:768px){

    .rility-insights-hero__floating{
        display:none;
    }

    .rility-insights-categories{
        gap:7px;
        margin-top:25px;
    }

    .rility-insights-categories a{
        padding:8px 12px;
        font-size:11px;
    }

}



@media(min-width:1101px){

    .rility-insights-hero__content{
        max-width:760px;
        margin-left:auto;
        margin-right:auto;
    }

}

/* ==========================================================
   RILITY INSIGHTS ARTICLE
   FINAL CSS — PART 1
========================================================== */


/* =========================
   VARIABLES
========================= */

:root{

    --primary:#6D5DFB;

    --text:#111111;

    --muted:#6b7280;

    --border:#ECECEC;

    --surface:#FAFAFA;

    --shadow:0 30px 80px rgba(15,23,42,.08);

    --radius:32px;

    --page-width:min(1440px,90%);

}



/* =========================
   RESET
========================= */

*,
*::before,
*::after{

    box-sizing:border-box;

}


body{

    margin:0;

    font-family:"Inter",sans-serif;

    color:var(--text);

    background:#fff;

    overflow-x:clip;

    -webkit-font-smoothing:antialiased;

}



/* =========================
   GLOBAL CONTAINERS
========================= */


.article-width,
.article-container,
.article-author,
.continue-reading{

    width:var(--page-width);

    margin-left:auto;

    margin-right:auto;

}



/* =========================
   PAGE
========================= */


.article-page{

    width:100%;

    background:#fff;

}



/* =========================
   HERO
========================= */


.article-hero{

    position:relative;

    padding: 20px 0 70px;

    text-align:left;

}



/* Glow */

.article-hero::before{

    content:"";

    position:absolute;

    width:900px;

    height:900px;

    left:50%;

    top:-420px;

    transform:translateX(-50%);

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(109,93,251,.15),
        transparent 70%
    );

    filter:blur(40px);

    z-index:0;

}


.article-hero > *{

    position:relative;

    z-index:2;

}



/* =========================
   HERO TEXT WIDTH
========================= */


.article-breadcrumbs,
.article-hero h1,
.article-subtitle,
.article-meta{

    max-width:850px;

}



/* =========================
   BREADCRUMBS
========================= */


.article-breadcrumbs{

    display:flex;

    align-items:center;

    gap:12px;

    margin-bottom:28px;

    font-size:13px;

    color:var(--muted);

}


.article-breadcrumbs a{

    color:inherit;

    text-decoration:none;

    transition:.25s;

}


.article-breadcrumbs a:hover{

    color:var(--primary);

}



/* =========================
   TAG
========================= */


.article-tag{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 18px;

    border-radius:999px;

    background:rgba(109,93,251,.08);

    color:var(--primary);

    font-size:13px;

    font-weight:700;

    margin-bottom:28px;

}



/* =========================
   TITLE
========================= */


.article-hero h1{

    margin:0;

    font-size:68px;

    line-height:1.08;

    letter-spacing:-3px;

    font-weight:600;

}



/* =========================
   SUBTITLE
========================= */


.article-subtitle{

    margin:34px 0;

    font-size:22px;

    line-height:1.8;

    color:var(--muted);

}



/* =========================
   META
========================= */


.article-meta{

    display:flex;

    flex-wrap:wrap;

    gap:28px;

    margin-top:35px;

    color:var(--muted);

    font-size:14px;

}



/* =========================
   HERO IMAGE
========================= */


.article-hero-image{
    width:100%;
    max-width:850px;   /* same as your content */
    height:620px;
    margin-top:40px;
    border-radius:24px;
    overflow:hidden;
    box-shadow:var(--shadow);
}


.article-hero-image img{

    width:100%;

    height:100%;

    display:block;

    object-fit:cover;

}



/* =========================
   MAIN ARTICLE GRID
========================= */


.article-container{

    margin-top:100px;

    margin-bottom:100px;

    display:grid;

    grid-template-columns:

    minmax(0,1fr)

    320px;

    gap:90px;

    align-items:start;

}



/* =========================
   CONTENT
========================= */


.article-content{

    min-width:0;

    font-size:20px;

    line-height:1.95;

    color:#333;

}

.article-content{
    min-width:0;
    max-width:850px;   /* adjust to taste */
    width:100%;
}


.article-content>*:first-child{

    margin-top:0;

}


.article-content p{

    margin:0 0 34px;

}


.article-content .lead{

    font-size:28px;

    line-height:1.75;

    color:#111;

}



/* =========================
   HEADINGS
========================= */


.article-content h2{

    margin:90px 0 26px;

    font-size:44px;

    line-height:1.15;

    letter-spacing:-1.5px;

    color:#111;

}


.article-content h3{

    margin:60px 0 20px;

    font-size:30px;

    line-height:1.25;

    color:#111;

}


.article-content h4{

    margin:40px 0 16px;

    font-size:22px;

}
/* =========================
   LINKS
========================= */

.article-content a{

    color:#111;

    text-decoration:none;

    border-bottom:1px solid rgba(0,0,0,.12);

    transition:.25s;

}


.article-content a:hover{

    border-color:#111;

}



/* =========================
   LISTS
========================= */


.article-content ul,
.article-content ol{

    margin:0 0 34px 24px;

    line-height:1.9;

}


.article-content li{

    margin-bottom:12px;

}



/* =========================
   FIGURES
========================= */


.article-content figure{

    margin:60px 0;

}


.article-content figure img{

    width:100%;

    display:block;

    border-radius:28px;

}


.article-content figcaption{

    margin-top:14px;

    font-size:14px;

    color:#777;

    text-align:center;

}



/* Standalone images */

.article-content > img{

    width:100%;

    display:block;

    border-radius:28px;

    margin:60px 0;

}



/* =========================
   BLOCKQUOTE
========================= */


.article-content blockquote{

    margin:70px 0;

    padding:45px;

    border-radius:32px;

    background:
    linear-gradient(
        135deg,
        rgba(109,93,251,.08),
        rgba(255,255,255,.9)
    );

    border:1px solid rgba(109,93,251,.12);

    box-shadow:
    0 20px 60px rgba(109,93,251,.08),
    inset 0 1px 0 rgba(255,255,255,.8);

    backdrop-filter:blur(20px);

    font-size:30px;

    line-height:1.5;

    color:#111;

    position:relative;

    overflow:hidden;

}


.article-content blockquote::before{

    content:"";

    position:absolute;

    width:250px;

    height:250px;

    top:-120px;

    right:-80px;

    background:
    radial-gradient(
        circle,
        rgba(109,93,251,.18),
        transparent 70%
    );

    filter:blur(30px);

}



/* =========================
   HIGHLIGHT BOX
========================= */


.article-highlight{

    margin:70px 0;

    padding:40px;

    border-radius:32px;

    background:

    linear-gradient(
        145deg,
        rgba(109,93,251,.06),
        rgba(250,250,255,.95)
    );

    border:1px solid rgba(109,93,251,.12);

    box-shadow:

    0 25px 70px rgba(15,23,42,.06),

    inset 0 1px 0 rgba(255,255,255,.8);

    backdrop-filter:blur(18px);

    position:relative;

    overflow:hidden;

}


.article-highlight::before{

    content:"";

    position:absolute;

    width:300px;

    height:300px;

    right:-120px;

    bottom:-120px;

    background:

    radial-gradient(
        circle,
        rgba(109,93,251,.15),
        transparent 70%
    );

    filter:blur(35px);

}



.article-highlight h4{

    position:relative;

    z-index:2;

}


.article-highlight ul{

    position:relative;

    z-index:2;

}


.article-highlight h4{

    margin-top:0;

}


.article-highlight p:last-child{

    margin-bottom:0;

}



/* =========================
   SIDEBAR
========================= */


.article-sidebar{

    position:sticky;

    top:120px;

    align-self:start;

}


.sidebar-card{

    background:#fff;

    border:1px solid var(--border);

    border-radius:28px;

    padding:30px;

    margin-bottom:24px;

    box-shadow:0 15px 40px rgba(0,0,0,.05);

}


.sidebar-card h4{
    margin:0 0 18px;
    font-size:20px;
    line-height:1.25;
    font-weight:600;
    color:#111;
}

.sidebar-card p{
    margin:0 0 20px;
    font-size:15px;
    line-height:1.6;
    font-weight:400;
    color:#666;
}


.sidebar-card a{

    display:block;

    margin-bottom:14px;

    color:#666;

    text-decoration:none;

    transition:.25s;

}


.sidebar-card a:hover{

    color:var(--primary);

}


.sidebar-card button{

    width:100%;

    height:54px;

    margin-top:0;

    border:none;

    border-radius:999px;

    background:#111;

    color:#fff;

    font-weight:600;

    cursor:pointer;

    transition:.25s;

}


.sidebar-card button:hover{

    background:var(--primary);

}



/* ==========================================================
   AUTHOR
========================================================== */


.article-author{

    margin-top:100px;

    margin-bottom:100px;

    padding:55px;

    display:flex;

    align-items:center;

    gap:30px;

    border-radius:36px;


    background:

    linear-gradient(
        135deg,
        rgba(109,93,251,.08),
        rgba(255,255,255,.95)
    );


    border:1px solid rgba(109,93,251,.12);


    box-shadow:

    0 30px 90px rgba(15,23,42,.08),

    inset 0 1px 0 rgba(255,255,255,.9);


    backdrop-filter:blur(25px);


    position:relative;

    overflow:hidden;

}



.article-author::before{

    content:"";

    position:absolute;

    width:350px;

    height:350px;

    left:-150px;

    top:-150px;


    background:

    radial-gradient(
        circle,
        rgba(109,93,251,.18),
        transparent 70%
    );


    filter:blur(40px);

}



.article-author > *{

    position:relative;

    z-index:2;

}



.article-author img{

    width:90px;

    height:90px;

    border-radius:50%;

    object-fit:cover;

}


.article-author h3{

    margin:0 0 10px;

    font-size:26px;

}


.article-author p{

    margin:0;

    max-width:700px;

    color:var(--muted);

    line-height:1.7;

}



/* ==========================================================
   CONTINUE READING
========================================================== */


.continue-reading{

    margin-top:120px;

    margin-bottom:120px;

}


.continue-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:45px;

}


.continue-header h2{

    margin:0;

    font-size:44px;

    letter-spacing:-1px;

}


.continue-header a{

    color:#555;

    text-decoration:none;

    font-size:14px;

}


.continue-header a:hover{

    color:var(--primary);

}



/* =========================
   SLIDER
========================= */


.continue-slider-container{

    overflow:hidden;

}


.continue-slider{

    display:flex;

    gap:28px;

    transition:transform .4s ease;

    will-change:transform;

}



.continue-card{

    flex:0 0 360px;

    background:#fff;

    border-radius:30px;

    overflow:hidden;

    border:1px solid var(--border);

    transition:.35s;

}


.continue-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow);

}


.continue-image{

    height:240px;

    overflow:hidden;

}


.continue-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}


.continue-card:hover img{

    transform:scale(1.05);

}


.continue-content{

    padding:30px;

}


.continue-content span{

    display:block;

    margin-bottom:15px;

    font-size:11px;

    font-weight:700;

    letter-spacing:.12em;

    text-transform:uppercase;

    color:#9a7b42;

}


.continue-content h3{

    margin:0 0 25px;

    font-size:24px;

    line-height:1.35;

}


.continue-content a{

    color:#111;

    text-decoration:none;

    font-size:14px;

    font-weight:600;

}

 
/* =========================
   CONTINUE CONTROLS
========================= */


.continue-controls{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:40px;

}


.continue-controls > a{

    color:#111;

    text-decoration:none;

    font-size:14px;

    font-weight:600;

}


.continue-controls div{

    display:flex;

    gap:12px;

}


.continue-controls button{

    width:42px;

    height:42px;

    border-radius:50%;

    border:1px solid #ddd;

    background:#fff;

    cursor:pointer;

    font-size:20px;

    transition:.25s;

}


.continue-controls button:hover{

    background:#111;

    color:#fff;

}



/* ==========================================================
   RESPONSIVE
========================================================== */


@media(max-width:1200px){


.article-container{

    grid-template-columns:

    minmax(0,1fr)

    280px;

    gap:50px;

}



.article-hero h1{

    font-size:62px;

}


}



@media(max-width:980px){


.article-container{

    grid-template-columns:1fr;

}


.article-sidebar{

    position:static;

    order:2;

}



.article-hero-image{

    height:480px;

}


}



@media(max-width:768px){


.article-width,
.article-container,
.article-author,
.continue-reading{

    width:calc(100% - 44px);

}



.article-hero{

    padding:60px 0 40px;

}



.article-breadcrumbs{

    font-size:11px;

    flex-wrap:wrap;

}



.article-hero h1{

    font-size:42px;

    line-height:1.12;

    letter-spacing:-1.5px;

}



.article-subtitle{

    font-size:18px;

    line-height:1.7;

}



.article-meta{

    gap:14px;

}



.article-hero-image{

    height:300px;

    margin-top:45px;

    border-radius:24px;

}



.article-container{

    margin-top:60px;

}



.article-content{

    font-size:17px;

    line-height:1.85;

}



.article-content .lead{

    font-size:22px;

}



.article-content h2{

    font-size:32px;

    margin-top:65px;

}



.article-content h3{

    font-size:24px;

}



.article-content blockquote{

    padding:25px;

    font-size:22px;

}



.article-highlight{

    padding:24px;

}



.article-author{

    margin-top:70px;

    padding:30px;

    flex-direction:column;

    text-align:center;

}



.article-author img{

    width:80px;

    height:80px;

}



.continue-header h2{

    font-size:32px;

}



.continue-card{

    flex:0 0 85%;

}



.continue-controls{

    margin-top:30px;

}


}



@media(max-width:480px){


.article-hero h1{

    font-size:34px;

}



.article-subtitle{

    font-size:17px;

}



.continue-content h3{

    font-size:21px;

}


}



@media(max-width:768px){

    .article-content blockquote{

        margin:45px 0;

        padding:26px;

        border-radius:24px;

        font-size:21px;

        line-height:1.55;

    }


    .article-highlight{

        margin:45px 0;

        padding:26px;

        border-radius:24px;

    }


    .article-highlight ul,
    .article-highlight ol{

        margin-left:18px;

        padding-right:0;

    }


    .article-author{

        width:calc(100% - 44px);

        padding:30px 24px;

        border-radius:28px;

        overflow:hidden;

    }


    .article-author p{

        font-size:15px;

        line-height:1.7;

    }


    .article-author::before,
    .article-highlight::before,
    .article-content blockquote::before{

        width:180px;

        height:180px;

    }

}


.ai-summary-card {
  padding: 20px;
}

.ai-summary-card h4 {
  margin-bottom: 10px;
}

.ai-summary-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.ai-tools {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-tools{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.ai-tool{
    display:flex !important;
    align-items:center;
    justify-content:flex-start;
    gap:8px;

    flex: 0 0 auto;
    min-width:130px;

    padding:10px 12px;
    border:1px solid #e7e7e7;
    border-radius:12px;
    background:#fff;
    color:#111;
    text-decoration:none;

    margin:0 !important;
}

.ai-tool:hover{
    background:#f5f5f5;
    border-color:#e7e7e7;
    color:#111;
}

.ai-tool img{
    width:22px;
    height:22px;
    object-fit:contain;
    flex-shrink:0;
}

.ai-tool span{
    font-size:14px;
    font-weight:500;
    line-height:1;
    color:#111;
}


/* ==========================================================
   ARTICLE PAGE — REFINED HEADER / META
========================================================== */

.article-hero::before{
    display:none;
}

.article-hero{
    padding:150px 0 70px;
}

.article-breadcrumbs{
    gap:10px;
    margin-bottom:28px;
}

.article-breadcrumb-title{
    display:block;
    max-width:360px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.article-meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:24px;
    margin-top:32px;
}

.article-meta-person{
    position:relative;
    display:flex;
    align-items:center;
    gap:10px;
}

.article-meta-avatar{
    width:38px;
    height:38px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f2f2f2;
    color:#555;
    flex-shrink:0;
}

.article-meta-avatar .material-symbols-outlined{
    font-size:20px;
}

.article-meta-person-text{
    display:flex;
    flex-direction:column;
    gap:2px;
}

.article-meta-label{
    font-size:11px;
    line-height:1.1;
    color:#888;
    text-transform:uppercase;
    letter-spacing:.05em;
}

.article-meta-person-text strong{
    font-size:13px;
    font-weight:600;
    color:#171717;
}

.article-meta-detail{
    font-size:13px;
    color:#777;
    white-space:nowrap;
}

.article-meta-info,
.article-fact-check{
    position:relative;
}

.article-meta-info{
    margin-left:-4px;
}

.article-meta-info-icon{
    width:18px;
    height:18px;
    border:1px solid #bbb;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:11px;
    color:#777;
    cursor:help;
}

.article-meta-tooltip{
    position:absolute;
    z-index:50;
    left:50%;
    bottom:calc(100% + 10px);
    transform:translateX(-50%) translateY(4px);
    width:220px;
    padding:12px 14px;
    border:1px solid #e5e5e5;
    border-radius:10px;
    background:#fff;
    color:#555;
    font-size:12px;
    line-height:1.5;
    box-shadow:0 8px 30px rgba(0,0,0,.10);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .15s ease, transform .15s ease;
}

.article-meta-info:hover .article-meta-tooltip,
.article-fact-check:hover .article-meta-tooltip{
    opacity:1;
    visibility:visible;
    transform:translateX(-50%) translateY(0);
}

.article-fact-check{
    margin-left:auto;
}

.article-fact-check-badge{
    display:flex;
    align-items:center;
    gap:6px;
    padding:7px 10px;
    border:1px solid #dce9df;
    border-radius:999px;
    background:#f7fbf8;
    color:#287044;
    font-size:12px;
    font-weight:600;
    white-space:nowrap;
    cursor:help;
}

.article-fact-check-badge .material-symbols-outlined{
    font-size:17px;
}


/* ==========================================================
   ARTICLE MOBILE
========================================================== */

@media(max-width:768px){

    .article-hero{
        padding:36px 0 40px;
    }

    .article-breadcrumbs{
        gap:8px;
        margin-bottom:24px;
    }

    .article-breadcrumb-title{
        max-width:180px;
    }

    .article-meta{
        align-items:flex-start;
        gap:18px 20px;
    }

    .article-meta-person{
        min-width:calc(50% - 10px);
    }

    .article-meta-detail{
        font-size:12px;
    }

    .article-fact-check{
        margin-left:0;
    }

    .article-meta-tooltip{
        left:0;
        transform:translateY(4px);
    }

    .article-meta-info:hover .article-meta-tooltip,
    .article-fact-check:hover .article-meta-tooltip{
        transform:translateY(0);
    }

}


/* ==========================================================
   ARTICLE PEOPLE AVATARS
========================================================== */

.article-meta-avatar{
    overflow:hidden;
}

.article-meta-avatar img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}


/* ==========================================================
   AI SUMMARY — FOUR FIXED CARDS
========================================================== */

.ai-summary-card{
    overflow:hidden;
}

.ai-tools{
    display:grid !important;
    grid-template-columns:1fr 1fr;
    gap:10px;
    width:100%;
    align-items:stretch;
}

.ai-tool{
    box-sizing:border-box;
    width:100%;
    min-width:0 !important;
    height:52px;
    padding:9px 10px !important;
    display:flex !important;
    align-items:center;
    gap:8px;
    border:1px solid #e7e7e7;
    border-radius:12px;
    background:#fff;
    color:#111;
    text-decoration:none;
    margin:0 !important;
    flex:none !important;
    transform:none !important;
    transition:none !important;
    overflow:hidden;
}

.ai-tool:hover{
    background:#fff;
    border-color:#e7e7e7;
    color:#111;
    transform:none !important;
}

.ai-tool img{
    width:24px !important;
    height:24px !important;
    min-width:24px;
    max-width:24px;
    object-fit:contain;
    flex:0 0 24px;
}

.ai-tool span{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:13px;
    font-weight:500;
    line-height:1;
    color:#111;
}

@media(max-width:480px){

    .ai-tools{
        grid-template-columns:1fr 1fr;
    }

    .ai-tool{
        height:50px;
    }

}


/* ==========================================================
   ARTICLE FINAL OVERRIDES
========================================================== */

/* Keep the article content 150px below the 88px header. */
.article-hero{
    padding-top:138px;
}

/* Author/editor avatars */
.article-meta-avatar{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    border-radius:50% !important;
    overflow:hidden !important;
    background:#f3f3f3;
}

.article-meta-avatar img{
    width:100% !important;
    height:100% !important;
    display:block !important;
    object-fit:cover !important;
    border-radius:50% !important;
}

/* Four AI cards: static, contained, no movement */
.ai-summary-card{
    overflow:hidden !important;
}

.ai-tools{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:10px !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    animation:none !important;
    transform:none !important;
}

.ai-tool{
    box-sizing:border-box !important;
    width:100% !important;
    min-width:0 !important;
    height:52px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;

    padding:9px 10px !important;
    margin:0 !important;

    border:1px solid #e7e7e7 !important;
    border-radius:12px !important;
    background:#fff !important;

    color:#111 !important;
    text-decoration:none !important;

    flex:none !important;
    transform:none !important;
    animation:none !important;
    transition:none !important;
    overflow:hidden !important;
}

.ai-tool:hover,
.ai-tool:focus,
.ai-tool:active{
    background:#fff !important;
    border-color:#e7e7e7 !important;
    color:#111 !important;
    transform:none !important;
    animation:none !important;
}

.ai-tool img{
    width:24px !important;
    height:24px !important;
    min-width:24px !important;
    max-width:24px !important;
    object-fit:contain !important;
    flex:0 0 24px !important;
}

.ai-tool span{
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;

    font-size:13px !important;
    font-weight:500 !important;
    line-height:1 !important;
    color:#111 !important;
}

@media(max-width:768px){
    .article-hero{
        padding-top:108px;
    }
}

@media(max-width:480px){
    .article-hero{
        padding-top:98px;
    }

    .ai-tool{
        height:50px !important;
    }
}

/* ==========================================================
   ARTICLE — FINAL VISUAL TUNING
   ========================================================== */

/* Less empty space between hero image and article content */
.article-hero-image {
    margin-bottom: 0 !important;
}

.article-container {
    margin-top: 25px !important;
}

/* Softer, less-rounded hero image */
.article-hero-image {
    border-radius: 20px !important;
}

/* Remove the info "i" icon beside author names */
.article-meta-person .material-symbols-outlined,
.article-meta-person .info-icon,
.article-meta-person .author-info-icon,
.article-meta-person i {
    display: none !important;
}

/* Make the whole image + text feel like one hover target */
.article-hero-image,
.article-hero-image img,
.article-hero h1,
.article-hero .article-subtitle,
.article-meta {
    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

/* Image hover */
.article-hero-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(0,0,0,.12) !important;
}

.article-hero-image:hover img {
    transform: scale(1.015);
}

/* Text hover intentionally disabled */
.article-hero h1:hover,
.article-hero .article-subtitle:hover {
    opacity: 1 !important;
    transform: none !important;
}

@media(max-width:768px) {
    .article-container {
        margin-top: 18px !important;
    }

    .article-hero-image {
        border-radius: 16px !important;
    }
}


/* Remove author info "i" icon only */
.article-meta-person .material-symbols-outlined,
.article-meta-person .info-icon,
.article-meta-person .author-info-icon,
.article-meta-person i {
    display: none !important;
}

/* Author remains visually unchanged on hover */
.article-meta-person:hover {
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
}


/* ==========================================================
   ARTICLE IMAGE — NO ZOOM / NO IMAGE MOVEMENT
   ========================================================== */

.article-hero-image img {
    transform: none !important;
    transition: none !important;
}

.article-hero-image:hover img {
    transform: none !important;
}

/* Keep the image itself visually stable */
.article-hero-image:hover {
    transform: none !important;
}


/* ==========================================================
   ARTICLE SIDEBAR — STABLE STICKY
========================================================== */

.article-container {
    align-items: start;
    overflow: visible !important;
}

.article-sidebar {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 110px !important;
    align-self: start !important;
    height: fit-content !important;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
}

@media (max-width: 980px) {
    .article-sidebar {
        position: static !important;
        max-height: none;
        overflow: visible;
    }
}


/* No image zoom on hover */
.article-hero-image:hover img {
    transform: none !important;
}


/* ==========================================================
   ARTICLE SIDEBAR — FINAL STICKY FIX
========================================================== */

.article-container {
    display: grid;
    align-items: start !important;
    overflow: visible !important;
}

.article-sidebar {
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 110px !important;
    align-self: start !important;
    height: max-content !important;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
}

/* Do not disable sticky on desktop/tablet */
@media (min-width: 981px) {
    .article-sidebar {
        position: sticky !important;
        top: 110px !important;
    }
}

/* Sidebar becomes normal flow on mobile */
@media (max-width: 980px) {
    .article-sidebar {
        position: static !important;
        max-height: none;
        overflow: visible;
    }
}

/* Never zoom the hero image */
.article-hero-image:hover img {
    transform: none !important;
}

/* ==========================================================
   RILITY INSIGHTS ARTICLE
   FINAL CSS — PART 1
========================================================== */


/* ==========================================================
   ARTICLE FINAL OVERRIDES
========================================================== */

/* Keep the article content 150px below the 88px header. */
.article-hero{
    padding-top:138px;
}

/* Author/editor avatars */
.article-meta-avatar{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    border-radius:50% !important;
    overflow:hidden !important;
    background:#f3f3f3;
}

.article-meta-avatar img{
    width:100% !important;
    height:100% !important;
    display:block !important;
    object-fit:cover !important;
    border-radius:50% !important;
}

/* Four AI cards: static, contained, no movement */
.ai-summary-card{
    overflow:hidden !important;
}

.ai-tools{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:10px !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    animation:none !important;
    transform:none !important;
}

.ai-tool{
    box-sizing:border-box !important;
    width:100% !important;
    min-width:0 !important;
    height:52px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;

    padding:9px 10px !important;
    margin:0 !important;

    border:1px solid #e7e7e7 !important;
    border-radius:12px !important;
    background:#fff !important;

    color:#111 !important;
    text-decoration:none !important;

    flex:none !important;
    transform:none !important;
    animation:none !important;
    transition:none !important;
    overflow:hidden !important;
}

.ai-tool:hover,
.ai-tool:focus,
.ai-tool:active{
    background:#fff !important;
    border-color:#e7e7e7 !important;
    color:#111 !important;
    transform:none !important;
    animation:none !important;
}

.ai-tool img{
    width:24px !important;
    height:24px !important;
    min-width:24px !important;
    max-width:24px !important;
    object-fit:contain !important;
    flex:0 0 24px !important;
}

.ai-tool span{
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;

    font-size:13px !important;
    font-weight:500 !important;
    line-height:1 !important;
    color:#111 !important;
}

@media(max-width:768px){
    .article-hero{
        padding-top:108px;
    }
}

@media(max-width:480px){
    .article-hero{
        padding-top:98px;
    }

    .ai-tool{
        height:50px !important;
    }
}

/* ==========================================================
   ARTICLE — FINAL VISUAL TUNING
   ========================================================== */

/* Less empty space between hero image and article content */
.article-hero-image {
    margin-bottom: 0 !important;
}

.article-container {
    margin-top: 25px !important;
}

/* Softer, less-rounded hero image */
.article-hero-image {
    border-radius: 20px !important;
}

/* Remove the info "i" icon beside author names */
.article-meta-person .material-symbols-outlined,
.article-meta-person .info-icon,
.article-meta-person .author-info-icon,
.article-meta-person i {
    display: none !important;
}

/* Make the whole image + text feel like one hover target */
.article-hero-image,
.article-hero-image img,
.article-hero h1,
.article-hero .article-subtitle,
.article-meta {
    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

/* Image hover */
.article-hero-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(0,0,0,.12) !important;
}

.article-hero-image:hover img {
    transform: scale(1.015);
}

/* Text hover intentionally disabled */
.article-hero h1:hover,
.article-hero .article-subtitle:hover {
    opacity: 1 !important;
    transform: none !important;
}

@media(max-width:768px) {
    .article-container {
        margin-top: 18px !important;
    }

    .article-hero-image {
        border-radius: 16px !important;
    }
}


/* Remove author info "i" icon only */
.article-meta-person .material-symbols-outlined,
.article-meta-person .info-icon,
.article-meta-person .author-info-icon,
.article-meta-person i {
    display: none !important;
}

/* Author remains visually unchanged on hover */
.article-meta-person:hover {
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
}


/* ==========================================================
   ARTICLE IMAGE — NO ZOOM / NO IMAGE MOVEMENT
   ========================================================== */

.article-hero-image img {
    transform: none !important;
    transition: none !important;
}

.article-hero-image:hover img {
    transform: none !important;
}

/* Keep the image itself visually stable */
.article-hero-image:hover {
    transform: none !important;
}


/* ==========================================================
   ARTICLE SIDEBAR — STABLE STICKY
========================================================== */

.article-container {
    align-items: start;
    overflow: visible !important;
}

.article-sidebar {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 110px !important;
    align-self: start !important;
    height: fit-content !important;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
}

@media (max-width: 980px) {
    .article-sidebar {
        position: static !important;
        max-height: none;
        overflow: visible;
    }
}


/* No image zoom on hover */
.article-hero-image:hover img {
    transform: none !important;
}


/* ==========================================================
   ARTICLE SIDEBAR — FINAL STICKY FIX
========================================================== */

.article-container {
    display: grid;
    align-items: start !important;
    overflow: visible !important;
}

.article-sidebar {
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 110px !important;
    align-self: start !important;
    height: max-content !important;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
}

/* Do not disable sticky on desktop/tablet */
@media (min-width: 981px) {
    .article-sidebar {
        position: sticky !important;
        top: 110px !important;
    }
}

/* Sidebar becomes normal flow on mobile */
@media (max-width: 980px) {
    .article-sidebar {
        position: static !important;
        max-height: none;
        overflow: visible;
    }
}

/* Never zoom the hero image */
.article-hero-image:hover img {
    transform: none !important;
}



/* ==========================================================
   INSIGHTS CATEGORY
   Category header intentionally follows ARTICLE styling.
   ========================================================== */

.category-page .category-hero {
    padding-bottom: 70px;
}

.category-page .article-subtitle {
    max-width: 760px;
}

.category-articles {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 0 120px;
}

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

.category-articles .insight-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: #fff;
    transition: .3s;
}

.category-articles .insight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.category-articles .insight-card-image {
    height: 240px;
    overflow: hidden;
    background: #f5f5f5;
}

.category-articles .insight-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.category-articles .insight-card-content {
    padding: 28px;
}

.category-articles .insight-card h2 {
    margin: 0 0 18px;
    font-size: 23px;
    line-height: 1.25;
    letter-spacing: -.8px;
}

.category-articles .insight-card h2 a {
    color: #111;
    text-decoration: none;
}

.category-articles .insight-card-category {
    display: block;
    margin-bottom: 12px;
    color: #9a7b42;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.category-articles .insight-card p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.category-articles .insight-card-link {
    color: #111;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

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

@media (max-width: 768px) {

    .category-page .category-hero {
        padding-top: 108px;
    }

    .category-articles {
        width: calc(100% - 40px);
        padding-bottom: 80px;
    }

    .category-articles .insights-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    .category-page .category-hero {
        padding-top: 98px;
    }
}

/* =========================================================
   UNIFIED INSIGHTS BREADCRUMBS — FINAL OVERRIDE
   Same size / spacing / typography on category + article
========================================================= */

.article-breadcrumbs {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;

    width: 100% !important;
    max-width: 850px !important;

    margin: 0 0 28px 0 !important;
    padding: 0 !important;

    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: normal !important;

    color: var(--muted) !important;
}

.article-breadcrumbs a,
.article-breadcrumbs span {
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

.article-breadcrumbs a {
    color: inherit !important;
    text-decoration: none !important;
}

.article-breadcrumbs a:hover {
    color: var(--primary) !important;
}

.article-breadcrumb-title {
    display: block !important;
    max-width: 360px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

@media (max-width: 768px) {
    .article-breadcrumbs {
        gap: 8px !important;
        margin-bottom: 24px !important;
        font-size: 12px !important;
    }

    .article-breadcrumbs a,
    .article-breadcrumbs span {
        font-size: 12px !important;
    }

    .article-breadcrumb-title {
        max-width: 180px !important;
    }
}

/* ==========================================================
   SIDEBAR CARDS — FINAL CONSISTENT STYLE
========================================================== */

.sidebar-card {
    padding: 30px !important;
    box-shadow: none !important;
}

/* All card titles */
.sidebar-card h4 {
    margin: 0 0 18px !important;
    padding: 0 !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    color: #111 !important;
}

/* All descriptive/subtext */
.sidebar-card > p {
    margin: 0 0 20px !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    color: #666 !important;
}

/* Related Properties text */
.sidebar-card > a {
    margin: 0 0 14px !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    color: #666 !important;
}

/* AI assistant names */
.sidebar-card .ai-tool span {
    font-size: 15px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    color: #666 !important;
}


/* Hide scrollbars in Safari/Chrome/Firefox while keeping scrolling */
.ai-tools,
.article-sidebar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.ai-tools::-webkit-scrollbar,
.article-sidebar::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}


/* ==========================================================
   INSIGHTS HERO — FINAL FLOATING IMAGE SYSTEM
   ========================================================== */

.rility-insights-hero__floating{
    width:320px;
    top:0;
    bottom:0;
}

/* Remove floating image shadows */
.hero-float{
    border:3px solid #fff;
    border-radius:24px;
    box-shadow:none;
    overflow:hidden;
}

/* Make image fill cleanly */
.hero-float img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

/* =========================
   LEFT SIDE
   ========================= */

.hero-float--1{
    width:86px;
    height:112px;
    left:42px;
    top:15%;
    border-radius:24px;
    transform:rotate(-7deg);
}

.hero-float--2{
    width:112px;
    height:84px;
    left:158px;
    top:34%;
    border-radius:24px;
    transform:rotate(6deg);
}

.hero-float--3{
    width:82px;
    height:104px;
    left:30px;
    top:57%;
    border-radius:24px;
    transform:rotate(6deg);
}

.hero-float--4{
    width:106px;
    height:78px;
    left:158px;
    top:74%;
    border-radius:24px;
    transform:rotate(-6deg);
}

/* =========================
   RIGHT SIDE — MIRROR LEFT
   ========================= */

.hero-float--5{
    width:86px;
    height:112px;
    right:42px;
    top:15%;
    border-radius:24px;
    transform:rotate(7deg);
}

.hero-float--6{
    width:112px;
    height:84px;
    right:158px;
    top:34%;
    border-radius:24px;
    transform:rotate(-6deg);
}

.hero-float--7{
    width:82px;
    height:104px;
    right:30px;
    top:57%;
    border-radius:24px;
    transform:rotate(-6deg);
}

.hero-float--8{
    width:106px;
    height:78px;
    right:158px;
    top:74%;
    border-radius:24px;
    transform:rotate(6deg);
}

/* Keep animation subtle */
@keyframes heroFloat{
    0%,100%{
        translate:0 0;
    }

    50%{
        translate:0 -7px;
    }
}

/* Hide decorative images on smaller screens */
@media(max-width:900px){
    .rility-insights-hero__floating{
        display:none;
    }
}


/* ==========================================================
   INSIGHTS HERO — REVERT FLOATING IMAGE STYLING
   ========================================================== */

.hero-float{
    border:4px solid #fff;
    border-radius:45%;
    background:#fff;

    box-shadow:
        0 18px 45px rgba(0,0,0,.16),
        0 5px 15px rgba(0,0,0,.08);
}

/* =========================
   LEFT — ALTERNATING POSITION
   ========================= */

/* #1 — move toward center */
.hero-float--1{
    width:82px;
    height:108px;
    left:145px;
    top:15%;
    border-radius:45%;
    transform:rotate(-8deg);
    animation-delay:-1s;
}

/* #2 — move toward outside/left */
.hero-float--2{
    width:112px;
    height:82px;
    left:55px;
    top:34%;
    border-radius:28px;
    transform:rotate(7deg);
    animation-delay:-4s;
}

/* #3 — move toward center */
.hero-float--3{
    width:76px;
    height:96px;
    left:160px;
    top:57%;
    border-radius:45%;
    transform:rotate(6deg);
    animation-delay:-2s;
}

/* #4 — move toward outside/left */
.hero-float--4{
    width:98px;
    height:72px;
    left:42px;
    top:74%;
    border-radius:30px;
    transform:rotate(-7deg);
    animation-delay:-5s;
}

/* =========================
   RIGHT — RESTORE ORIGINAL
   ========================= */

.hero-float--5{
    width:92px;
    height:118px;
    right:55px;
    top:13%;
    border-radius:45%;
    transform:rotate(8deg);
    animation-delay:-3s;
}

.hero-float--6{
    width:112px;
    height:80px;
    right:145px;
    top:34%;
    border-radius:30px;
    transform:rotate(-6deg);
    animation-delay:-6s;
}

.hero-float--7{
    width:78px;
    height:102px;
    right:42px;
    top:57%;
    border-radius:45%;
    transform:rotate(-7deg);
    animation-delay:-2.5s;
}

.hero-float--8{
    width:102px;
    height:74px;
    right:158px;
    top:75%;
    border-radius:30px;
    transform:rotate(7deg);
    animation-delay:-4.5s;
}

/* Restore original container width */
.rility-insights-hero__floating{
    width:300px;
}

/* Restore original animation */
@keyframes heroFloat{
    0%,100%{
        translate:0 0;
    }

    50%{
        translate:0 -10px;
    }
}

@media(max-width:900px){
    .rility-insights-hero__floating{
        display:none;
    }
}


/* ==========================================================
   LEFT FLOATING IMAGES — FINAL SHAPES / SIZES
   ========================================================== */

/* Image 1 — 1:1 rounded square */
.hero-float--1{
    width:90px;
    height:90px;
    left:145px;
    top:15%;
    border-radius:22px;
    transform:rotate(-8deg);
}

/* Image 2 — same size, circle */
.hero-float--2{
    width:90px;
    height:90px;
    left:55px;
    top:34%;
    border-radius:50%;
    transform:rotate(0deg);
}

/* Image 3 — 30% larger than image 1, 1:1 rounded square */
.hero-float--3{
    width:117px;
    height:117px;
    left:160px;
    top:57%;
    border-radius:26px;
    transform:rotate(6deg);
}

/* Image 4 — 5% smaller than image 1, 1:1 rounded square */
.hero-float--4{
    width:86px;
    height:86px;
    left:42px;
    top:74%;
    border-radius:22px;
    transform:rotate(-7deg);
}


/* ==========================================================
   RIGHT FLOATING IMAGES — FINAL SHAPES / SIZES
   TOP → BOTTOM: 8, 7, 6, 5
   ========================================================== */

/* Image 8 — top right — 1:1 rounded square */
.hero-float--8{
    width:90px;
    height:90px;
    right:158px;
    top:13%;
    border-radius:22px;
    transform:rotate(7deg);
}

/* Image 7 — circle */
.hero-float--7{
    width:90px;
    height:90px;
    right:42px;
    top:34%;
    border-radius:50%;
    transform:rotate(0deg);
}

/* Image 6 — 30% larger rounded square */
.hero-float--6{
    width:117px;
    height:117px;
    right:145px;
    top:57%;
    border-radius:26px;
    transform:rotate(-6deg);
}

/* Image 5 — 5% smaller rounded square */
.hero-float--5{
    width:86px;
    height:86px;
    right:55px;
    top:74%;
    border-radius:22px;
    transform:rotate(7deg);
}


/* ==========================================================
   RIGHT FLOATING IMAGES — TOP TO BOTTOM: 5, 6, 7, 8
   ========================================================== */

/* Image 5 — TOP RIGHT — 5% smaller rounded square */
.hero-float--5{
    width:86px;
    height:86px;
    right:55px;
    top:13%;
    border-radius:22px;
    transform:rotate(7deg);
}

/* Image 6 — second — 30% larger rounded square */
.hero-float--6{
    width:117px;
    height:117px;
    right:145px;
    top:34%;
    border-radius:26px;
    transform:rotate(-6deg);
}

/* Image 7 — third — circle */
.hero-float--7{
    width:90px;
    height:90px;
    right:42px;
    top:57%;
    border-radius:50%;
    transform:rotate(0deg);
}

/* Image 8 — BOTTOM RIGHT — rounded square */
.hero-float--8{
    width:90px;
    height:90px;
    right:158px;
    top:74%;
    border-radius:22px;
    transform:rotate(7deg);
}

/* =========================================================
   INSIGHTS HERO — FINAL TITLE
   Keep original hero positioning.
========================================================= */

.rility-insights-hero__title {
    font-family: "Inter", sans-serif;
    font-size: 68px;
    line-height: 1.08;
    letter-spacing: -3px;
    font-weight: 500;
    color: #111;
}

@media (max-width: 768px) {
    .rility-insights-hero__title {
        font-size: 42px;
        line-height: 1.1;
        letter-spacing: -1.5px;
        font-weight: 500;
    }
}
/* =========================================================
   FINAL INSIGHTS HERO — CLEAN
   Keep original positioning; match shared Inter typography.
========================================================= */

.rility-insights-hero__title {
    font-family: "Inter", sans-serif !important;
    font-size: 68px !important;
    line-height: 1.08 !important;
    letter-spacing: -3px !important;
    font-weight: 600 !important;
    color: #111 !important;
}

@media (max-width: 768px) {
    .rility-insights-hero__title {
        font-size: 42px !important;
        line-height: 1.1 !important;
        letter-spacing: -1.5px !important;
        font-weight: 600 !important;
    }
}

/* =========================================================
   INSIGHTS HERO — MOBILE MATCH AI HERO
   ========================================================= */

@media (max-width: 900px) {

    .rility-insights-hero__title {
        font-family: "Inter", sans-serif !important;
        font-size: 44px !important;
        line-height: 1.08 !important;
        letter-spacing: -2px !important;
        font-weight: 600 !important;
    }

}


/* =========================================================
   INSIGHTS HERO — MOBILE POSITION MATCH AI HERO
   ========================================================= */

@media (max-width: 900px) {

    .rility-insights-hero {
        min-height: 100svh;
        padding-top: 110px;
        padding-bottom: 80px;
        box-sizing: border-box;
        align-items: flex-start;
    }

    .rility-insights-hero__content {
        width: calc(100% - 24px);
        max-width: none;
        margin: 0 auto;
        padding-top: 85px;
        box-sizing: border-box;
    }

    .rility-insights-hero__title {
        margin: 0;
        font-size: 44px !important;
        line-height: 1.08 !important;
        letter-spacing: -2px !important;
        font-weight: 600 !important;
    }

}


/* =========================================================
   INSIGHTS HERO — EXACT MOBILE AI HERO MATCH
   ========================================================= */

@media (max-width: 900px) {

    .rility-insights-hero {
        min-height: 100svh;
        padding: 110px 0 80px;
        box-sizing: border-box;
        align-items: center;
    }

    .rility-insights-hero__content {
        width: 90%;
        max-width: 850px;
        margin: 0 auto;
        padding-top: 130px;
        box-sizing: border-box;
    }

    .rility-insights-hero__title {
        margin: 0 !important;

        font-family: "Inter", sans-serif !important;
        font-size: 44px !important;
        line-height: 1.08 !important;
        letter-spacing: -2px !important;
        font-weight: 600 !important;

        color: #111 !important;
    }

}


/* =========================================================
   INSIGHTS HERO — MOBILE FINAL AI MATCH
   ========================================================= */

@media (max-width: 900px) {

    .rility-insights-hero {
        min-height: 100svh;
        padding: 110px 0 80px;
        box-sizing: border-box;
        align-items: center;
    }

    .rility-insights-hero__content {
        width: 90%;
        max-width: 850px;
        margin: 0 auto;
        padding-top: 0;
        box-sizing: border-box;
    }

    .rility-insights-hero__title {
        margin: 0 !important;
        font-family: "Inter", sans-serif !important;
        font-size: 44px !important;
        line-height: 1.08 !important;
        letter-spacing: -2px !important;
        font-weight: 600 !important;
        color: #111 !important;
    }

}



/* FINAL: article headline has no hover color/effect */
.article-hero h1,
.article-hero h1:hover,
.article-hero h1:focus,
.article-hero h1:active {
    color: #181818 !important;
    text-decoration: none !important;
    transition: none !important;
    transform: none !important;
}



/* FINAL ARTICLE HEADLINE RULE — NO HOVER EFFECT */
.article-hero h1,
.article-hero h1:hover,
.article-hero h1:focus,
.article-hero h1:active {
    color: #181818 !important;
    opacity: 1 !important;
    transform: none !important;
    text-decoration: none !important;
    transition: none !important;
}

/* Article H2 — match Mortgage visual system */
.article-content h2 {
    margin: 48px 0 18px;
    color: #171717 !important;
    font-size: clamp(32px, 4vw, 50px) !important;
    line-height: 1.05 !important;
    font-weight: 600 !important;
    letter-spacing: -0.045em !important;
    transition: none !important;
}

.article-content h2:hover {
    color: #171717 !important;
    opacity: 1 !important;
}


/* Article typography refinement */
.article-content {
    color: #292929;
}

.article-content p {
    color: #292929 !important;
    line-height: 1.65 !important;
}

.article-content h2 {
    margin-bottom: 24px !important;
    color: #171717 !important;
}

/* Keep the first paragraph after an H2 comfortably separated */
.article-content h2 + p {
    margin-top: 0 !important;
}


/* =========================================================
   ARTICLE — INSTITUTIONAL BODY TYPOGRAPHY
========================================================= */

.article-content {
    color: #252525;
    font-size: 17px;
    line-height: 1.6;
    max-width: 740px;
}

.article-content p {
    margin: 0 0 18px;
    color: #252525 !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
    font-weight: 400;
}

.article-content h2 {
    margin-top: 46px !important;
    margin-bottom: 24px !important;
    color: #171717 !important;
    font-size: clamp(30px, 3.5vw, 44px) !important;
    line-height: 1.08 !important;
    font-weight: 600 !important;
    letter-spacing: -0.04em !important;
}

.article-content strong {
    color: #171717;
    font-weight: 600;
}


/* =========================================================
   ARTICLE — FINAL INSTITUTIONAL TYPOGRAPHY
========================================================= */

.article-content {
    color: #252525 !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
    max-width: 740px;
}

.article-content p {
    margin: 0 0 18px !important;
    color: #252525 !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
}

/* Major section */
.article-content h2 {
    margin: 52px 0 24px !important;
    color: #171717 !important;
    font-size: 36px !important;
    line-height: 1.1 !important;
    font-weight: 600 !important;
    letter-spacing: -0.035em !important;
}

/* Subsection */
.article-content h3 {
    margin: 38px 0 16px !important;
    color: #202020 !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
}

/* Minor subsection */
.article-content h4 {
    margin: 30px 0 14px !important;
    color: #252525 !important;
    font-size: 19px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
}

/* Emphasis */
.article-content strong {
    color: #171717 !important;
    font-weight: 600 !important;
}


/* =========================================================
   ARTICLE — INSTITUTIONAL TABLES
========================================================= */

.article-content table {
    width: 100%;
    margin: 30px 0 34px;
    border-collapse: collapse;
    color: #252525;
    font-size: 15.5px;
    line-height: 1.5;
}

.article-content thead th {
    padding: 13px 16px;
    color: #171717;
    background: #f5f5f3;
    border-bottom: 2px solid #d8d8d4;
    text-align: left;
    font-weight: 600;
}

.article-content tbody td {
    padding: 13px 16px;
    border-bottom: 1px solid #e3e3df;
    vertical-align: top;
}

.article-content tbody tr:last-child td {
    border-bottom: 1px solid #d0d0cc;
}

.article-content tbody tr:hover {
    background: #fafaf8;
}


/* =========================================================
   ARTICLE — MOBILE INSTITUTIONAL TYPOGRAPHY
========================================================= */

@media (max-width: 768px) {

    .article-content {
        font-size: 16.5px !important;
        line-height: 1.6 !important;
    }

    .article-content p {
        font-size: 16.5px !important;
        line-height: 1.6 !important;
        margin-bottom: 17px !important;
    }

    .article-content h2 {
        margin: 42px 0 22px !important;
        font-size: 28px !important;
        line-height: 1.12 !important;
        letter-spacing: -0.03em !important;
    }

    .article-content h3 {
        margin: 34px 0 15px !important;
        font-size: 22px !important;
        line-height: 1.25 !important;
    }

    .article-content h4 {
        margin: 28px 0 13px !important;
        font-size: 18px !important;
        line-height: 1.3 !important;
    }

}


/* =========================================================
   ARTICLE — MOBILE BODY TYPOGRAPHY
========================================================= */

@media (max-width: 768px) {

    .article-content {
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .article-content p {
        font-size: 14px !important;
        line-height: 1.55 !important;
        margin-bottom: 15px !important;
    }

}


/* Article links — institutional style */
.article-content a {
    color: #171717 !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-transform: none !important;
}

.article-content a:hover {
    color: #171717 !important;
    opacity: 0.75;
}


/* Article CTA lines — dark institutional treatment */
.article-content p strong {
    color: #171717 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-transform: none !important;
}


/* Article CTA lines — dark institutional treatment */
.article-content p:has(strong:only-child) {
    color: #171717 !important;
}

.article-content p:has(strong:only-child) strong {
    color: #171717 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-transform: none !important;
}


/* Bottom Line — institutional editorial callout */
.article-bottom-line {
    margin: 0 0 40px;
    padding-left: 24px;
    border-left: 3px solid #171717;
}

.article-bottom-line p {
    margin-bottom: 18px !important;
}

.article-bottom-line p:last-child {
    margin-bottom: 0 !important;
}


/* ==========================================================
   ARTICLE META — MOBILE SINGLE ROW
========================================================== */

@media (max-width: 768px) {

    .article-meta {
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        width: 100% !important;
        margin-top: 24px !important;
    }

    .article-meta-person {
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    .article-meta-detail {
        flex: 0 0 auto !important;
        font-size: 11px !important;
    }

    .article-fact-check {
        margin-left: 0 !important;
        flex: 0 0 auto !important;
    }

    .article-fact-check-badge {
        padding: 6px 8px !important;
        font-size: 10px !important;
        gap: 4px !important;
    }

    .article-fact-check-badge .material-symbols-outlined {
        font-size: 15px !important;
    }

}


/* ==========================================================
   ARTICLE — FINAL INSTITUTIONAL BODY / LIST / LINK STYLE
========================================================== */

.article-content ul,
.article-content ol {
    margin: 0 0 18px !important;
    padding-left: 24px !important;
    color: #252525 !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
}

.article-content li {
    margin: 0 0 7px !important;
    padding: 0 !important;
    line-height: 1.6 !important;
}

.article-content li:last-child {
    margin-bottom: 0 !important;
}

/* Normal article links */
.article-content a {
    color: #171717 !important;
    text-decoration: none !important;
    text-transform: none !important;
}

/* Bold remains bold — not underlined */
.article-content strong {
    color: #171717 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

/* Editorial CTA links such as:
   EXPLORE SOUTH FLORIDA HOMES →
   SEARCH FORT LAUDERDALE HOMES →
*/
.article-content p a {
    color: #171717 !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
}

/* Numbered article points are not headings */
.article-content .article-numbered-point {
    margin: 28px 0 10px !important;
    color: #171717 !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
    font-weight: 600 !important;
}

/* Mobile */
@media (max-width: 768px) {

    .article-content ul,
    .article-content ol {
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .article-content li {
        line-height: 1.55 !important;
        margin-bottom: 5px !important;
    }

    .article-content .article-numbered-point {
        font-size: 14px !important;
        line-height: 1.55 !important;
        margin: 22px 0 8px !important;
    }

}


/* ============================================================
   INSIGHTS CATEGORY COLORS
   ============================================================ */

.rility-insights-categories .insights-category-pill {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.rility-insights-categories .insights-category-pill:hover {
  transform: translateY(-2px);
  filter: brightness(0.97);
}

/* Buying — blue */
.category-buying {
  --category-color: #2563eb;
  --category-bg: #eff6ff;
  --category-border: #bfdbfe;
}

/* Selling — coral */
.category-selling {
  --category-color: #e11d48;
  --category-bg: #fff1f2;
  --category-border: #fecdd3;
}

/* Investment — emerald */
.category-investment {
  --category-color: #059669;
  --category-bg: #ecfdf5;
  --category-border: #a7f3d0;
}

/* Luxury Real Estate — gold */
.category-luxury-real-estate {
  --category-color: #a16207;
  --category-bg: #fefce8;
  --category-border: #fde68a;
}

/* New Construction — violet */
.category-new-construction {
  --category-color: #7c3aed;
  --category-bg: #f5f3ff;
  --category-border: #ddd6fe;
}

/* Market Trends — orange */
.category-market-trends {
  --category-color: #ea580c;
  --category-bg: #fff7ed;
  --category-border: #fed7aa;
}

/* Real Estate Technology — cyan */
.category-real-estate-technology {
  --category-color: #0891b2;
  --category-bg: #ecfeff;
  --category-border: #a5f3fc;
}


/* Hero category pills */
.rility-insights-categories .insights-category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--category-color);
  background: var(--category-bg);
  border: 1px solid var(--category-border);

  text-decoration: none;
  font-weight: 600;
}


/* Article/card category labels */
.rility-insights-card__category,
.insight-card-category,
.insights-editorial-item__category {
  color: var(--category-color);
}


/* Small colored marker for editorial category */
.insights-editorial-item__category::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--category-color);
  vertical-align: middle;
}


/* ============================================================
   ARTICLE — CONTINUE READING
   Match the Insights index bottom slider
   ============================================================ */

.continue-reading {
  width: 100%;
  margin-top: 96px;
  padding: 0;
}

.continue-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.continue-header > div {
  display: flex;
  flex-direction: column;
}

.continue-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #8a8f98;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.continue-header h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.continue-header > a {
  flex-shrink: 0;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.continue-header > a:hover {
  color: #666f7a;
}

.continue-slider-container {
  width: 100%;
  overflow: hidden;
}

.continue-slider {
  display: flex;
  gap: 24px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.continue-slider::-webkit-scrollbar {
  display: none;
}

.continue-card {
  position: relative;
  flex: 0 0 min(360px, 80vw);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #e7e8eb;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  scroll-snap-align: start;
  transform: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.continue-card:hover {
  transform: none;
  border-color: #dfe1e5;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.07);
}

.continue-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.continue-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f2f4;
}

.continue-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition:
    transform 500ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.continue-card:hover .continue-image img {
  transform: scale(1.045);
}

.continue-content {
  padding: 20px 21px 22px;
}

.continue-category {
  display: inline-block;
  margin-bottom: 10px;
  color: #747b85;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
}

.continue-content h3 {
  margin: 0;
  color: #151922;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.continue-content p {
  margin: 12px 0 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

.continue-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
  color: #8a9099;
  font-size: 12px;
  line-height: 1.4;
}

.continue-meta span + span::before {
  content: "•";
  margin-right: 8px;
  color: #c3c6cb;
}

.continue-read-link {
  display: inline-block;
  margin-top: 17px;
  color: #151922;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  transition: color 180ms ease;
}

.continue-card:hover .continue-read-link {
  color: #666f7a;
}

.continue-card-link:focus-visible {
  outline: 2px solid #151922;
  outline-offset: -3px;
  border-radius: 18px;
}

@media (max-width: 768px) {

  .continue-reading {
    margin-top: 68px;
  }

  .continue-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 22px;
  }

  .continue-header h2 {
    font-size: 30px;
  }

  .continue-slider {
    gap: 16px;
    padding-bottom: 14px;
  }

  .continue-card {
    flex-basis: min(320px, 82vw);
    border-radius: 15px;
  }

  .continue-content {
    padding: 18px 18px 20px;
  }

  .continue-content h3 {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .continue-slider {
    scroll-behavior: auto;
  }

  .continue-card,
  .continue-image img,
  .continue-header > a,
  .continue-read-link {
    transition: none;
  }
}



/* ============================================================
   ARTICLE — CONTINUE READING
   Match the Insights index bottom slider
   ============================================================ */

.continue-reading.insights-slider-section {
  position: relative;
  width: 100%;
  margin: 96px 0 0;
  padding: 0 0 100px;
}

.continue-reading .insights-slider-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.continue-reading .insights-slider-heading {
  min-width: 0;
}

.continue-reading .continue-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #8a8a8a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.continue-reading .insights-slider-heading h2 {
  margin: 0;
}

.continue-reading .continue-view-all {
  flex: 0 0 auto;
  color: inherit;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.continue-reading .continue-view-all:hover {
  text-decoration: underline;
}


/* Keep the same slider/card geometry as the index */

.continue-reading .insights-slider {
  width: 100%;
  overflow: hidden;
}

.continue-reading .insights-slider__track {
  display: flex;
  gap: 24px;
  width: max-content;
}


/* Card itself does NOT move on hover */

.continue-reading .insights-slider-card {
  flex: 0 0 360px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  box-shadow: none;
  transform: none !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.continue-reading .insights-slider-card:hover {
  transform: none !important;
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: none;
}


/* Entire card remains clickable */

.continue-reading .insights-slider-card > a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}


/* Image stays inside its frame */

.continue-reading .insights-slider-card__image {
  position: relative;
  width: 100%;
  height: 235px;
  overflow: hidden;
  background: #eee;
}

.continue-reading .insights-slider-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}


/* Image grows in place — card does not move */

.continue-reading .insights-slider-card:hover
.insights-slider-card__image img {
  transform: scale(1.055);
}


/* Text area */

.continue-reading .insights-slider-card__content {
  padding: 22px 22px 24px;
}

.continue-reading .insights-slider-card__content h3 {
  margin: 10px 0 0;
  color: #171717;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.25;
}

.continue-reading .insights-slider-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  color: #858585;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.continue-reading .insights-slider-card__meta span:first-child {
  color: #555;
}

.continue-reading .insights-slider-card__content p {
  margin: 14px 0 0;
  color: #707070;
  font-size: 14px;
  line-height: 1.6;
}


/* Mobile */

@media (max-width: 767px) {

  .continue-reading.insights-slider-section {
    margin-top: 64px;
    padding-bottom: 64px;
  }

  .continue-reading .insights-slider-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
  }

  .continue-reading .insights-slider-card {
    flex-basis: 82vw;
  }

  .continue-reading .insights-slider-card__image {
    height: 210px;
  }

  .continue-reading .insights-slider-card__content {
    padding: 18px 18px 20px;
  }

  .continue-reading .insights-slider-card__content h3 {
    font-size: 19px;
  }

}


/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {

  .continue-reading .insights-slider-card,
  .continue-reading .insights-slider-card__image img {
    transition: none;
  }

  .continue-reading .insights-slider-card:hover
  .insights-slider-card__image img {
    transform: none;
  }

}


/* =========================================================
   CATEGORY PAGE
   Uses the same category pills as Insights index.
   ========================================================= */

.category-page-categories {
    margin-top: 28px;
    margin-bottom: 0;
}

.category-page-categories .insights-category-pill.is-active {
    box-shadow:
        0 4px 14px color-mix(
            in srgb,
            var(--category-color) 18%,
            transparent
        );

    transform: translateY(-1px);
}

@media (max-width: 768px) {

    .category-page-categories {
        justify-content: flex-start;

        width: 100%;
        max-width: 100%;

        flex-wrap: nowrap;

        overflow-x: auto;
        overflow-y: hidden;

        padding: 2px 2px 8px;

        margin-top: 22px;

        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .category-page-categories::-webkit-scrollbar {
        display: none;
    }

    .category-page-categories a {
        flex: 0 0 auto;
    }

}


/* =========================================================
   CATEGORY PAGE — GOOGLE STYLE CATEGORY TOGGLE
   Uses the existing Rility category colors.
   ========================================================= */

.category-page-categories {
    display: flex;
    align-items: center;
    justify-content: center;

    width: fit-content;
    max-width: 100%;

    margin: 28px auto 0;
    padding: 5px;

    gap: 4px;

    background: #f3f4f6;

    border: 1px solid rgba(17, 17, 17, .08);

    border-radius: 999px;

    box-shadow:
        inset 0 1px 2px rgba(0, 0, 0, .04),
        0 3px 12px rgba(0, 0, 0, .04);

    overflow-x: auto;
    scrollbar-width: none;
}

.category-page-categories::-webkit-scrollbar {
    display: none;
}


/*
   Category links retain the SAME color system
   used throughout Insights.
*/

.category-page-categories .insights-category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    padding: 9px 14px;

    border: 1px solid transparent;
    border-radius: 999px;

    color: var(--category-color);
    background: var(--category-bg);

    text-decoration: none;

    font-size: 12px;
    line-height: 1;
    font-weight: 600;

    white-space: nowrap;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        filter .18s ease;
}


/* Hover */

.category-page-categories
.insights-category-pill:hover {

    transform: translateY(-1px);

    filter: brightness(.97);

}


/* Active = slightly stronger version of SAME color */

.category-page-categories
.insights-category-pill.is-active {

    border-color: var(--category-border);

    box-shadow:
        0 3px 10px color-mix(
            in srgb,
            var(--category-color) 20%,
            transparent
        );

    transform: translateY(-1px);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .category-page-categories {

        justify-content: flex-start;

        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);

        margin-top: 22px;

        padding: 4px;

        gap: 4px;

        overflow-x: auto;
        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }


    .category-page-categories
    .insights-category-pill {

        flex: 0 0 auto;

        padding: 8px 12px;

        font-size: 11px;
    }

}

/* ==========================================================
   UNIVERSAL INSIGHTS CATEGORY PILL
   Soft, borderless, all-caps treatment across Insights.
========================================================== */

.insights-category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 30px;
    padding: 7px 13px;

    border: 0;
    border-radius: 999px;

    color: var(--category-color, #2563eb);
    background: var(--category-bg, #eff6ff);

    font-size: 11px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .075em;
    text-transform: uppercase;

    text-decoration: none;
    white-space: nowrap;

    box-shadow: none;

    transition:
        background-color .18s ease,
        color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.insights-category-pill:hover {
    border: 0;

    background: color-mix(
        in srgb,
        var(--category-bg, #eff6ff) 82%,
        var(--category-color, #2563eb)
    );

    color: var(--category-color, #2563eb);

    transform: translateY(-1px);

    box-shadow:
        0 4px 12px rgba(15, 23, 42, .045);
}

.insights-category-pill:active {
    transform: translateY(0);

    background: color-mix(
        in srgb,
        var(--category-bg, #eff6ff) 72%,
        var(--category-color, #2563eb)
    );

    box-shadow:
        0 2px 6px rgba(15, 23, 42, .035);
}

.insights-category-pill:focus-visible {
    outline: 2px solid color-mix(
        in srgb,
        var(--category-color, #2563eb) 30%,
        transparent
    );
    outline-offset: 3px;
}

/* Category navigation uses the same pill component. */

.rility-insights-categories {
    position: relative;
    z-index: 10;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 9px;

    max-width: 850px;
    margin: 30px auto 0;
}

.rility-insights-categories .insights-category-pill {
    margin: 0;
}

@media (max-width: 768px) {

    .insights-category-pill {
        min-height: 29px;
        padding: 6px 11px;

        font-size: 10px;
        letter-spacing: .07em;
    }

    .rility-insights-categories {
        gap: 7px;
        margin-top: 25px;
    }
}



/* ==========================================================
   CATEGORY PAGE — CLEAN EDITORIAL ARTICLE GRID
   ========================================================== */

.category-page {
    width: 100%;
    min-height: 100vh;
    background: #fff;
    color: #111;
}

.category-width {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.category-hero {
    padding: 150px 0 70px;
}

.category-hero h1 {
    margin: 0;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -2.8px;
    font-weight: 600;
    color: #111;
}

.category-hero .article-subtitle {
    max-width: 700px;
    margin: 22px 0 0;
    color: #6b7280;
    font-size: 18px;
    line-height: 1.7;
}


/* ==========================================================
   GRID
   ========================================================== */

.category-articles {
    width: var(--page-width);
    margin: 0 auto;
    padding: 0 0 120px;
}

.category-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 28px;
}


/* ==========================================================
   CARD
   ========================================================== */

.category-article-card {
    min-width: 0;
    background: #fff;
}

.category-article-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 26px;
    background: #f4f4f4;
}

.category-article-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition:
        transform .45s cubic-bezier(.2,.7,.2,1),
        filter .45s ease;
}

.category-article-card:hover
.category-article-card__image img {
    transform: scale(1.025);
    filter: brightness(.98);
}


/* ==========================================================
   BODY
   ========================================================== */

.category-article-card__body {
    padding: 20px 4px 0;
}


/* ==========================================================
   CATEGORY PILL
   Same visual language everywhere
   ========================================================== */

.category-article-card__pill {
    display: inline-flex;
    align-items: center;

    padding: 6px 10px;

    border: 0;
    border-radius: 999px;

    background: var(--category-bg, #f5f5f5);
    color: var(--category-color, #555);

    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;

    white-space: nowrap;
}


/* ==========================================================
   TITLE
   ========================================================== */

.category-article-card__title {
    margin: 14px 0 0;

    font-size: 22px;
    line-height: 1.28;
    letter-spacing: -.65px;
    font-weight: 600;
}

.category-article-card__title a {
    color: #111;
    text-decoration: none;
}

.category-article-card__title a:hover {
    color: #333;
}


/* ==========================================================
   EXCERPT
   ========================================================== */

.category-article-card__excerpt {
    margin: 12px 0 0;

    color: #6b7280;

    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================================
   READ LINK
   ========================================================== */

.category-article-card__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-top: 17px;

    color: #111;
    text-decoration: none;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: .01em;

    transition:
        color .2s ease,
        gap .2s ease;
}

.category-article-card__link span {
    font-size: 16px;
    line-height: 1;
}

.category-article-card__link:hover {
    color: #6D5DFB;
    gap: 10px;
}


/* ==========================================================
   CATEGORY COLORS
   ========================================================== */

.category-buying {
    --category-color: #2563eb;
    --category-bg: #eff6ff;
}

.category-selling {
    --category-color: #e11d48;
    --category-bg: #fff1f2;
}

.category-investment {
    --category-color: #059669;
    --category-bg: #ecfdf5;
}

.category-luxury-real-estate {
    --category-color: #a16207;
    --category-bg: #fefce8;
}

.category-new-construction {
    --category-color: #7c3aed;
    --category-bg: #f5f3ff;
}

.category-market-trends {
    --category-color: #ea580c;
    --category-bg: #fff7ed;
}

.category-real-estate-technology {
    --category-color: #0891b2;
    --category-bg: #ecfeff;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .category-articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px 24px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 768px) {

    .category-hero {
        padding: 110px 0 54px;
    }

    .category-hero h1 {
        font-size: 42px;
        letter-spacing: -1.8px;
    }

    .category-hero .article-subtitle {
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.65;
    }

    .category-articles {
        padding-bottom: 80px;
    }

    .category-articles-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .category-article-card__image {
        border-radius: 22px;
    }

    .category-article-card__body {
        padding-top: 17px;
    }

    .category-article-card__title {
        font-size: 21px;
    }

}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 480px) {

    .category-hero {
        padding-top: 96px;
    }

    .category-hero h1 {
        font-size: 36px;
    }

    .category-article-card__excerpt {
        font-size: 14px;
    }

}



/* ==========================================================
   CATEGORY PAGE — USE SHARED INSIGHTS WIDTH
   ========================================================== */

.category-width,
.category-articles {
    width: var(--page-width);
    max-width: none;
}


/* Keep the same centered content behavior */
.category-width,
.category-articles {
    margin-left: auto;
    margin-right: auto;
}


/* Mobile follows the shared page width */
@media (max-width: 768px) {

    .category-width,
    .category-articles {
        width: var(--page-width);
    }

}



/* ==========================================================
   CONTINUE READING
   Same visual system as CATEGORY ARTICLE CARDS
   Horizontal slider remains intact.
========================================================== */

.continue-reading .insights-slider-card {
    flex: 0 0 360px;
    min-width: 0;

    background: #fff;

    border: 0;
    border-radius: 0;

    overflow: visible;

    transition:
        transform .3s ease;
}


.continue-reading .insights-slider-card:hover {
    transform: translateY(-3px);
}


/* Image */

.continue-reading .insights-slider-card__image {
    display: block;

    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;

    overflow: hidden;

    border-radius: 26px;

    background: #f4f4f4;
}


.continue-reading .insights-slider-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .45s cubic-bezier(.2,.7,.2,1),
        filter .45s ease;
}


.continue-reading .insights-slider-card:hover
.insights-slider-card__image img {
    transform: scale(1.025);
}


/* Content */

.continue-reading .insights-slider-card__content {
    padding: 20px 4px 0;
}


/* Same category pill used by category pages */

.continue-reading .category-article-card__pill {
    display: inline-flex;
    align-items: center;

    padding: 6px 10px;

    border: 0;
    border-radius: 999px;

    background: var(--category-bg, #f5f5f5);
    color: var(--category-color, #555);

    font-size: 10px;
    line-height: 1;
    font-weight: 700;

    letter-spacing: .12em;
    text-transform: uppercase;

    white-space: nowrap;
}


/* Title */

.continue-reading .insights-slider-card__content h3 {
    margin: 14px 0 0;

    color: #111;

    font-size: 22px;
    line-height: 1.28;

    letter-spacing: -.65px;
    font-weight: 600;
}


/* Excerpt */

.continue-reading .insights-slider-card__content p {
    margin: 12px 0 0;

    color: #6b7280;

    font-size: 14px;
    line-height: 1.7;
}


/* Read Article */

.continue-reading .insights-slider-card__read {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-top: 17px;

    color: #111;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: .01em;

    transition:
        color .2s ease,
        gap .2s ease;
}


.continue-reading .insights-slider-card__read > span {
    font-size: 16px;
    line-height: 1;
}


.continue-reading .insights-slider-card:hover
.insights-slider-card__read {
    color: #333;
    gap: 10px;
}


/* Desktop / tablet */

@media (max-width: 1100px) {

    .continue-reading .insights-slider-card {
        flex-basis: 320px;
    }

}


/* Mobile */

@media (max-width: 767px) {

    .continue-reading .insights-slider-card {
        flex-basis: 82vw;
    }

    .continue-reading .insights-slider-card__image {
        border-radius: 22px;
    }

    .continue-reading .insights-slider-card__content {
        padding-top: 17px;
    }

    .continue-reading .insights-slider-card__content h3 {
        font-size: 21px;
    }

}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

    .continue-reading .insights-slider-card,
    .continue-reading .insights-slider-card__image img,
    .continue-reading .insights-slider-card__read {
        transition: none;
    }

}



/* ==========================================================
   CONTINUE READING — FULL-WIDTH SLIDER
   Header stays aligned to the site's shared page width.
========================================================== */

.continue-reading.insights-slider-section {
    width: 100%;
    max-width: none;
}


/* Header aligns with the rest of the site */

.continue-reading .insights-slider-header {
    width: var(--page-width);
    max-width: none;

    margin-left: auto;
    margin-right: auto;
}


/* Slider itself is full viewport width */

.continue-reading .insights-slider {
    width: 100%;
    max-width: none;

    margin-left: 0;
    margin-right: 0;
}


/* Keep cards starting at the same visual left edge,
   while allowing the track to continue beyond the viewport. */

.continue-reading .insights-slider__track {
    padding-left: max(
        0px,
        calc((100vw - var(--page-width)) / 2)
    );

    padding-right: 24px;
}


/* Mobile: shared page width naturally becomes viewport width */

@media (max-width: 768px) {

    .continue-reading .insights-slider-header {
        width: var(--page-width);
    }

    .continue-reading .insights-slider__track {
        padding-left: 16px;
        padding-right: 16px;
    }

}



/* ==========================================================
   CONTINUE READING — FULL-WIDTH SLIDER
   Header stays aligned to the site's shared page width.
========================================================== */

.continue-reading.insights-slider-section {
    width: 100%;
    max-width: none;
}


/* Header aligns with the rest of the site */

.continue-reading .insights-slider-header {
    width: var(--page-width);
    max-width: none;

    margin-left: auto;
    margin-right: auto;
}


/* Slider itself is full viewport width */

.continue-reading .insights-slider {
    width: 100%;
    max-width: none;

    margin-left: 0;
    margin-right: 0;
}


/* Keep cards starting at the same visual left edge,
   while allowing the track to continue beyond the viewport. */

.continue-reading .insights-slider__track {
    padding-left: max(
        0px,
        calc((100vw - var(--page-width)) / 2)
    );

    padding-right: 24px;
}


/* Mobile: shared page width naturally becomes viewport width */

@media (max-width: 768px) {

    .continue-reading .insights-slider-header {
        width: var(--page-width);
    }

    .continue-reading .insights-slider__track {
        padding-left: 16px;
        padding-right: 16px;
    }

}



/* ==========================================================
   CONTINUE READING — FINAL SLIDER LAYOUT
   Header = site width
   Slider = full viewport width
   ========================================================== */

.continue-reading.insights-slider-section {
    width: 100%;
    max-width: none;
}

.continue-reading .insights-slider-header {
    width: var(--page-width);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.continue-reading .insights-slider {
    width: 100%;
    max-width: none;
    overflow: hidden;
}

.continue-reading .insights-slider__track {
    padding-left: max(
        0px,
        calc((100vw - var(--page-width)) / 2)
    );
    padding-right: 24px;
}

.continue-reading .insights-slider-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {

    .continue-reading .insights-slider-header {
        width: var(--page-width);
    }

    .continue-reading .insights-slider__track {
        padding-left: 16px;
        padding-right: 16px;
    }

}

/* ==========================================================
   CONTINUE READING — NATIVE TOUCH / TRACKPAD SCROLL
   ========================================================== */

.continue-reading .insights-slider {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.continue-reading .insights-slider::-webkit-scrollbar {
    display: none;
}

.continue-reading .insights-slider__track {
    transform: none !important;
    width: max-content;
    touch-action: pan-x;
}


/* ==========================================================
   ARTICLE CONTINUE READING — SIMPLE HEADER
   Headline left, arrows right
   ========================================================== */

.continue-reading .insights-slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.continue-reading .insights-slider-heading {
    min-width: 0;
}

.continue-reading .insights-slider-heading h2 {
    margin: 0;
}

.continue-reading .insights-slider-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}



/* ==========================================================
   ARTICLE — CONTINUE READING HEADER
   Headline left / arrows right on all screen sizes
   ========================================================== */

.continue-reading .insights-slider-header {
    width: var(--page-width);
    max-width: none;
    margin-left: auto;
    margin-right: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
    margin-bottom: 28px;
}

.continue-reading .insights-slider-heading {
    min-width: 0;
}

.continue-reading .insights-slider-heading h2 {
    margin: 0;

    font-size: 44px;
    line-height: 1.15;
    letter-spacing: -1.5px;
    font-weight: 600;

    color: #111;
}

.continue-reading .insights-slider-controls {
    display: flex;
    align-items: center;
    gap: 12px;

    flex-shrink: 0;
}

.continue-reading .insights-slider-arrow {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid #ddd;
    border-radius: 50%;

    background: #fff;
    color: #111;

    cursor: pointer;

    font-size: 19px;
    line-height: 1;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease;
}

.continue-reading .insights-slider-arrow:hover:not(:disabled) {
    background: #111;
    border-color: #111;
    color: #fff;
}

.continue-reading .insights-slider-arrow:disabled {
    opacity: .35;
    cursor: default;
}


/* Touch scrolling */
.continue-reading .insights-slider {
    overflow-x: auto;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.continue-reading .insights-slider::-webkit-scrollbar {
    display: none;
}


/* Mobile: headline stays left, arrows stay right */
@media (max-width: 768px) {

    .continue-reading .insights-slider-header {
        width: var(--page-width);

        align-items: center;
        justify-content: space-between;

        gap: 16px;
        margin-bottom: 22px;
    }

    .continue-reading .insights-slider-heading h2 {
        font-size: 30px;
        letter-spacing: -1px;
    }

    .continue-reading .insights-slider-controls {
        gap: 8px;
    }

    .continue-reading .insights-slider-arrow {
        width: 38px;
        height: 38px;

        font-size: 17px;
    }

}


/* ==========================================================
   ARTICLE CONTINUE READING — FINAL SLIDER BEHAVIOUR
   ========================================================== */

.continue-reading .insights-slider {
    width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
}

.continue-reading .insights-slider__track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;

    gap: 28px;

    transform: none;

    padding-left: max(
        0px,
        calc((100vw - var(--page-width)) / 2)
    );
    padding-right: 24px;
}

.continue-reading .insights-slider-card {
    flex: 0 0 296px;
}


/* Mobile */
@media (max-width: 768px) {

    .continue-reading .insights-slider-header {
        width: calc(100% - 32px);
        margin-left: 16px;
        margin-right: 16px;

        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;

        gap: 12px;
    }

    .continue-reading .insights-slider-heading {
        flex: 1 1 auto;
    }

    .continue-reading .insights-slider-heading h2 {
        margin: 0;
        font-size: 30px;
        line-height: 1.15;
        white-space: nowrap;
    }

    .continue-reading .insights-slider-controls {
        flex: 0 0 auto;
        display: flex;
        flex-direction: row;
        gap: 8px;
    }

    .continue-reading .insights-slider {
        overflow-x: auto;
        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;

        scrollbar-width: none;
    }

    .continue-reading .insights-slider::-webkit-scrollbar {
        display: none;
    }

    .continue-reading .insights-slider__track {
        padding-left: 16px;
        padding-right: 16px;
    }

    .continue-reading .insights-slider-card {
        flex: 0 0 82vw;
    }

}

/* Article page — match market/stats/footer horizontal spacing */
.article-width,
.article-container,
.continue-reading {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

@media (min-width: 901px) {
    .article-width,
    .article-container,
    .continue-reading {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media (max-width: 900px) {
    .article-width,
    .article-container,
    .continue-reading {
        padding-left: 20px;
        padding-right: 20px;
    }
}


/* Force Insights hero title to pure black */
.rility-insights-hero__title,
.rility-insights-hero__title span {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
}

.rility-insights-categories .insights-category-pill {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
