.sev3-shell{margin:28px auto;padding:0;border:1px solid #eee8f1;border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(38,25,48,.06);overflow:hidden}
.sev3-header{padding:22px 20px 17px;background:#faf7fc;border-bottom:1px solid #eee8f1}
.sev3-kicker{margin:0 0 7px!important;color:#763b96;font-size:10px!important;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.sev3-header h2{margin:0 0 7px!important;font-size:24px!important;line-height:1.25!important}
.sev3-header p:last-child{margin:0!important;color:#716b75;font-size:14px!important;line-height:1.55}
.sev3-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px}
.sev3-module{margin:0!important;padding:15px!important;border:1px solid #eee9f1!important;border-radius:13px!important;background:#fff!important}
.sev3-module h3{margin:0 0 10px!important;font-size:17px!important;line-height:1.3!important}
.sev3-link-grid,.sev3-split-grid>div{display:grid;gap:7px}
.sev3-module a{display:block;padding:9px 10px;border-radius:8px;background:#f8f4fa;color:#69358a!important;font-size:13px!important;line-height:1.4!important;text-decoration:none!important}
.sev3-module ul,.sev3-module ol{margin:0;padding-left:20px}
.sev3-module li{margin:7px 0}
.sev3-module li a{display:inline-block;width:calc(100% - 4px)}
.sev3-pairs{display:grid;gap:9px}
.sev3-pairs article{display:grid;grid-template-columns:auto 1fr;gap:5px 8px}
.sev3-pairs span,.sev3-map span,.sev3-mixed dt{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#8a818e}
.sev3-pairs a{grid-column:2}
.sev3-mixed dl,.sev3-map>div{display:grid;gap:8px;margin:0}
.sev3-mixed dl>div{display:grid;grid-template-columns:80px 1fr;gap:8px;align-items:center}
.sev3-mixed dd{margin:0}
.sev3-map article{display:grid;gap:5px}
.sev3-split-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sev3-mode-2 .sev3-modules{grid-template-columns:1.25fr .75fr}
.sev3-mode-3 .sev3-modules{grid-template-columns:.8fr 1.2fr}
.sev3-mode-4 .sev3-modules{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:760px){.sev3-shell{margin:20px 0;border-radius:15px}.sev3-header{padding:18px 16px 14px}.sev3-header h2{font-size:21px!important}.sev3-modules,.sev3-mode-2 .sev3-modules,.sev3-mode-3 .sev3-modules,.sev3-mode-4 .sev3-modules{grid-template-columns:1fr;padding:10px;gap:9px}.sev3-module{padding:13px!important}.sev3-split-grid{grid-template-columns:1fr}}

/* =========================================================
   AARFI V3.2 VISUAL POLISH
   Visual-only. No route / HTML / data changes.
   ========================================================= */

/* outer catalogue explorer */
[data-site-experience-v3="1"] {
    max-width: 1180px !important;
    margin: 38px auto 46px !important;
    background: #fff !important;
    border: 1px solid rgba(73, 52, 92, .10) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow:
        0 18px 45px rgba(49, 35, 62, .06),
        0 2px 8px rgba(49, 35, 62, .03) !important;
}

/* explorer header */
[data-site-experience-v3="1"] > header {
    padding: 27px 30px 23px !important;
    background:
        radial-gradient(
            circle at 95% 0%,
            rgba(143, 91, 174, .10),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #fbf9fc 0%,
            #f8f4fa 100%
        ) !important;
    border-bottom: 1px solid rgba(73, 52, 92, .08) !important;
}

[data-site-experience-v3="1"] > header p:first-child {
    margin: 0 0 7px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    letter-spacing: .13em !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    opacity: .72 !important;
}

[data-site-experience-v3="1"] > header h2 {
    margin: 0 0 8px !important;
    font-size: clamp(24px, 2.2vw, 31px) !important;
    line-height: 1.14 !important;
    letter-spacing: -.025em !important;
    font-weight: 650 !important;
}

[data-site-experience-v3="1"] > header p:last-child {
    max-width: 720px !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    opacity: .76 !important;
}

/* inner content area */
[data-site-experience-v3="1"] > :not(header) {
    background: #fff;
}

/* four functional panels */
[data-site-experience-v3="1"] section {
    border-color: rgba(73, 52, 92, .10) !important;
    border-radius: 15px !important;
    background: #fff !important;
    box-shadow: none !important;
}

/* panel headings */
[data-site-experience-v3="1"] section h3,
[data-site-experience-v3="1"] section h4 {
    margin-bottom: 14px !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 650 !important;
    letter-spacing: -.01em !important;
}

/* links become cleaner catalogue records rather than purple bars */
[data-site-experience-v3="1"] section a {
    position: relative !important;
    border: 1px solid rgba(83, 57, 101, .075) !important;
    border-radius: 10px !important;
    background: #faf8fb !important;
    padding: 10px 12px !important;
    line-height: 1.42 !important;
    text-decoration: none !important;
    transition:
        transform .16s ease,
        box-shadow .16s ease,
        border-color .16s ease,
        background .16s ease !important;
}

[data-site-experience-v3="1"] section a:hover {
    transform: translateY(-1px) !important;
    background: #fff !important;
    border-color: rgba(118, 69, 147, .22) !important;
    box-shadow: 0 7px 18px rgba(65, 40, 80, .075) !important;
}

/* first panel: collections feel like category gateways */
[data-site-experience-v3="1"] section:nth-of-type(1) a {
    background:
        linear-gradient(
            90deg,
            rgba(128, 76, 157, .075),
            rgba(128, 76, 157, .025)
        ) !important;
    border-left: 3px solid rgba(128, 76, 157, .38) !important;
}

/* open book records: less cramped */
[data-site-experience-v3="1"] section:nth-of-type(3) a {
    padding-top: 11px !important;
    padding-bottom: 11px !important;
}

/* catalogue route labels */
[data-site-experience-v3="1"] section:nth-of-type(4) {
    background: #fcfbfc !important;
}

[data-site-experience-v3="1"] section:nth-of-type(4) a {
    background: #fff !important;
}

/* keep tiny route labels subtle */
[data-site-experience-v3="1"] section:nth-of-type(4) small,
[data-site-experience-v3="1"] section:nth-of-type(4) span:first-child {
    letter-spacing: .08em;
}

/* give Reader Starting Points a cleaner separation */
[data-site-experience-v3="1"] + section,
[data-site-experience-v3="1"] + div {
    margin-top: 34px !important;
}

/* mobile */
@media (max-width: 767px) {

    [data-site-experience-v3="1"] {
        margin: 24px 12px 34px !important;
        border-radius: 16px !important;
    }

    [data-site-experience-v3="1"] > header {
        padding: 22px 18px 19px !important;
    }

    [data-site-experience-v3="1"] > header h2 {
        font-size: 24px !important;
    }

    [data-site-experience-v3="1"] section {
        border-radius: 13px !important;
    }

    [data-site-experience-v3="1"] section a {
        padding: 11px !important;
    }
}

/* SITE_V3_VISUAL_V32 */

/* =========================================================
   AARFI V3.3 ICON POLISH
   ========================================================= */

[data-site-experience-v3="1"] section h3,
[data-site-experience-v3="1"] section h4 {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* shared icon container */
[data-site-experience-v3="1"] section h3::before,
[data-site-experience-v3="1"] section h4::before {
    content: "" !important;
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;
    border-radius: 9px !important;
    display: inline-block !important;
    background-color: rgba(126, 72, 158, .08) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 17px 17px !important;
}

/* Browse collections — folder */
[data-site-experience-v3="1"] section:nth-of-type(1) h3::before,
[data-site-experience-v3="1"] section:nth-of-type(1) h4::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23774899' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6a2 2 0 0 1 2-2h5l2 2h7a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z'/%3E%3C/svg%3E") !important;
}

/* Collections and books — stacked books */
[data-site-experience-v3="1"] section:nth-of-type(2) h3::before,
[data-site-experience-v3="1"] section:nth-of-type(2) h4::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23774899' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2Z'/%3E%3C/svg%3E") !important;
}

/* Open book records — open book */
[data-site-experience-v3="1"] section:nth-of-type(3) h3::before,
[data-site-experience-v3="1"] section:nth-of-type(3) h4::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23774899' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h6a4 4 0 0 1 4 4v12a3 3 0 0 0-3-3H2Z'/%3E%3Cpath d='M22 4h-6a4 4 0 0 0-4 4v12a3 3 0 0 1 3-3h7Z'/%3E%3C/svg%3E") !important;
}

/* Catalogue routes — compass */
[data-site-experience-v3="1"] section:nth-of-type(4) h3::before,
[data-site-experience-v3="1"] section:nth-of-type(4) h4::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23774899' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m16 8-2.5 5.5L8 16l2.5-5.5Z'/%3E%3C/svg%3E") !important;
}

/* subtle navigation cue */
[data-site-experience-v3="1"] section a {
    padding-right: 34px !important;
}

[data-site-experience-v3="1"] section a::after {
    content: "→" !important;
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    opacity: 0 !important;
    font-size: 15px !important;
    transition:
        opacity .16s ease,
        transform .16s ease !important;
}

[data-site-experience-v3="1"] section a:hover::after {
    opacity: .55 !important;
    transform: translate(2px,-50%) !important;
}

/* SITE_V3_ICONS_V33 */

/* =========================================================
   AARFI V3.4 REAL DOM ICONS
   ========================================================= */

/* all four module headings */
.sev3-shell .sev3-modules > h3,
.sev3-shell .sev3-modules > section > h3 {
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
}

/* icon tile */
.sev3-shell .sev3-modules > h3::before,
.sev3-shell .sev3-modules > section > h3::before {
    width: 32px !important;
    height: 32px !important;
    flex: 0 0 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 9px !important;

    background: rgba(121, 70, 151, .09) !important;
    border: 1px solid rgba(121, 70, 151, .10) !important;

    color: #7a4598 !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

/* Browse collections */
.sev3-shell .sev3-modules > h3:nth-of-type(1)::before {
    content: "▦" !important;
}

/* Collections and books */
.sev3-shell .sev3-split > h3::before {
    content: "◫" !important;
}

/* Open book records */
.sev3-shell .sev3-modules > h3:nth-of-type(2)::before {
    content: "⌑" !important;
}

/* Catalogue routes */
.sev3-shell .sev3-mixed > h3::before {
    content: "⌁" !important;
}


/* -----------------------------------------
   Actual links - all module types
   ----------------------------------------- */

.sev3-shell .sev3-link-grid a,
.sev3-shell .sev3-split a,
.sev3-shell .sev3-mixed a {
    position: relative !important;
    padding-right: 36px !important;
}

/* little arrow only on hover */
.sev3-shell .sev3-link-grid a::after,
.sev3-shell .sev3-split a::after,
.sev3-shell .sev3-mixed a::after {
    content: "›" !important;

    position: absolute !important;
    right: 13px !important;
    top: 50% !important;

    transform: translateY(-50%) !important;

    font-size: 20px !important;
    line-height: 1 !important;

    color: #7a4598 !important;
    opacity: .25 !important;

    transition:
        opacity .16s ease,
        transform .16s ease !important;
}

.sev3-shell .sev3-link-grid a:hover::after,
.sev3-shell .sev3-split a:hover::after,
.sev3-shell .sev3-mixed a:hover::after {
    opacity: .8 !important;
    transform: translate(2px,-50%) !important;
}


/* -----------------------------------------
   Browse collections:
   make these feel like gateways, not rows
   ----------------------------------------- */

.sev3-shell .sev3-modules > .sev3-link-grid:first-of-type a {
    border-left: 3px solid rgba(122,69,152,.40) !important;

    background:
        linear-gradient(
            90deg,
            rgba(122,69,152,.075),
            rgba(122,69,152,.025)
        ) !important;
}


/* -----------------------------------------
   Open book records:
   more book-record feel
   ----------------------------------------- */

.sev3-shell .sev3-modules > h3:nth-of-type(2) + .sev3-link-grid a {
    background: #fff !important;
    border: 1px solid rgba(65,45,77,.10) !important;
    box-shadow: 0 2px 7px rgba(45,30,54,.025) !important;
}

.sev3-shell .sev3-modules > h3:nth-of-type(2) + .sev3-link-grid a:hover {
    border-color: rgba(122,69,152,.24) !important;
    box-shadow: 0 7px 18px rgba(70,42,84,.07) !important;
}


/* -----------------------------------------
   Headings more distinct
   ----------------------------------------- */

.sev3-shell .sev3-modules h3 {
    font-size: 16px !important;
    font-weight: 650 !important;
    color: #39333d !important;
}


/* mobile */
@media (max-width: 767px) {

    .sev3-shell .sev3-modules > h3::before,
    .sev3-shell .sev3-modules > section > h3::before {
        width: 30px !important;
        height: 30px !important;
        flex-basis: 30px !important;
    }
}

/* SITE_V3_REAL_ICONS_V34 */

/* =========================================================
   AARFI V3.5 COMPACT CATALOGUE UI
   ========================================================= */

/* ---- Guaranteed heading icons from the real DOM ---- */

.sev3-shell .sev3-modules > h3:first-child::before,
.sev3-shell .sev3-split > h3::before,
.sev3-shell .sev3-split + h3::before,
.sev3-shell .sev3-mixed > h3::before {
    content: "" !important;
    width: 32px !important;
    height: 32px !important;
    flex: 0 0 32px !important;
    display: inline-block !important;
    border-radius: 9px !important;
    background-color: rgba(122,69,152,.09) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 17px 17px !important;
}

/* Browse collections */
.sev3-shell .sev3-modules > h3:first-child::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A4598' stroke-width='1.8'%3E%3Cpath d='M4 5h6l2 2h8v12H4z'/%3E%3C/svg%3E") !important;
}

/* Collections and books */
.sev3-shell .sev3-split > h3::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A4598' stroke-width='1.8'%3E%3Cpath d='M4 4h6v16H4zM14 4h6v16h-6z'/%3E%3C/svg%3E") !important;
}

/* Open book records */
.sev3-shell .sev3-split + h3::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A4598' stroke-width='1.8'%3E%3Cpath d='M3 5h6a3 3 0 0 1 3 3v11a3 3 0 0 0-3-3H3zM21 5h-6a3 3 0 0 0-3 3v11a3 3 0 0 1 3-3h6z'/%3E%3C/svg%3E") !important;
}

/* Catalogue routes */
.sev3-shell .sev3-mixed > h3::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A4598' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='m15 9-2 5-5 2 2-5z'/%3E%3C/svg%3E") !important;
}


/* ---- Browse collections: 2 x 2 instead of long empty panel ---- */

.sev3-shell .sev3-modules > h3:first-child + .sev3-link-grid {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 9px !important;
}

.sev3-shell .sev3-modules > h3:first-child + .sev3-link-grid a {
    min-height: 52px !important;
    display: flex !important;
    align-items: center !important;
    padding: 10px 34px 10px 12px !important;
}


/* ---- Open books: mini catalogue cards ---- */

.sev3-shell .sev3-split + h3 + .sev3-link-grid {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 9px !important;
}

.sev3-shell .sev3-split + h3 + .sev3-link-grid a {
    min-height: 67px !important;
    display: flex !important;
    align-items: center !important;
    padding: 11px 34px 11px 42px !important;
    background: #fff !important;
}

/* little book mark for each record */
.sev3-shell .sev3-split + h3 + .sev3-link-grid a::before {
    content: "▤" !important;
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 17px !important;
    color: #7a4598 !important;
    opacity: .72 !important;
}


/* Less dead space */
.sev3-shell .sev3-module {
    align-content: start !important;
}

.sev3-shell .sev3-modules {
    gap: 14px !important;
}


/* Mobile returns to one column */
@media (max-width: 767px) {

    .sev3-shell .sev3-modules > h3:first-child + .sev3-link-grid,
    .sev3-shell .sev3-split + h3 + .sev3-link-grid {
        grid-template-columns: 1fr !important;
    }

    .sev3-shell .sev3-split + h3 + .sev3-link-grid a {
        min-height: 58px !important;
    }
}

/* SITE_V3_COMPACT_V35 */

/* =========================================================
   AARFI V3.6 FINAL COMPACT UI
   Real DOM selectors + no external/data icons
   ========================================================= */

/* ---------- HEADINGS ---------- */

.sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3,
.sev3-shell[data-site-experience-v3="1"] .sev3-module > h3 {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* reset previous broken icon backgrounds */
.sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3::before,
.sev3-shell[data-site-experience-v3="1"] .sev3-module > h3::before {
    background-image: none !important;
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 9px !important;
    background: #f4eef7 !important;
    border: 1px solid rgba(122,69,152,.12) !important;
    color: #784493 !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

/* real DOM order */
.sev3-shell .sev3-modules > h3:nth-of-type(1)::before {
    content: "▦" !important;
}

.sev3-shell .sev3-split > h3::before {
    content: "▤" !important;
}

.sev3-shell .sev3-modules > h3:nth-of-type(2)::before {
    content: "⌑" !important;
}

.sev3-shell .sev3-mixed > h3::before {
    content: "⌁" !important;
}


/* ---------- BROWSE COLLECTIONS: 2x2 ---------- */

.sev3-shell[data-site-experience-v3="1"]
.sev3-modules > h3:nth-of-type(1) + .sev3-link-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
}

.sev3-shell[data-site-experience-v3="1"]
.sev3-modules > h3:nth-of-type(1) + .sev3-link-grid > a {
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    padding: 11px 34px 11px 13px !important;
    background: linear-gradient(
        90deg,
        rgba(122,69,152,.07),
        rgba(122,69,152,.025)
    ) !important;
    border-left: 3px solid rgba(122,69,152,.36) !important;
}


/* ---------- OPEN BOOK RECORDS: 2x3 ---------- */

.sev3-shell[data-site-experience-v3="1"]
.sev3-modules > h3:nth-of-type(2) + .sev3-link-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 9px !important;
}

.sev3-shell[data-site-experience-v3="1"]
.sev3-modules > h3:nth-of-type(2) + .sev3-link-grid > a {
    min-height: 72px !important;
    display: flex !important;
    align-items: center !important;
    padding: 11px 34px 11px 42px !important;
    background: #fff !important;
    border: 1px solid rgba(62,42,73,.10) !important;
    box-shadow: 0 2px 7px rgba(45,30,54,.025) !important;
}

/* small book symbol */
.sev3-shell[data-site-experience-v3="1"]
.sev3-modules > h3:nth-of-type(2) + .sev3-link-grid > a::before {
    content: "▤" !important;
    position: absolute !important;
    left: 13px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #784493 !important;
    font-size: 17px !important;
    opacity: .72 !important;
}


/* ---------- ALL NAV ITEMS ---------- */

.sev3-shell[data-site-experience-v3="1"] a {
    transition:
        border-color .16s ease,
        box-shadow .16s ease,
        transform .16s ease,
        background .16s ease !important;
}

.sev3-shell[data-site-experience-v3="1"]
.sev3-modules a:hover {
    transform: translateY(-1px) !important;
    border-color: rgba(122,69,152,.22) !important;
    box-shadow: 0 7px 18px rgba(70,42,84,.065) !important;
}


/* ---------- REDUCE DEAD SPACE ---------- */

.sev3-shell[data-site-experience-v3="1"] .sev3-modules {
    align-items: start !important;
    gap: 14px !important;
}

.sev3-shell[data-site-experience-v3="1"] .sev3-module {
    align-self: stretch !important;
}


/* ---------- MOBILE ---------- */

@media (max-width: 767px) {

    .sev3-shell[data-site-experience-v3="1"]
    .sev3-modules > h3:nth-of-type(1) + .sev3-link-grid,

    .sev3-shell[data-site-experience-v3="1"]
    .sev3-modules > h3:nth-of-type(2) + .sev3-link-grid {
        grid-template-columns: 1fr !important;
    }

    .sev3-shell[data-site-experience-v3="1"]
    .sev3-modules > h3:nth-of-type(2) + .sev3-link-grid > a {
        min-height: 58px !important;
    }
}

/* SITE_V3_FINAL_V36 */

/* =========================================================
   AARFI V3.7 - 4 BOXES DISTINCT COLORS / BORDERS / SHADOWS
   ========================================================= */

/* common */
.sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3,
.sev3-shell[data-site-experience-v3="1"] .sev3-modules > .sev3-link-grid,
.sev3-shell[data-site-experience-v3="1"] .sev3-split,
.sev3-shell[data-site-experience-v3="1"] .sev3-mixed {
    transition:
        box-shadow .18s ease,
        border-color .18s ease,
        background .18s ease,
        transform .18s ease !important;
}

/* remove accidental gaps so heading + content look like one unit */
.sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3:nth-of-type(1),
.sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3:nth-of-type(2) {
    margin: 0 !important;
    padding: 18px 18px 8px 18px !important;
    border-bottom: none !important;
}

.sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3:nth-of-type(1) + .sev3-link-grid,
.sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3:nth-of-type(2) + .sev3-link-grid {
    margin: 0 !important;
    padding: 8px 18px 18px 18px !important;
    border-top: none !important;
}

/* =========================================================
   1) BROWSE COLLECTIONS
   ========================================================= */
.sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3:nth-of-type(1),
.sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3:nth-of-type(1) + .sev3-link-grid {
    background: linear-gradient(180deg,#fcf8ff 0%,#f8f3fd 100%) !important;
    border: 1px solid rgba(133, 88, 194, .22) !important;
    box-shadow: 0 10px 22px rgba(133, 88, 194, .08) !important;
}

.sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3:nth-of-type(1) {
    border-radius: 18px 18px 0 0 !important;
    color: #6d3fa5 !important;
}

.sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3:nth-of-type(1) + .sev3-link-grid {
    border-radius: 0 0 18px 18px !important;
}

.sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3:nth-of-type(1)::before {
    background: #f2e9ff !important;
    border-color: rgba(133, 88, 194, .18) !important;
    color: #7a44b0 !important;
}

.sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3:nth-of-type(1) + .sev3-link-grid > a {
    background: #ffffff !important;
    border: 1px solid rgba(133, 88, 194, .12) !important;
    border-left: 3px solid #b28adf !important;
    box-shadow: 0 2px 8px rgba(133, 88, 194, .04) !important;
}

/* =========================================================
   2) COLLECTIONS AND BOOKS
   ========================================================= */
.sev3-shell[data-site-experience-v3="1"] .sev3-split {
    background: linear-gradient(180deg,#f6fffd 0%,#eefaf7 100%) !important;
    border: 1px solid rgba(62, 168, 142, .24) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 24px rgba(62, 168, 142, .08) !important;
    padding: 16px !important;
}

.sev3-shell[data-site-experience-v3="1"] .sev3-split > h3 {
    color: #237e6d !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

.sev3-shell[data-site-experience-v3="1"] .sev3-split > h3::before {
    background: #e8fbf6 !important;
    border-color: rgba(62, 168, 142, .18) !important;
    color: #238b76 !important;
}

.sev3-shell[data-site-experience-v3="1"] .sev3-split a {
    background: #ffffff !important;
    border: 1px solid rgba(62, 168, 142, .14) !important;
    box-shadow: 0 2px 8px rgba(62, 168, 142, .04) !important;
}

.sev3-shell[data-site-experience-v3="1"] .sev3-split .sev3-split-grid > div:first-child a {
    border-left: 3px solid #63c8b0 !important;
}

.sev3-shell[data-site-experience-v3="1"] .sev3-split .sev3-split-grid > div:last-child a {
    border-left: 3px solid #9adfd0 !important;
}

/* =========================================================
   3) OPEN BOOK RECORDS
   ========================================================= */
.sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3:nth-of-type(2),
.sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3:nth-of-type(2) + .sev3-link-grid {
    background: linear-gradient(180deg,#fffaf5 0%,#fdf3ea 100%) !important;
    border: 1px solid rgba(214, 146, 77, .24) !important;
    box-shadow: 0 10px 24px rgba(214, 146, 77, .08) !important;
}

.sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3:nth-of-type(2) {
    border-radius: 18px 18px 0 0 !important;
    color: #a25a1c !important;
}

.sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3:nth-of-type(2) + .sev3-link-grid {
    border-radius: 0 0 18px 18px !important;
}

.sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3:nth-of-type(2)::before {
    background: #fff0dd !important;
    border-color: rgba(214, 146, 77, .18) !important;
    color: #b46720 !important;
}

.sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3:nth-of-type(2) + .sev3-link-grid > a {
    background: #ffffff !important;
    border: 1px solid rgba(214, 146, 77, .13) !important;
    border-left: 3px solid #f1b77d !important;
    box-shadow: 0 2px 8px rgba(214, 146, 77, .04) !important;
}

/* =========================================================
   4) CATALOGUE ROUTES
   ========================================================= */
.sev3-shell[data-site-experience-v3="1"] .sev3-mixed {
    background: linear-gradient(180deg,#f5f9ff 0%,#eef5ff 100%) !important;
    border: 1px solid rgba(86, 132, 214, .24) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 24px rgba(86, 132, 214, .08) !important;
    padding: 16px !important;
}

.sev3-shell[data-site-experience-v3="1"] .sev3-mixed > h3 {
    color: #355ea8 !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

.sev3-shell[data-site-experience-v3="1"] .sev3-mixed > h3::before {
    background: #e8f0ff !important;
    border-color: rgba(86, 132, 214, .18) !important;
    color: #4770bb !important;
}

.sev3-shell[data-site-experience-v3="1"] .sev3-mixed a {
    background: #ffffff !important;
    border: 1px solid rgba(86, 132, 214, .13) !important;
    border-left: 3px solid #92afe6 !important;
    box-shadow: 0 2px 8px rgba(86, 132, 214, .04) !important;
}

/* hover */
.sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3:nth-of-type(1) + .sev3-link-grid > a:hover,
.sev3-shell[data-site-experience-v3="1"] .sev3-split a:hover,
.sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3:nth-of-type(2) + .sev3-link-grid > a:hover,
.sev3-shell[data-site-experience-v3="1"] .sev3-mixed a:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 16px rgba(52, 35, 66, .08) !important;
}

/* mobile spacing */
@media (max-width: 767px) {
    .sev3-shell[data-site-experience-v3="1"] .sev3-split,
    .sev3-shell[data-site-experience-v3="1"] .sev3-mixed {
        padding: 14px !important;
    }

    .sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3:nth-of-type(1),
    .sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3:nth-of-type(2) {
        padding: 16px 14px 8px 14px !important;
    }

    .sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3:nth-of-type(1) + .sev3-link-grid,
    .sev3-shell[data-site-experience-v3="1"] .sev3-modules > h3:nth-of-type(2) + .sev3-link-grid {
        padding: 8px 14px 14px 14px !important;
    }
}

/* SITE_V3_COLORBOX_V37 */

/* =========================================================
   AARFI V3.8 - FIX LEFT TWO PANELS
   Real DOM adjacency selectors
   ========================================================= */

/* =========================================================
   BROWSE COLLECTIONS — PURPLE
   ========================================================= */

.sev3-shell[data-site-experience-v3="1"]
.sev3-modules > h3:first-child {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;

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

    color: #72439d !important;

    background:
        linear-gradient(
            180deg,
            #fcf8ff 0%,
            #faf5ff 100%
        ) !important;

    border: 1px solid rgba(132,82,181,.27) !important;
    border-bottom: 0 !important;
    border-radius: 18px 18px 0 0 !important;

    box-shadow:
        0 -3px 16px rgba(124,73,168,.035),
        0 8px 24px rgba(124,73,168,.075) !important;
}

.sev3-shell[data-site-experience-v3="1"]
.sev3-modules > h3:first-child::before {
    content: "▦" !important;

    width: 31px !important;
    height: 31px !important;
    flex: 0 0 31px !important;

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

    border-radius: 9px !important;

    background: #f0e5fb !important;
    border: 1px solid rgba(132,82,181,.17) !important;

    color: #7c49a8 !important;
    font-size: 16px !important;
}

.sev3-shell[data-site-experience-v3="1"]
.sev3-modules > h3:first-child + .sev3-link-grid {
    margin: 0 !important;
    padding: 7px 17px 17px !important;

    background:
        linear-gradient(
            180deg,
            #faf5ff 0%,
            #f7f0fd 100%
        ) !important;

    border: 1px solid rgba(132,82,181,.27) !important;
    border-top: 0 !important;
    border-radius: 0 0 18px 18px !important;

    box-shadow:
        0 12px 25px rgba(124,73,168,.085) !important;
}

/* purple inner links */
.sev3-shell[data-site-experience-v3="1"]
.sev3-modules > h3:first-child + .sev3-link-grid > a {
    background: rgba(255,255,255,.92) !important;

    border: 1px solid rgba(132,82,181,.13) !important;
    border-left: 3px solid #b28bda !important;

    box-shadow: 0 2px 7px rgba(124,73,168,.04) !important;
}


/* =========================================================
   OPEN BOOK RECORDS — ORANGE / PEACH
   ========================================================= */

.sev3-shell[data-site-experience-v3="1"]
.sev3-modules > .sev3-split + h3 {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;

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

    color: #a25d25 !important;

    background:
        linear-gradient(
            180deg,
            #fffaf4 0%,
            #fff6ec 100%
        ) !important;

    border: 1px solid rgba(220,145,72,.28) !important;
    border-bottom: 0 !important;
    border-radius: 18px 18px 0 0 !important;

    box-shadow:
        0 -3px 16px rgba(202,126,54,.03),
        0 8px 24px rgba(202,126,54,.075) !important;
}

.sev3-shell[data-site-experience-v3="1"]
.sev3-modules > .sev3-split + h3::before {
    content: "▤" !important;

    width: 31px !important;
    height: 31px !important;
    flex: 0 0 31px !important;

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

    border-radius: 9px !important;

    background: #ffecd8 !important;
    border: 1px solid rgba(220,145,72,.18) !important;

    color: #b36b27 !important;
    font-size: 16px !important;
}

.sev3-shell[data-site-experience-v3="1"]
.sev3-modules > .sev3-split + h3 + .sev3-link-grid {
    margin: 0 !important;
    padding: 7px 17px 17px !important;

    background:
        linear-gradient(
            180deg,
            #fff6ec 0%,
            #fdf0e4 100%
        ) !important;

    border: 1px solid rgba(220,145,72,.28) !important;
    border-top: 0 !important;
    border-radius: 0 0 18px 18px !important;

    box-shadow:
        0 12px 25px rgba(202,126,54,.085) !important;
}

/* peach book records */
.sev3-shell[data-site-experience-v3="1"]
.sev3-modules > .sev3-split + h3 + .sev3-link-grid > a {
    background: rgba(255,255,255,.94) !important;

    border: 1px solid rgba(220,145,72,.14) !important;
    border-left: 3px solid #efb474 !important;

    box-shadow: 0 2px 7px rgba(202,126,54,.04) !important;
}


/* hover stays in each theme */
.sev3-shell[data-site-experience-v3="1"]
.sev3-modules > h3:first-child + .sev3-link-grid > a:hover {
    border-color: rgba(132,82,181,.32) !important;
    box-shadow: 0 7px 17px rgba(124,73,168,.10) !important;
}

.sev3-shell[data-site-experience-v3="1"]
.sev3-modules > .sev3-split + h3 + .sev3-link-grid > a:hover {
    border-color: rgba(220,145,72,.34) !important;
    box-shadow: 0 7px 17px rgba(202,126,54,.10) !important;
}


/* mobile */
@media (max-width: 767px) {

    .sev3-shell[data-site-experience-v3="1"]
    .sev3-modules > h3:first-child,

    .sev3-shell[data-site-experience-v3="1"]
    .sev3-modules > .sev3-split + h3 {
        padding: 15px 14px 8px !important;
    }

    .sev3-shell[data-site-experience-v3="1"]
    .sev3-modules > h3:first-child + .sev3-link-grid,

    .sev3-shell[data-site-experience-v3="1"]
    .sev3-modules > .sev3-split + h3 + .sev3-link-grid {
        padding: 7px 14px 14px !important;
    }
}

/* SITE_V3_LEFT_PANEL_FIX_V38 */

/* =========================================================
   AARFI V3.9 EXPLICIT LEFT PANELS
   No nth-of-type dependency.
   ========================================================= */


/* =========================================================
   PURPLE — BROWSE COLLECTIONS
   ========================================================= */

.sev3-shell[data-site-experience-v3="1"] .sev3-browse-title {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;

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

    color: #70409d !important;
    background: linear-gradient(
        180deg,
        #fbf6ff 0%,
        #f7effd 100%
    ) !important;

    border: 1px solid #d8bceb !important;
    border-bottom: 0 !important;
    border-radius: 18px 18px 0 0 !important;

    box-shadow:
        0 7px 18px rgba(115,64,153,.08) !important;
}

.sev3-shell[data-site-experience-v3="1"]
.sev3-browse-title::before {
    content: "▦" !important;

    width: 31px !important;
    height: 31px !important;
    flex: 0 0 31px !important;

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

    border-radius: 9px !important;

    background: #ead9f7 !important;
    border: 1px solid #d0aee7 !important;

    color: #7542a0 !important;
    font-size: 16px !important;
}

/* adjacent Browse grid */
.sev3-shell[data-site-experience-v3="1"]
.sev3-browse-title + .sev3-link-grid {
    margin: 0 !important;
    padding: 7px 17px 17px !important;

    background: linear-gradient(
        180deg,
        #f7effd 0%,
        #f4eafb 100%
    ) !important;

    border: 1px solid #d8bceb !important;
    border-top: 0 !important;
    border-radius: 0 0 18px 18px !important;

    box-shadow:
        0 12px 25px rgba(115,64,153,.10) !important;
}

.sev3-shell[data-site-experience-v3="1"]
.sev3-browse-title + .sev3-link-grid > a {
    background: rgba(255,255,255,.94) !important;
    border: 1px solid #e5d4f0 !important;
    border-left: 3px solid #a86fd0 !important;

    box-shadow:
        0 2px 7px rgba(115,64,153,.05) !important;
}


/* =========================================================
   ORANGE — OPEN BOOK RECORDS
   ========================================================= */

.sev3-shell[data-site-experience-v3="1"] .sev3-books-title {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;

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

    color: #a65b20 !important;

    background: linear-gradient(
        180deg,
        #fff8ef 0%,
        #fff2e5 100%
    ) !important;

    border: 1px solid #efc38f !important;
    border-bottom: 0 !important;
    border-radius: 18px 18px 0 0 !important;

    box-shadow:
        0 7px 18px rgba(191,112,39,.08) !important;
}

.sev3-shell[data-site-experience-v3="1"]
.sev3-books-title::before {
    content: "▤" !important;

    width: 31px !important;
    height: 31px !important;
    flex: 0 0 31px !important;

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

    border-radius: 9px !important;

    background: #ffe5c9 !important;
    border: 1px solid #efc18e !important;

    color: #ae6423 !important;
    font-size: 16px !important;
}

/* adjacent Book Records grid */
.sev3-shell[data-site-experience-v3="1"]
.sev3-books-title + .sev3-link-grid {
    margin: 0 !important;
    padding: 7px 17px 17px !important;

    background: linear-gradient(
        180deg,
        #fff2e5 0%,
        #ffecdc 100%
    ) !important;

    border: 1px solid #efc38f !important;
    border-top: 0 !important;
    border-radius: 0 0 18px 18px !important;

    box-shadow:
        0 12px 25px rgba(191,112,39,.10) !important;
}

.sev3-shell[data-site-experience-v3="1"]
.sev3-books-title + .sev3-link-grid > a {
    background: rgba(255,255,255,.95) !important;
    border: 1px solid #f1d6b8 !important;
    border-left: 3px solid #e89e55 !important;

    box-shadow:
        0 2px 7px rgba(191,112,39,.05) !important;
}


/* stronger hover identities */

.sev3-shell[data-site-experience-v3="1"]
.sev3-browse-title + .sev3-link-grid > a:hover {
    border-color: #c9a4e1 !important;
    box-shadow: 0 8px 18px rgba(115,64,153,.12) !important;
}

.sev3-shell[data-site-experience-v3="1"]
.sev3-books-title + .sev3-link-grid > a:hover {
    border-color: #e9b474 !important;
    box-shadow: 0 8px 18px rgba(191,112,39,.12) !important;
}


/* mobile */
@media (max-width: 767px) {

    .sev3-shell[data-site-experience-v3="1"] .sev3-browse-title,
    .sev3-shell[data-site-experience-v3="1"] .sev3-books-title {
        padding: 15px 14px 8px !important;
    }

    .sev3-shell[data-site-experience-v3="1"]
    .sev3-browse-title + .sev3-link-grid,

    .sev3-shell[data-site-experience-v3="1"]
    .sev3-books-title + .sev3-link-grid {
        padding: 7px 14px 14px !important;
    }
}

/* SITE_V3_EXPLICIT_LEFT_V39 */

/* =========================================================
   SITE V3.40 - MODULE TYPE COLOR SYSTEM
   Different recipes keep different layouts.
   Every module type gets its own visual identity.
   ========================================================= */

/* ---------- TYPE VARIABLES ---------- */

/* Purple */
.sev3-shell .sev3-map {
    --sev3-type-bg: #faf3ff;
    --sev3-type-border: #d7b8eb;
    --sev3-type-accent: #7845a0;
    --sev3-type-card: #fff;
    --sev3-type-shadow: rgba(117,67,154,.10);
}

/* Violet */
.sev3-shell .sev3-collections {
    --sev3-type-bg: #f8f4ff;
    --sev3-type-border: #cbbdeb;
    --sev3-type-accent: #674ea0;
    --sev3-type-card: #fff;
    --sev3-type-shadow: rgba(97,72,157,.09);
}

/* Warm orange */
.sev3-shell .sev3-books {
    --sev3-type-bg: #fff4e9;
    --sev3-type-border: #efc08a;
    --sev3-type-accent: #a65d20;
    --sev3-type-card: #fff;
    --sev3-type-shadow: rgba(191,112,39,.10);
}

/* Rose */
.sev3-shell .sev3-authors {
    --sev3-type-bg: #fff3f6;
    --sev3-type-border: #efbac8;
    --sev3-type-accent: #a84764;
    --sev3-type-card: #fff;
    --sev3-type-shadow: rgba(173,70,101,.09);
}

/* Sky blue */
.sev3-shell .sev3-paths {
    --sev3-type-bg: #f0f7ff;
    --sev3-type-border: #b7d5f1;
    --sev3-type-accent: #3970a7;
    --sev3-type-card: #fff;
    --sev3-type-shadow: rgba(57,112,167,.09);
}

/* Indigo */
.sev3-shell .sev3-author-paths {
    --sev3-type-bg: #f2f3ff;
    --sev3-type-border: #bec4ef;
    --sev3-type-accent: #525eaf;
    --sev3-type-card: #fff;
    --sev3-type-shadow: rgba(78,91,173,.09);
}

/* Blue */
.sev3-shell .sev3-mixed {
    --sev3-type-bg: #eef5ff;
    --sev3-type-border: #b9d2f5;
    --sev3-type-accent: #3565af;
    --sev3-type-card: #fff;
    --sev3-type-shadow: rgba(53,101,175,.09);
}

/* Teal */
.sev3-shell .sev3-index {
    --sev3-type-bg: #effbfa;
    --sev3-type-border: #acdeda;
    --sev3-type-accent: #247f78;
    --sev3-type-card: #fff;
    --sev3-type-shadow: rgba(36,127,120,.09);
}

/* Green */
.sev3-shell .sev3-discovery {
    --sev3-type-bg: #f2fbf2;
    --sev3-type-border: #b7dfb9;
    --sev3-type-accent: #3a8044;
    --sev3-type-card: #fff;
    --sev3-type-shadow: rgba(58,128,68,.09);
}

/* Mint */
.sev3-shell .sev3-split {
    --sev3-type-bg: #eefbf8;
    --sev3-type-border: #b2e0d6;
    --sev3-type-accent: #217f6d;
    --sev3-type-card: #fff;
    --sev3-type-shadow: rgba(33,127,109,.09);
}


/* ---------- APPLY TO EVERY REAL MODULE ---------- */

.sev3-shell[data-site-experience-v3="1"] .sev3-module {
    background: var(--sev3-type-bg, #fff) !important;
    border: 1px solid var(--sev3-type-border, rgba(70,50,80,.12)) !important;
    border-radius: 18px !important;

    box-shadow:
        0 10px 25px var(--sev3-type-shadow, rgba(50,35,60,.06))
        !important;
}

.sev3-shell[data-site-experience-v3="1"] .sev3-module > h3 {
    color: var(--sev3-type-accent, #454047) !important;
}

.sev3-shell[data-site-experience-v3="1"] .sev3-module a {
    background: var(--sev3-type-card, #fff) !important;

    border-color:
        color-mix(
            in srgb,
            var(--sev3-type-accent, #777) 23%,
            transparent
        ) !important;

    box-shadow:
        0 2px 7px var(--sev3-type-shadow, rgba(50,35,60,.035))
        !important;
}

/* coloured left accent */
.sev3-shell[data-site-experience-v3="1"]
.sev3-module .sev3-link-grid > a,

.sev3-shell[data-site-experience-v3="1"]
.sev3-module .sev3-split-grid a,

.sev3-shell[data-site-experience-v3="1"]
.sev3-module dl a,

.sev3-shell[data-site-experience-v3="1"]
.sev3-module .sev3-pairs a {
    border-left:
        3px solid var(--sev3-type-accent, #888)
        !important;
}


/* ---------- MAP SPECIFIC ---------- */

.sev3-shell[data-site-experience-v3="1"] .sev3-map {
    padding: 16px !important;
}

.sev3-shell[data-site-experience-v3="1"] .sev3-map > h3 {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.sev3-shell[data-site-experience-v3="1"] .sev3-map > h3::before {
    content: "▦" !important;

    width: 31px !important;
    height: 31px !important;
    flex: 0 0 31px !important;

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

    border-radius: 9px !important;

    background: #efdef8 !important;
    border: 1px solid #d5b4e8 !important;

    color: #7845a0 !important;
}


/* ---------- TYPE HEADING SYMBOLS ---------- */

.sev3-shell .sev3-authors > h3::before {
    content: "A" !important;
}

.sev3-shell .sev3-paths > h3::before {
    content: "↝" !important;
}

.sev3-shell .sev3-author-paths > h3::before {
    content: "⇄" !important;
}

.sev3-shell .sev3-index > h3::before {
    content: "#" !important;
}

.sev3-shell .sev3-discovery > h3::before {
    content: "✦" !important;
}


/* ---------- HOVER ---------- */

.sev3-shell[data-site-experience-v3="1"] .sev3-module a:hover {
    transform: translateY(-1px) !important;

    box-shadow:
        0 8px 18px var(--sev3-type-shadow, rgba(50,35,60,.09))
        !important;
}


/* ---------- MOBILE ---------- */

@media (max-width: 767px) {
    .sev3-shell[data-site-experience-v3="1"] .sev3-module {
        border-radius: 15px !important;
    }
}

/* SITE_V3_MODULE_PALETTE_V40 */

/* =========================================================
   V40 THREE MODULE LAYOUT
   If Open book records is the final logical module,
   span it across both columns.
   ========================================================= */

@media (min-width: 768px) {

    .sev3-shell[data-site-experience-v3="1"]
    .sev3-modules:has(
        > .sev3-books-title + .sev3-link-grid:last-child
    )
    > .sev3-books-title,

    .sev3-shell[data-site-experience-v3="1"]
    .sev3-modules:has(
        > .sev3-books-title + .sev3-link-grid:last-child
    )
    > .sev3-books-title + .sev3-link-grid {
        grid-column: 1 / -1 !important;
    }

    /* six book records -> 2 columns / 3 rows */
    .sev3-shell[data-site-experience-v3="1"]
    .sev3-modules:has(
        > .sev3-books-title + .sev3-link-grid:last-child
    )
    > .sev3-books-title + .sev3-link-grid {
        display: grid !important;
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        gap: 9px !important;
    }
}

/* mobile remains single column */
@media (max-width: 767px) {

    .sev3-shell[data-site-experience-v3="1"]
    .sev3-books-title + .sev3-link-grid {
        grid-template-columns: 1fr !important;
    }
}

/* SITE_V3_THREE_MODULE_LAYOUT_V401 */
