/* =====================================================================
   Deliberate Trading - Resources section (hub, section landings, item pages)
   Loaded only on /resources/ pages (via resources/includes/seo_meta.cfm).
   Uses the site fonts (Inter / Geist) and brand blue #1f57a4.
   ===================================================================== */
:root {
    --res-blue: #1f57a4;
    --res-blue-dark: #17447f;
    --res-blue-bright: #1f63d6;
    --res-navy: #0a2350;
    --res-ink: #070c3b;
    --res-text: #2b3245;
    --res-muted: #5b6475;
    --res-line: #e3eaf3;
    --res-soft: #f3f8fe;
    --res-soft-2: #eaf2fd;
    --res-green: #17a34a;
    --res-radius: 14px;
    --res-shadow: 0 6px 24px rgba(18, 9, 61, 0.07);
}

.res-page { color: var(--res-text); background: #fff; overflow-x: hidden; }
.res-page h1, .res-page h2, .res-page h3, .res-page h4 { font-family: 'Geist', 'Inter', sans-serif; color: var(--res-ink); }
.res-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.res-page a { text-decoration: none; }
.res-page img { max-width: 100%; height: auto; }

/* ---------- Hero banner ---------- */
.res-hero {
    position: relative;
    color: #fff;
    background: var(--res-navy) url('/resources/img/DT_Shared_Banner_1920x480.jpg') center right / cover no-repeat;
    padding: 18px 0 34px;
}
.res-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; margin-bottom: 18px; color: rgba(255, 255, 255, .85); }
.res-crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .45); }
.res-crumbs a:hover { text-decoration-color: #fff; }
.res-crumbs .sep { opacity: .7; font-size: 11px; }
.res-crumbs .home { text-decoration: none; font-size: 15px; line-height: 1; }
.res-hero-row { display: flex; align-items: center; gap: 24px; }
.res-hero-icon {
    flex: 0 0 72px; width: 72px; height: 72px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(160deg, #2f7bf0, #1650b8); color: #fff; font-size: 34px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}
.res-hero-text { border-left: 1px solid rgba(255, 255, 255, .35); padding-left: 24px; max-width: 920px; }
.res-hero-eyebrow { font-size: 17px; margin: 0 0 2px; color: rgba(255, 255, 255, .92); }
.res-hero h1, .res-hero .res-hero-title { color: #fff; font-size: 40px; font-weight: 600; line-height: 1.15; margin: 0 0 8px; }
.res-hero p.res-hero-sub { font-size: 17px; line-height: 1.5; margin: 0; color: rgba(255, 255, 255, .92); }

/* ---------- Generic blocks ---------- */
.res-section { padding: 36px 0; }
.res-section + .res-section { padding-top: 0; }
.res-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--res-blue-bright); color: #fff !important; border: 1px solid var(--res-blue-bright);
    border-radius: 8px; padding: 10px 20px; font-weight: 600; font-size: 15px; line-height: 1.3;
    transition: background .2s ease, border-color .2s ease; cursor: pointer;
}
.res-btn:hover { background: var(--res-blue); border-color: var(--res-blue); }
.res-btn.outline { background: #fff; color: var(--res-blue) !important; border-color: rgba(31, 87, 164, .45); }
.res-btn.outline:hover { background: var(--res-soft); }
.res-btn.block { width: 100%; }
.res-meta-dur { display: inline-flex; align-items: center; gap: 6px; color: var(--res-muted); font-size: 14px; }
.res-coming-soon {
    border: 1px dashed #c7d6ec; background: var(--res-soft); border-radius: var(--res-radius);
    padding: 40px 24px; text-align: center;
}
.res-coming-soon h3 { font-size: 24px; margin: 0 0 6px; }
.res-coming-soon p { margin: 0; color: var(--res-muted); }

/* ---------- Featured lessons (Start Here / Latest) ---------- */
.res-featured { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.res-featured.single { grid-template-columns: minmax(0, 1fr); }
.res-feat-card {
    display: flex; gap: 18px; align-items: stretch; background: #fff; border: 1px solid var(--res-line);
    border-radius: var(--res-radius); padding: 16px; box-shadow: var(--res-shadow);
}
.res-feat-card.latest { background: var(--res-soft); border-color: #d4e3f8; }
.res-feat-body { flex: 1 1 auto; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.res-feat-label { display: inline-block; background: #dbe8fb; color: var(--res-blue); font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; border-radius: 6px; padding: 3px 9px; margin-bottom: 10px; }
.res-feat-card h3 { font-size: 23px; line-height: 1.2; margin: 0 0 8px; font-weight: 700; }
.res-feat-card h3 a { color: var(--res-ink); }
.res-feat-card p { font-size: 14.5px; margin: 0 0 10px; color: var(--res-text); }
.res-feat-card .res-meta-dur { margin-bottom: 14px; }
.res-feat-card .res-btn { margin-top: auto; }
.res-feat-media { flex: 0 0 44%; max-width: 44%; }

/* image box with optional play button, used by featured + catalog cards */
.res-thumb { position: relative; display: block; border-radius: 10px; overflow: hidden; background: #dfe7f3; aspect-ratio: 16 / 9; }
.res-feat-media .res-thumb { height: 100%; min-height: 160px; aspect-ratio: auto; }
.res-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.res-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 58px; height: 58px; border-radius: 50%; background: var(--res-blue-bright); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 30px; padding-left: 4px;
    border: 3px solid #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); transition: transform .2s ease;
}
.res-thumb:hover .res-play { transform: translate(-50%, -50%) scale(1.08); }

/* ---------- Pillars strip ---------- */
.res-pillars {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    background: var(--res-soft); border-radius: var(--res-radius); padding: 18px 10px;
}
.res-pillar { display: flex; gap: 12px; align-items: center; padding: 4px 16px; }
.res-pillar + .res-pillar { border-left: 1px solid #d4e1f3; }
.res-pillar i { font-size: 28px; color: var(--res-blue-bright); flex: 0 0 auto; }
.res-pillar strong { display: block; color: var(--res-ink); font-size: 15px; }
.res-pillar span { display: block; font-size: 12.5px; color: var(--res-muted); line-height: 1.35; }

/* ---------- Library / catalog ---------- */
.res-lib-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; padding-top: 28px; border-top: 1px solid var(--res-line); }
.res-lib-head h2 { font-size: 32px; margin: 0; font-weight: 700; }
.res-lib-count { color: var(--res-muted); font-size: 15px; }
.res-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.res-card {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--res-line);
    border-radius: var(--res-radius); padding: 10px 10px 14px; box-shadow: var(--res-shadow);
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.res-card:hover { border-color: #b9cff0; box-shadow: 0 10px 28px rgba(18, 9, 61, .12); transform: translateY(-2px); }
.res-card .res-thumb { margin-bottom: 12px; }
.res-badge { position: absolute; left: 10px; bottom: 10px; background: var(--res-blue-bright); color: #fff; font-weight: 600; font-size: 14px; padding: 3px 11px; border-radius: 7px; }
.res-card h3 { font-size: 18px; font-weight: 700; line-height: 1.25; margin: 0 6px 6px; color: var(--res-ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.res-card p { font-size: 14.5px; line-height: 1.45; margin: 0 6px 12px; color: var(--res-text);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.res-card-foot { margin: auto 6px 0; display: flex; align-items: center; justify-content: space-between; }
.res-card-cta { color: var(--res-blue-bright); font-weight: 700; font-size: 15px; display: inline-flex; gap: 6px; align-items: center; }
.res-loadmore-wrap { text-align: center; margin-top: 28px; }
.res-loadmore-on .is-more { display: none; }

/* ---------- CTA band ---------- */
.res-cta {
    display: flex; align-items: center; gap: 24px; background: linear-gradient(100deg, #f2f7fe 0%, #e5effc 100%);
    border: 1px solid #d9e6f8; border-radius: var(--res-radius); padding: 22px 28px; margin: 8px 0;
}
.res-cta-icon { font-size: 46px; color: var(--res-green); flex: 0 0 auto; line-height: 1; }
.res-cta-text { flex: 1 1 auto; border-left: 1px solid #c3d4ec; padding-left: 24px; }
.res-cta-text h2 { font-size: 23px; margin: 0 0 4px; font-weight: 700; }
.res-cta-text p { margin: 0; color: var(--res-text); font-size: 15px; }
.res-cta .res-btn { flex: 0 0 auto; padding: 12px 22px; }

/* ---------- Hub page ---------- */
.res-intro { text-align: center; max-width: 900px; margin: 0 auto 28px; }
.res-eyebrow { display: inline-flex; align-items: center; gap: 14px; color: var(--res-blue); font-weight: 700; letter-spacing: .06em; font-size: 14px; margin-bottom: 10px; }
.res-eyebrow::before, .res-eyebrow::after { content: ""; width: 50px; height: 1px; background: var(--res-blue); opacity: .6; }
.res-intro h2 { font-size: 38px; font-weight: 700; margin: 0 0 10px; line-height: 1.2; }
.res-intro h2 span { color: var(--res-blue-bright); }
.res-intro p { font-size: 17px; color: var(--res-muted); margin: 0; }
.res-hub-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.res-hub-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--res-line); border-radius: var(--res-radius); overflow: hidden; box-shadow: var(--res-shadow); }
.res-hub-img { position: relative; aspect-ratio: 16 / 9; background: #dfe7f3; }
.res-hub-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.res-hub-img .res-hub-badge {
    position: absolute; left: 16px; bottom: -20px; width: 44px; height: 44px; border-radius: 10px;
    background: var(--res-blue-bright); color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 21px; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}
.res-hub-body { padding: 30px 18px 18px; display: flex; flex-direction: column; flex: 1 1 auto; }
.res-hub-body h3 { font-size: 22px; font-weight: 700; margin: 0 0 10px; }
.res-hub-body p { font-size: 14.5px; margin: 0 0 18px; }
.res-hub-body .res-btn { margin-top: auto; }
.res-find h2 { font-size: 32px; font-weight: 700; margin: 0 0 24px; }
.res-find-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.res-find-item { text-align: center; padding: 6px 18px; }
.res-find-item + .res-find-item { border-left: 1px solid var(--res-line); }
.res-find-item i { font-size: 44px; color: var(--res-blue-bright); display: block; margin-bottom: 10px; }
.res-find-item h3 { font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.res-find-item p { margin: 0; font-size: 15px; color: var(--res-text); }
.res-final {
    display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); border-radius: var(--res-radius);
    overflow: hidden; background: linear-gradient(100deg, #f2f7fe 0%, #e3eefc 100%); border: 1px solid #d9e6f8;
}
.res-final-img { position: relative; min-height: 220px; }
.res-final-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.res-final-body { padding: 34px 34px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.res-final-body h2 { font-size: 30px; font-weight: 700; margin: 0 0 10px; }
.res-final-body p { font-size: 16.5px; margin: 0 0 20px; }

/* ---------- Individual lesson page ---------- */
.res-article { max-width: 1060px; margin: 0 auto; }
.res-video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.res-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.res-item-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 0; padding: 18px 0; border-bottom: 1px solid var(--res-line); margin-bottom: 26px; }
.res-item-meta > span { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; font-size: 16px; color: var(--res-text); }
.res-item-meta > span + span { border-left: 1px solid #cfd9e7; }
.res-item-meta i { color: var(--res-muted); font-size: 18px; }
.res-topic { background: var(--res-soft-2); color: var(--res-blue) !important; font-weight: 600; border-radius: 8px; padding: 5px 12px !important; }
.res-topic i { color: var(--res-blue) !important; }
.res-weekof { gap: 0 !important; }
.res-weekof strong { color: var(--res-ink); }
.res-block { padding-bottom: 24px; margin-bottom: 26px; border-bottom: 1px solid var(--res-line); }
.res-block:last-child { border-bottom: 0; }
.res-block > h2 { font-size: 32px; font-weight: 700; margin: 0 0 12px; }
.res-prose { font-size: 17px; line-height: 1.65; color: var(--res-text); overflow-wrap: anywhere; }
.res-prose p { margin: 0 0 14px; }
.res-prose h2 { font-size: 24px; margin: 22px 0 10px; }
.res-prose h3 { font-size: 20px; margin: 18px 0 8px; }
.res-prose h4 { font-size: 18px; margin: 16px 0 6px; }
.res-prose ul, .res-prose ol { margin: 0 0 14px; padding-left: 24px; }
.res-prose li { margin-bottom: 6px; }
.res-prose a { color: var(--res-blue-bright); text-decoration: underline; text-underline-offset: 2px; }
.res-prose blockquote { border-left: 4px solid #c7d6ec; margin: 0 0 14px; padding: 4px 0 4px 16px; color: var(--res-muted); }
.res-checks { list-style: none; margin: 0; padding: 0; }
.res-checks li { position: relative; padding-left: 40px; margin-bottom: 12px; font-size: 17px; line-height: 1.5; }
.res-checks li i { position: absolute; left: 4px; top: -2px; font-size: 24px; color: var(--res-blue-bright); }
.res-series h2 { font-size: 30px; font-weight: 700; margin: 0 0 18px; padding-top: 26px; border-top: 1px solid var(--res-line); }
.res-series-nav { display: grid; grid-template-columns: 1fr minmax(0, 0.9fr) 1fr; gap: 22px; align-items: stretch; }
.res-series-nav a, .res-series-nav .res-series-empty {
    display: flex; align-items: center; gap: 14px; border: 1px solid #c7d6ec; border-radius: 10px;
    padding: 14px 18px; min-height: 68px; color: var(--res-ink); font-weight: 700; font-family: 'Geist', 'Inter', sans-serif; line-height: 1.25;
}
.res-series-nav a:hover { background: var(--res-soft); border-color: #a9c3ea; }
.res-series-nav .res-series-empty { border: 0; }
.res-series-nav .prev { justify-content: flex-start; }
.res-series-nav .next { justify-content: flex-end; text-align: right; }
.res-series-nav .label { flex: 1 1 auto; text-align: center; }
.res-series-nav i { font-size: 20px; color: var(--res-blue); }
.res-series-nav a.all { background: var(--res-blue); border-color: var(--res-blue); color: #fff; justify-content: center; font-size: 18px; }
.res-series-nav a.all i { color: #fff; }
.res-series-nav a.all:hover { background: var(--res-blue-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .res-hero h1, .res-hero .res-hero-title { font-size: 32px; }
    .res-featured { grid-template-columns: minmax(0, 1fr); }
    .res-grid, .res-hub-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .res-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
    .res-pillar:nth-child(3) { border-left: 0; }
    .res-find-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
    .res-find-item:nth-child(3) { border-left: 0; }
    .res-final { grid-template-columns: minmax(0, 1fr); }
    .res-final-img { min-height: 200px; }
}
@media (max-width: 680px) {
    .res-wrap { padding: 0 16px; }
    .res-hero { padding: 14px 0 26px; }
    .res-hero-row { gap: 14px; align-items: flex-start; }
    .res-hero-icon { flex-basis: 52px; width: 52px; height: 52px; font-size: 25px; border-radius: 12px; }
    .res-hero-text { padding-left: 14px; }
    .res-hero h1, .res-hero .res-hero-title { font-size: 26px; }
    .res-hero p.res-hero-sub, .res-hero-eyebrow { font-size: 15px; }
    .res-section { padding: 26px 0; }
    .res-feat-card { flex-direction: column-reverse; }
    .res-feat-media { flex-basis: auto; max-width: 100%; }
    .res-feat-media .res-thumb { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
    .res-grid, .res-hub-cards { grid-template-columns: minmax(0, 1fr); }
    .res-pillars { grid-template-columns: minmax(0, 1fr); }
    .res-pillar + .res-pillar { border-left: 0; border-top: 1px solid #d4e1f3; padding-top: 12px; }
    .res-lib-head h2, .res-find h2 { font-size: 26px; }
    .res-intro h2 { font-size: 28px; }
    .res-find-grid { grid-template-columns: minmax(0, 1fr); }
    .res-find-item + .res-find-item { border-left: 0; }
    .res-cta { flex-direction: column; align-items: flex-start; padding: 20px; gap: 14px; }
    .res-cta-text { border-left: 0; padding-left: 0; }
    .res-cta .res-btn { width: 100%; }
    .res-final-body { padding: 24px 20px; }
    .res-final-body h2 { font-size: 24px; }
    .res-final-body .res-btn { width: 100%; }
    .res-item-meta { justify-content: flex-start; gap: 10px 18px; }
    .res-item-meta > span { padding: 0; font-size: 15px; }
    .res-item-meta > span + span { border-left: 0; }
    .res-block > h2, .res-series h2 { font-size: 26px; }
    .res-prose, .res-checks li { font-size: 16px; }
    .res-series-nav { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .res-series-nav .res-series-empty { display: none; }
    .res-series-nav a.all { order: 3; }
}

/* =====================================================================
   Weekly Market Posture (landing + assessment page)
   ===================================================================== */
.res-mp-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.res-mp-media { min-width: 0; }
/* the four-week score image keeps its own shape: never cropped */
.res-mp-cover {
    position: relative; display: block; width: 100%; padding: 12px; margin: 0; background: #fff; border: 1px solid var(--res-line);
    border-radius: var(--res-radius); box-shadow: var(--res-shadow); text-align: center; cursor: default; font: inherit;
}
a.res-mp-cover, button.res-mp-cover { cursor: pointer; }
.res-mp-cover img { display: block; width: 100%; height: auto; border-radius: 6px; }
.res-mp-cover .res-play { width: 66px; height: 66px; font-size: 34px; }
.res-mp-media .res-video { border-radius: var(--res-radius); }
.res-mp-panel {
    background: #fff; border: 1px solid var(--res-line); border-radius: var(--res-radius); box-shadow: var(--res-shadow);
    padding: 20px; display: flex; flex-direction: column; gap: 14px; align-items: stretch;
}
.res-mp-panel .res-feat-label { align-self: flex-start; margin: 0; }
.res-mp-date { font-size: 32px; font-weight: 700; margin: 0; line-height: 1.15; }
.res-mp-date a { color: var(--res-ink); }
.res-mp-scores { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.res-mp-score { background: var(--res-soft-2); border-radius: 10px; padding: 12px 10px; text-align: center; }
.res-mp-score span { display: block; font-weight: 700; color: var(--res-ink); font-size: 17px; }
.res-mp-score strong { display: block; font-family: 'Geist', 'Inter', sans-serif; font-size: 40px; line-height: 1.1; color: var(--res-ink); }
.res-posture { text-align: center; font-family: 'Geist', 'Inter', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; border-radius: 8px; padding: 8px 12px; }
.res-posture.is-constructive { background: #e3f6e9; color: #146c2e; }
.res-posture.is-neutral { background: #e6e8ec; color: #3d4350; }
.res-posture.is-defensive { background: #fde6e4; color: #a21c12; }
.res-mp-synopsis { margin: 0; font-size: 16px; line-height: 1.55; color: var(--res-text); }
.res-ext-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.res-ext {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #c7d6ec; border-radius: 8px;
    padding: 10px 12px; font-weight: 600; font-size: 15px; color: var(--res-ink) !important; background: #fff;
}
.res-ext:hover { background: var(--res-soft); }
.res-ext.yt > i:first-child { color: #ff0000; font-size: 20px; }
.res-ext.sp > i:first-child { color: #1db954; font-size: 20px; }
.res-ext-links .res-ext:only-child { grid-column: 1 / -1; }

.res-mp-framework h2 { font-size: 32px; font-weight: 700; margin: 0 0 6px; }
.res-mp-framework > p { color: var(--res-muted); margin: 0 0 18px; font-size: 16px; }
.res-mp-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.res-mp-tile { border: 1px solid var(--res-line); border-radius: 12px; padding: 16px 10px; text-align: center; background: #fff; box-shadow: var(--res-shadow); }
.res-mp-tile i { display: block; font-size: 30px; color: var(--res-blue-bright); margin-bottom: 6px; }
.res-mp-tile strong { display: block; font-family: 'Geist', 'Inter', sans-serif; color: var(--res-ink); font-size: 16px; line-height: 1.2; }
.res-mp-tile span { display: block; color: var(--res-text); font-size: 15px; margin-top: 2px; }

.res-mp-card {
    position: relative; display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--res-line);
    border-radius: var(--res-radius); padding: 16px 44px 16px 20px; box-shadow: var(--res-shadow); color: var(--res-text);
    border-left: 4px solid var(--res-blue-bright); transition: box-shadow .2s ease, transform .2s ease;
}
.res-mp-card:hover { box-shadow: 0 10px 28px rgba(18, 9, 61, .12); transform: translateY(-2px); }
.res-mp-card-date { font-family: 'Geist', 'Inter', sans-serif; font-weight: 700; font-size: 21px; color: var(--res-ink); }
.res-mp-card-scores { font-size: 15px; color: var(--res-ink); font-weight: 600; }
.res-mp-card-scores strong { font-size: 17px; }
.res-mp-card-scores .sep { color: #b5c1d3; margin: 0 6px; font-weight: 400; }
.res-mp-card-text { font-size: 14.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.res-mp-card-arrow { position: absolute; right: 16px; bottom: 14px; color: var(--res-blue-bright); font-size: 20px; }

/* assessment page */
.res-mp-subnav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-bottom: 18px; font-size: 15px; }
.res-mp-subnav a { color: var(--res-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.res-mp-subnav a:hover { color: var(--res-blue-bright); }
.res-mp-pn { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.res-mp-pn .sep { color: #b5c1d3; }
.res-mp-h1 { font-size: 40px; font-weight: 700; margin: 0 0 20px; line-height: 1.15; }
.res-mp-h2 { font-size: 30px; font-weight: 700; margin: 0 0 14px; }
.res-mp-detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 34px; }
.res-mp-detail > .res-mp-main:only-child { grid-column: 1 / -1; }
.res-mp-table-wrap { overflow-x: auto; border: 1px solid #d4e1f3; border-radius: 12px; background: #fff; }
.res-mp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.res-mp-table thead th { background: var(--res-soft-2); color: var(--res-ink); text-align: left; padding: 10px 14px; font-weight: 700; }
.res-mp-table tbody th, .res-mp-table tbody td { padding: 12px 14px; border-top: 1px solid var(--res-line); vertical-align: middle; text-align: left; }
.res-mp-table tbody th { font-weight: 700; color: var(--res-ink); white-space: nowrap; }
.res-mp-comp { display: inline-flex; align-items: center; gap: 10px; }
.res-mp-comp i { font-size: 22px; color: var(--res-blue-bright); }
.res-mp-val { font-family: 'Geist', 'Inter', sans-serif; font-weight: 700; font-size: 19px; color: var(--res-ink); white-space: nowrap; }
.res-mp-takeaway { margin-top: 20px; background: linear-gradient(100deg, #f2f7fe 0%, #e5effc 100%); border: 1px solid #d9e6f8; border-radius: var(--res-radius); padding: 18px 20px; }
.res-mp-takeaway-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.res-mp-takeaway-head i { font-size: 26px; color: var(--res-blue-bright); }
.res-mp-takeaway-head h2 { font-size: 22px; font-weight: 700; margin: 0; }
.res-mp-takeaway p { margin: 0; font-size: 16px; line-height: 1.55; }
.res-mp-side { display: flex; flex-direction: column; gap: 20px; }
.res-mp-box { background: #fff; border: 1px solid var(--res-line); border-radius: var(--res-radius); box-shadow: var(--res-shadow); padding: 18px 20px; }
.res-mp-box h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; margin: 0 0 10px; }
.res-mp-box h2 i { color: var(--res-blue-bright); font-size: 24px; }
.res-mp-box .res-prose { font-size: 15.5px; line-height: 1.55; }
.res-mp-box .res-prose h2, .res-mp-box .res-prose h3 { font-size: 17px; margin: 14px 0 6px; }
.res-mp-more { margin-top: 40px; }

@media (max-width: 991px) {
    .res-mp-feature, .res-mp-detail { grid-template-columns: minmax(0, 1fr); }
    .res-mp-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .res-mp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .res-mp-h1 { font-size: 28px; }
    .res-mp-h2, .res-mp-framework h2 { font-size: 24px; }
    .res-mp-date { font-size: 26px; }
    .res-mp-score strong { font-size: 32px; }
    .res-posture { font-size: 18px; }
    .res-ext-links { grid-template-columns: minmax(0, 1fr); }
    .res-mp-subnav { font-size: 14px; }
    .res-mp-table tbody th { white-space: normal; }
    .res-mp-table, .res-mp-table thead th, .res-mp-table tbody th, .res-mp-table tbody td { font-size: 14px; padding: 10px; }
}
