/* ==========================================================================
   Law Over Borders (LOB) - Page Styles
   ========================================================================== */

/* ---------- Variables / Colors ---------- */
:root {
    --lob-teal: #2d4a5a;
    --lob-teal-dark: #1e3544;
    --lob-burgundy: #6b2845;
    --lob-burgundy-light: #8a3a5e;
    --lob-text-dark: #222;
    --lob-text-medium: #555;
    --lob-text-light: #888;
    --lob-border: #ddd;
    --lob-bg-light: #f7f7f7;
    --lob-bg-white: #fff;
    --lob-accent: #c9a84c;
    --lob-banner-bg: #2d4a5a;
    --lob-gold-badge: #c9a84c;

    /* ---------- Typography ---------- */
    --lob-font-heading: Georgia, "Times New Roman", Times, serif;
    --lob-font-body: Georgia, "Times New Roman", Times, serif;
    --lob-font-accent: Georgia, "Times New Roman", Times, serif;
    --lob-font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Alpine.js Cloak ---------- */
[x-cloak] {
    display: none !important;
}

/* ---------- LOB: Remove header border lines ---------- */
#page-content-wrapper:has(.lob-page) .header_logo_search_group {
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* ---------- LOB Page Wrapper ---------- */
.lob-page {
    font-family: var(--lob-font-body);
    font-weight: 400;
    color: var(--lob-text-dark);
    line-height: 1.4;
    font-size: 16px;
}

.lob-page * {
    box-sizing: border-box;
    overflow: hidden;
}

/* ---------- Compact Page Header ---------- */
.lob-page-header {
    background: var(--lob-teal-dark);
    padding: 18px 0 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

.lob-page-header__breadcrumb {
    font-family: var(--lob-font-body);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.lob-page-header__breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.lob-page-header__breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.lob-page-header__breadcrumb span[aria-hidden] {
    margin: 0 8px;
}

.lob-page-header__title {
    font-family: var(--lob-font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

/* ---------- Static Banner ---------- */
.lob-static-banner {
    text-align: center;
    padding: 8px 0;
    font-family: var(--lob-font-heading);
    font-size: 18px;
    letter-spacing: 0.3px;
    background: linear-gradient(to bottom, #1a2e3a, var(--lob-teal-dark));
}

.lob-static-banner a {
    color: #fff;
    text-decoration: underline;
}

.lob-static-banner span {
    font-family: var(--lob-font-body);
    font-weight: 300;
}

/* ---------- Hero Section ---------- */
.lob-hero {
    background-color: var(--lob-teal);
    background-image: url('/theme/hewo/assets/images/lob/map_teal.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0 65px;
    text-align: center;
    position: relative;
    overflow: visible !important;
}

.lob-hero .container {
    position: relative;
    z-index: 1;
    overflow: visible !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 0px;
    padding-bottom: 10px;
    gap: 24px;
}

.lob-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 53, 68, 0.7);
    z-index: 0;
}

.lob-hero__title {
    font-family: var(--lob-font-heading);
    font-size: 64px;
    font-weight: 400;
    color: #fff;
    margin: 0 0 4px;
    letter-spacing: 0.5px;
}

.lob-hero__subtitle {
    font-family: var(--lob-font-accent);
    font-size: 20px;
    font-weight: 400;
    color: rgba(166,212,220,0.9);
    margin: 0 0 18px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* Hero Search */
.lob-hero__search {
    display: flex;
    gap: 35px;
    max-width: 100%;
    width: 1080px;
    margin: 0 auto;
    overflow: visible !important;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 24px 28px;
}

.lob-hero__search-group {
    flex: 1;
    width: 100%;
    overflow: visible !important;
}

.lob-hero__search-label {
    display: block;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 6px;
    text-align: left;
}

.lob-hero__search-input-wrap {
    position: relative;
    overflow: visible !important;
}

.lob-hero .lob-hero__search-input {
    width: 100%;
    padding: 10px 40px 10px 14px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    background-color: rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    font-size: 14px;
    font-family: var(--lob-font-body);
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.lob-hero .lob-hero__search-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.lob-hero .lob-hero__search-input:focus {
    border-color: rgba(255,255,255,0.4);
    background-color: rgba(255,255,255,0.12);
    box-shadow: none;
}

.lob-hero__search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    opacity: 0.7;
    pointer-events: none;
}


/* ---------- Intro Section ---------- */
.lob-intro {
    padding: 100px 0;
    background: var(--lob-bg-white);
}

.lob-intro__row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.lob-intro__text {
    flex: 1;
}

.lob-intro__text p {
    font-family: var(--lob-font-accent);
    font-size: 18px;
    line-height: 1.4;
    color: var(--lob-text-dark);
    margin-bottom: 16px;
}

.lob-intro__cta {
    flex: 4 0 438px;
    max-width: 441px;
    background: #CADADE;
    border: 1px solid var(--lob-border);
    border-radius: 0px;
    padding: 50px 50px;
    text-align: center;
}

.lob-intro__cta-title {
    font-family: var(--lob-font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--lob-text-dark);
    margin: 0 0 20px;
    line-height: 1.4;
}

.lob-intro__cta .lob-btn--primary {
    background: #3C3C3C;
    border: 1px solid #3C3C3C;
    color: #fff;
    font-weight: 600;
    box-shadow: none;
}

.lob-intro__cta .lob-btn--primary:hover,
.lob-intro__cta .lob-btn--primary:focus {
    background: #2a2a2a;
    border-color: #2a2a2a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lob-intro__cta-btn {
    display: inline-block;
    padding: 10px 28px;
    background: #3C3C3C;
    border: 2px solid #3C3C3C;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.lob-intro__cta-btn:hover {
    background: var(--lob-text-dark);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ---------- Section Headers ---------- */
.lob-section {
    padding: 60px 0;
    overflow: visible !important;
}

.lob-section + .lob-section {
    border-top: 1px solid rgba(0,0,0,0.06);
}

.lob-section > .container {
    overflow: visible !important;
}

.lob-section--alt {
    background: #fff;
    padding: 70px 0 65px;
}

.lob-section--events {
    padding: 70px 0 75px;
    background: #f5f3f0;
}

.lob-section--events-index {
    padding: 40px 0;
    background: var(--lob-bg-light, #f7f7f7);
}

.lob-section--events-index .lob-section__heading {
    font-family: var(--lob-font-heading, 'Playfair Display', serif);
    font-size: 1.75rem;
    color: var(--lob-teal-dark, #0a3d3f);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--lob-teal-dark, #0a3d3f);
}

.lob-section__title {
    font-family: var(--lob-font-body);
    font-size: 2rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0px;
    color: var(--lob-text-dark);
    margin: 0 0 30px;
    padding-bottom: 12px;
    border-bottom: none;
    display: inline-block;
    position: relative;
}

.lob-section__title::after {
    display: none;
}

/* ---------- Latest Publications ---------- */
.lob-publications__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 35px;
}

.lob-pub-card {
    display: flex;
    gap: 20px;
    background: var(--lob-bg-white);
    border: 1px solid var(--lob-border);
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease;
}

.lob-pub-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
}

.lob-pub-card__image {
    flex: 0 0 140px;
    min-height: 200px;
    overflow: hidden;
    background: #eee;
}

.lob-pub-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lob-pub-card__body {
    flex: 1;
    padding: 20px 20px 20px 0;
    display: flex;
    flex-direction: column;
}

.lob-pub-card__title {
    font-family: var(--lob-font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--lob-text-dark);
    margin: 0 0 12px;
    line-height: 1.3;
}

.lob-pub-card__title a {
    color: inherit;
    text-decoration: none;
}

.lob-pub-card__title a:hover {
    text-decoration: underline;
}

.lob-pub-card__excerpt {
    font-family: var(--lob-font-accent);
    font-size: 15px;
    line-height: 1.4;
    color: var(--lob-text-medium);
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.lob-publications__btn-wrap {
    text-align: center;
    margin-top: 30px;
}

.lob-btn {
    display: inline-block;
    padding: 11px 20px;
    border: 1px solid var(--lob-text-dark);
    border-radius: 6px;
    color: var(--lob-text-dark);
    font-family: var(--lob-font-body);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: background 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: transparent;
}

.lob-btn:hover,
.lob-btn:focus {
    background: var(--lob-text-dark);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.lob-btn--outline-light {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    letter-spacing: 1.2px;
}

.lob-btn--outline-light:hover,
.lob-btn--outline-light:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.08);
}

/* ---------- Latest Knowledge ---------- */
.lob-knowledge__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.lob-knowledge-card {
    background: var(--lob-bg-white);
    border: none;
    border-radius: 0;
    padding: 30px 26px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 1px 3px rgba(45,74,90,0.06),
        0 4px 12px rgba(45,74,90,0.05),
        0 8px 24px rgba(45,74,90,0.03);
    transition: box-shadow 0.3s ease, outline-color 0.3s ease;
    outline: 1px solid transparent;
}

.lob-knowledge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--lob-teal);
    opacity: 1;
}

.lob-knowledge-card:hover {
    outline: 1px solid rgba(45,74,90,0.18);
    box-shadow:
        0 4px 8px rgba(45,74,90,0.08),
        0 8px 24px rgba(45,74,90,0.12),
        0 16px 40px rgba(45,74,90,0.06);
}

.lob-knowledge-card a {
    color: inherit;
    text-decoration: none;
}

.lob-knowledge-card a:hover {
    text-decoration: underline;
}

.lob-knowledge-card__chapter {
    font-family: var(--lob-font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--lob-text-dark);
    margin: 0 0 8px;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.lob-knowledge-card__book {
    font-family: var(--lob-font-accent);
    font-size: 11px;
    font-weight: 600;
    color: var(--lob-teal);
    margin: 0 0 14px;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.lob-knowledge-card__excerpt {
    font-family: var(--lob-font-accent);
    font-size: 1rem;
    line-height: 1.55;
    color: var(--lob-text-medium);
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* ---------- In the Spotlight (News) ---------- */
.lob-news__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.lob-news-card {
    background: var(--lob-bg-white);
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-top: 3px solid var(--lob-teal);
    box-shadow:
        0 1px 3px rgba(45,74,90,0.06),
        0 4px 12px rgba(45,74,90,0.05),
        0 8px 24px rgba(45,74,90,0.03);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.lob-news-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 4px 8px rgba(45,74,90,0.08),
        0 8px 24px rgba(45,74,90,0.12),
        0 16px 40px rgba(45,74,90,0.06);
}

.lob-news-card__img-wrap {
    display: block;
    position: relative;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
    background: var(--lob-bg-light);
}

.lob-news-card__img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lob-news-card:hover .lob-news-card__img-wrap img {
    transform: scale(1.05);
}

.lob-news-card__img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--lob-teal) 0%, var(--lob-teal-dark) 100%);
}

.lob-news-card__body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lob-news-card__book {
    font-family: var(--lob-font-accent);
    font-size: 14px;
    font-weight: 100;
    color: var(--lob-teal);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.lob-news-card__title {
    font-family: var(--lob-font-heading);
    font-size: 19px;
    font-weight: 700;
    color: var(--lob-text-dark);
    margin: 0 0 12px;
    line-height: 1.35;
    letter-spacing: -0.2px;
}

.lob-news-card__title a {
    color: inherit;
    text-decoration: none;
}

.lob-news-card__title a:hover {
    text-decoration: underline;
}

.lob-news-card__date {
    font-family: var(--lob-font-ui);
    font-size: 12px;
    color: var(--lob-text-light);
    margin-top: auto;
}

.lob-news-card__excerpt {
    font-family: var(--lob-font-ui);
    font-size: 1rem;
    color: var(--lob-text-light);
    line-height: 1.5;
    margin-top: 8px;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .lob-news__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .lob-news__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .lob-news-card__img-wrap {
        width: 100%;
    }

    .lob-news-card__body {
        padding: 16px 18px;
    }

    .lob-news-card__title {
        font-size: 15px;
    }
}

/* ---------- Events Sub Nav ---------- */
.lob-events-nav {
    background: var(--lob-bg-light, #f4f7f6);
    border-top: 1px solid rgba(45,74,90,0.12);
    box-shadow: 0 2px 8px rgba(45,74,90,0.08);
}

.lob-events-nav__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lob-events-nav__tabs {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.lob-events-nav__tab {
    display: block;
    padding: 15px 22px;
    font-family: var(--lob-font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--lob-teal-dark, #0a3d3f);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.lob-events-nav__tab:hover {
    color: var(--lob-teal);
    border-bottom-color: rgba(45,74,90,0.3);
    text-decoration: none;
}

.lob-events-nav__tab--active {
    color: var(--lob-teal-dark, #0a3d3f);
    border-bottom-color: var(--lob-teal-dark, #0a3d3f);
    font-weight: 600;
}

.lob-events-nav__filters {
    display: inline-flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.lob-events-nav__pill {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-family: var(--lob-font-body);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    background: transparent;
    color: var(--lob-text-medium, #5a6b6d);
    border: 1px solid var(--lob-border, rgba(45,74,90,0.15));
    text-transform: capitalize;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lob-events-nav__pill:hover {
    background: rgba(45,74,90,0.06);
    color: var(--lob-teal-dark, #0a3d3f);
    text-decoration: none;
}

.lob-events-nav__pill--active {
    background: var(--lob-teal, #2d4a5a);
    color: #fff;
    border-color: var(--lob-teal, #2d4a5a);
}

.lob-events-nav__pill--active:hover {
    background: var(--lob-teal-dark, #0a3d3f);
    color: #fff;
    border-color: var(--lob-teal-dark, #0a3d3f);
}

@media (max-width: 768px) {
    .lob-events-nav__container {
        flex-direction: column;
        gap: 10px;
        padding-top: 8px;
        padding-bottom: 12px;
    }

    .lob-events-nav__tabs {
        justify-content: center;
    }

    .lob-events-nav__filters {
        justify-content: center;
    }
}

/* ---------- Upcoming Events ---------- */
.lob-events__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 35px;
}

.lob-event-card {
    background: var(--lob-bg-white);
    border: 1px solid rgba(45,74,90,0.06);
    border-radius: 0px;
    padding: 5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(45,74,90,0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lob-event-card__image {
    width: 100%;
    height: auto;
    overflow: hidden;
    display: block;
}

.lob-event-card__image img {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.lob-event-card:hover .lob-event-card__image img {
    transform: scale(1.03);
}

.lob-event-card:hover {
    box-shadow: 0 8px 28px rgba(45,74,90,0.13);
    border-color: rgba(45,74,90,0.12);
}

.lob-event-card__link {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 28px 22px;
    text-decoration: none;
    color: inherit;
}

.lob-event-card__link:hover {
    text-decoration: none;
    color: inherit;
}

.lob-event-card__badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--lob-teal-dark);
    border: 1px solid rgba(45,74,90,0.12);
    border-radius: 20px;
    background: rgba(45,74,90,0.06);
    padding: 4px 12px;
    margin-bottom: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.lob-event-card__link:hover .lob-event-card__badge,
.lob-event-card__link:focus .lob-event-card__badge {
    background: var(--lob-teal-dark);
    color: #fff;
    border-color: var(--lob-teal-dark);
}

.lob-event-card__title {
    font-family: var(--lob-font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--lob-text-dark);
    margin: 0 0 12px;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.lob-event-card__meta {
    font-family: var(--lob-font-accent);
    font-size: 1rem;
    color: var(--lob-teal);
    margin: 0 0 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lob-event-card__meta img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.lob-event-card__desc {
    font-family: var(--lob-font-accent);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--lob-text-medium);
    margin: 10px 0 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.lob-events__btn-wrap {
    text-align: center;
}

.lob-btn--load-more {
    font-size: 13px;
    padding: 9px 26px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--lob-teal);
    color: var(--lob-teal);
    background: transparent;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.lob-btn--load-more:hover,
.lob-btn--load-more:focus {
    background: var(--lob-teal);
    color: #fff;
    box-shadow: 0 4px 12px rgba(45,74,90,0.2);
}

.lob-btn--load-more .caret {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid currentColor;
}

/* ==========================================================================
   All Guides Page
   ========================================================================== */

/* ---------- Toolbar ---------- */
.lob-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px 24px;
    background: var(--lob-bg-white);
    border: 1px solid var(--lob-border);
    border-radius: 8px;
    overflow: visible !important;
}

.lob-toolbar__title {
    font-family: var(--lob-font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--lob-text-dark);
    letter-spacing: 0.3px;
    margin: 0;
}

.lob-toolbar__controls {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    overflow: visible !important;
}

.lob-toolbar__select {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lob-toolbar__label {
    font-family: var(--lob-font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--lob-text-light);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    flex-shrink: 0;
    padding-right: 1px;
}

.lob-toolbar__select select {
    padding: 7px 12px;
    border: 1px solid var(--lob-border);
    border-radius: 6px;
    font-family: var(--lob-font-body);
    font-size: 13px;
    background: var(--lob-bg-light);
    color: var(--lob-text-dark);
    cursor: pointer;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px;
}

.lob-toolbar__select select:hover,
.lob-toolbar__select select:focus {
    border-color: var(--lob-teal);
    outline: none;
}

/* ---------- Toolbar Searchable Select ---------- */
.lob-toolbar__select--searchable {
    position: relative;
    overflow: visible !important;
}

.lob-toolbar__search-wrap {
    position: relative;
    overflow: visible !important;
}

.lob-toolbar__search-input {
    padding: 7px 12px;
    border: 1px solid var(--lob-border);
    border-radius: 6px;
    font-family: var(--lob-font-body);
    font-size: 13px;
    background: var(--lob-bg-light);
    color: var(--lob-text-dark);
    width: 160px;
    transition: border-color 0.2s;
}

.lob-toolbar__search-input::placeholder {
    color: var(--lob-text-light);
}

.lob-toolbar__search-input:hover,
.lob-toolbar__search-input:focus {
    border-color: var(--lob-teal);
    outline: none;
}

.lob-toolbar__search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--lob-text-light);
    cursor: pointer;
    padding: 2px;
    font-size: 13px;
    line-height: 1;
    transition: color 0.15s;
}

.lob-toolbar__search-clear:hover {
    color: var(--lob-teal);
}

.lob-toolbar__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    margin: 4px 0 0;
    padding: 4px 0;
    list-style: none;
    max-height: 240px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--lob-border);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-width: 200px;
    scrollbar-width: thin;
}

.lob-toolbar__dropdown-item {
    padding: 8px 12px;
    font-family: var(--lob-font-body);
    font-size: 13px;
    color: var(--lob-text-dark);
    cursor: pointer;
    transition: background 0.1s;
}

.lob-toolbar__dropdown-item.highlighted {
    background: var(--lob-bg-light);
}

.lob-toolbar__dropdown-item.selected {
    background: rgba(45, 74, 90, 0.08);
    font-weight: 500;
}

.lob-toolbar__dropdown-empty {
    padding: 8px 12px;
    font-family: var(--lob-font-body);
    font-size: 13px;
    color: var(--lob-text-light);
    font-style: italic;
}

.lob-guides-empty__reset {
    display: inline-block;
    margin-top: 8px;
    font-family: var(--lob-font-body);
    font-size: 13px;
    color: var(--lob-teal);
    text-decoration: underline;
    transition: color 0.15s;
}

.lob-guides-empty__reset:hover {
    color: var(--lob-teal-dark);
}

.lob-toolbar__toggle {
    display: flex;
    gap: 0;
}

/* ---------- Toolbar Pagination Row ---------- */
.lob-toolbar-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 10px 20px;
    background: var(--lob-bg-light);
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 12px;
}

.lob-toolbar-pagination__info {
    font-family: var(--lob-font-body);
    font-size: 13px;
    color: var(--lob-text-light);
}

.lob-toolbar-pagination__links .pagination {
    margin: 0;
}

.lob-toolbar-pagination__links {
    display: flex;
}

.lob-toolbar-pagination__links .pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}

.lob-toolbar-pagination__links .page-item {
    margin: 0;
}

.lob-toolbar-pagination__links .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: none !important;
    background: var(--lob-bg-light);
    color: var(--lob-text-dark);
    font-family: var(--lob-font-body);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.lob-toolbar-pagination__links .page-link:hover {
    background: var(--lob-teal);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(45, 74, 90, 0.25);
}

.lob-toolbar-pagination__links .page-item.active .page-link {
    background: var(--lob-teal);
    color: #fff;
    box-shadow: 0 4px 12px rgba(45, 74, 90, 0.3);
}

.lob-toolbar-pagination__links .page-item.active .page-link:hover {
    background: var(--lob-teal-dark);
}

.lob-toolbar-pagination__links .page-item.disabled .page-link {
    color: var(--lob-text-light);
    background: var(--lob-bg-light);
    pointer-events: none;
    opacity: 0.5;
    box-shadow: none;
}

/* Hide the default Bootstrap pagination info text (we show our own) */
.lob-toolbar-pagination__links p.text-muted,
.lob-pagination p.text-muted {
    display: none;
}

/* ---------- Pagination ---------- */
.lob-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.lob-pagination--top {
    margin-top: 0;
    margin-bottom: 24px;
}

.lob-pagination nav {
    display: flex;
    justify-content: center;
}

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

.lob-pagination .page-item {
    margin: 0;
}

.lob-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: none !important;
    background: var(--lob-bg-light);
    color: var(--lob-text-dark);
    font-family: var(--lob-font-body);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.lob-pagination .page-link:hover {
    background: var(--lob-teal);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(45, 74, 90, 0.25);
}

.lob-pagination .page-item.active .page-link {
    background: var(--lob-teal);
    color: #fff;
    box-shadow: 0 4px 12px rgba(45, 74, 90, 0.3);
}

.lob-pagination .page-item.active .page-link:hover {
    background: var(--lob-teal-dark);
}

.lob-pagination .page-item.disabled .page-link {
    color: var(--lob-text-light);
    background: var(--lob-bg-light);
    pointer-events: none;
    opacity: 0.5;
    box-shadow: none;
}

/* ---------- Toggle Buttons ---------- */
.lob-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--lob-border);
    background: var(--lob-bg-white);
    color: var(--lob-text-dark);
    font-family: var(--lob-font-body);
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.lob-toggle-btn:first-child {
    border-radius: 4px 0 0 4px;
}

.lob-toggle-btn + .lob-toggle-btn {
    border-left: none;
}

.lob-toggle-btn:last-child {
    border-radius: 0 4px 4px 0;
}

.lob-toggle-btn:hover {
    background: var(--lob-bg-light);
    text-decoration: none;
    color: var(--lob-text-dark);
}

.lob-toggle-btn--active {
    background: var(--lob-teal);
    border-color: var(--lob-teal);
    color: #fff;
}

.lob-toggle-btn--active:hover {
    background: var(--lob-teal-dark);
    border-color: var(--lob-teal-dark);
    color: #fff;
}

.lob-toggle-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Small toggle variant for inline use */
.lob-toggle-btn--sm {
    padding: 4px 8px;
    font-size: 11px;
}

.lob-toggle-btn--sm svg {
    width: 14px;
    height: 14px;
}

/* Jurisdiction toggle group */
.lob-jurisdiction-toggle {
    display: inline-flex;
    gap: 0;
    border-radius: 4px;
    overflow: hidden;
}

/* ---------- Guides Grid ---------- */
.lob-guides-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.lob-guides-grid--detailed {
    grid-template-columns: 1fr;
}

/* ---------- Guide Card (Base) ---------- */
.lob-guide-card {
    display: flex;
    flex-direction: column;
    background: var(--lob-bg-white);
    border: 1px solid var(--lob-border);
    border-radius: 8px;
    padding: 3px;
    overflow: visible;
    transition: box-shadow 0.3s ease;
}

.lob-guide-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.08);
}

.lob-guide-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.lob-guide-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.lob-guide-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: visible !important;
}

.lob-guide-card__title {
    font-family: var(--lob-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lob-text-dark);
    margin: 0 0 12px;
    line-height: 1.3;
}

.lob-guide-card__title a {
    color: inherit;
    text-decoration: none;
}

.lob-guide-card__title a:hover {
    text-decoration: underline;
}

.lob-guide-card__excerpt {
    font-family: var(--lob-font-accent);
    font-size: 16px;
    line-height: 1.5;
    color: var(--lob-text-medium);
    margin: 0;
}

/* ---------- Guide Card (List View - Horizontal) ---------- */
.lob-guide-card--list {
    flex-direction: row;
    border-left: 3px solid transparent;
    transition: box-shadow 0.2s, border-left-color 0.25s;
}

.lob-guide-card--list:hover {
    border-left-color: var(--lob-teal);
}

.lob-guide-card--list .lob-guide-card__image {
    flex: 0 0 160px;
    height: auto;
    min-height: 180px;
    padding: 12px;
    background: var(--lob-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lob-guide-card--list .lob-guide-card__image img {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.08);
    border-radius: 3px;
    max-height: 160px;
    width: auto;
    max-width: 100%;
    object-fit: unset;
    height: auto;
}

.lob-guide-card--list .lob-guide-card__title {
    font-size: 1.15rem;
    line-height: 1.35;
}

.lob-guide-card--list .lob-guide-card__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- List Card Meta Row ---------- */
.lob-guide-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin-bottom: 10px;
}

.lob-guide-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--lob-font-body);
    font-size: 12px;
    color: var(--lob-text-light);
    white-space: nowrap;
}

.lob-guide-card__meta-item i {
    font-size: 11px;
    color: var(--lob-teal);
}

.lob-guide-card__meta-overflow {
    font-size: 11px;
    color: var(--lob-teal);
    font-weight: 600;
}

/* ---------- List Card Footer ---------- */
.lob-guide-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
}

.lob-guide-card__badges {
    display: flex;
    gap: 6px;
}

.lob-guide-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--lob-font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--lob-teal);
    background: rgba(45, 74, 90, 0.08);
    padding: 3px 10px;
    border-radius: 4px;
}

a.lob-guide-card__badge {
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

a.lob-guide-card__badge:hover {
    background: var(--lob-teal);
    color: #fff;
    text-decoration: none;
}

.lob-guide-card__badge i {
    font-size: 10px;
}

.lob-guide-card__read-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--lob-font-body);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--lob-teal);
    text-decoration: none;
    transition: color 0.2s;
}

.lob-guide-card__read-link:hover {
    color: var(--lob-teal-dark);
    text-decoration: none;
}

.lob-guide-card__read-arrow {
    display: inline-block;
}

/* ---------- Published Date ---------- */
.lob-guide-card__date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--lob-font-body);
    font-size: 13px;
    color: var(--lob-text-light);
    margin-bottom: 10px;
}

.lob-guide-card__date i {
    font-size: 14px;
}

/* ---------- Guide Card (Jurisdiction View) ---------- */
.lob-guide-card--jurisdiction {
    flex-direction: row;
    border-left: 3px solid transparent;
    transition: box-shadow 0.2s, border-left-color 0.25s;
}

.lob-guide-card--jurisdiction:hover {
    border-left-color: var(--lob-teal);
}

.lob-guide-card--jurisdiction .lob-guide-card__image {
    flex: 0 0 160px;
    height: auto;
    min-height: 180px;
    padding: 12px;
    background: var(--lob-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lob-guide-card--jurisdiction .lob-guide-card__image img {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.08);
    border-radius: 3px;
    max-height: 160px;
    width: auto;
    max-width: 100%;
    object-fit: unset;
    height: auto;
}

.lob-guide-card--jurisdiction .lob-guide-card__title {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 8px;
}

/* Jurisdiction Chapters Block */
.lob-jurisdiction-chapters {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.lob-jurisdiction-chapter {
    padding: 10px 14px;
    background: var(--lob-bg-light);
    border-radius: 6px;
    border-left: 3px solid var(--lob-border);
}

.lob-jurisdiction-chapter__header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.lob-jurisdiction-chapter__type {
    display: inline-block;
    font-family: var(--lob-font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 3px;
    white-space: nowrap;
    line-height: 1.3;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a.lob-jurisdiction-chapter__type:hover {
    opacity: 0.85;
}

.lob-jurisdiction-chapter__type--qa {
    background: var(--lob-teal);
    color: #fff;
}

.lob-jurisdiction-chapter__type--market {
    background: var(--lob-burgundy);
    color: #fff;
}

.lob-jurisdiction-chapter__type--default {
    background: var(--lob-border);
    color: var(--lob-text-dark);
}

.lob-jurisdiction-chapter__link {
    font-family: var(--lob-font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--lob-text-dark);
    text-decoration: none;
    line-height: 1.4;
}

.lob-jurisdiction-chapter__link:hover {
    color: var(--lob-teal);
    text-decoration: underline;
}

.lob-jurisdiction-chapter__contributors {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
}

.lob-jurisdiction-chapter__contributor {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--lob-font-body);
    font-size: 12px;
    color: var(--lob-text-light);
    line-height: 1.4;
    white-space: nowrap;
}

.lob-jurisdiction-chapter__contributor a {
    color: var(--lob-text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lob-jurisdiction-chapter__contributor a:hover {
    color: var(--lob-teal);
    text-decoration: underline;
}

/* ---------- Guide Card (Detailed View) ---------- */
.lob-guide-card--detailed {
    flex-direction: row;
}

.lob-guide-card--detailed .lob-guide-card__image {
    flex: 0 0 280px;
    height: auto;
    min-height: 350px;
    align-self: flex-start;
    padding: 20px;
    background: var(--lob-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lob-guide-card--detailed .lob-guide-card__image img {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    max-height: 320px;
    width: auto;
    max-width: 100%;
    object-fit: unset;
    height: auto;
}

.lob-guide-card--detailed .lob-guide-card__body {
    flex: 1;
    padding: 24px 30px;
}

.lob-guide-card__label {
    display: block;
    font-family: var(--lob-font-body);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--lob-text-light);
    margin-bottom: 6px;
}

.lob-guide-card__section {
    margin-top: 20px;
    overflow: visible !important;
}

/* ---------- Editors & Jurisdictions Columns ---------- */
.lob-guide-card__columns {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
    overflow: visible !important;
}

.lob-guide-card__columns .lob-guide-card__section {
    margin-top: 0;
}

.lob-guide-card__section--editors {
    flex: 0 1 40%;
    max-width: 100%;
}

.lob-guide-card__section--jurisdictions {
    flex: 1 1 55%;
    overflow: visible !important;
}

.lob-guide-card__section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: visible !important;
}

.lob-guide-card__section-header .lob-guide-card__label {
    margin-bottom: 0;
}

/* ---------- Editors ---------- */
.lob-guide-card__editors {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 10px;
}

.lob-guide-card__editor {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.lob-guide-card__editor:hover {
    opacity: 0.8;
    text-decoration: none;
    color: inherit;
}

.lob-guide-card__editor-thumb {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    border: 1px solid var(--lob-border);
    overflow: hidden;
    background: var(--lob-teal);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lob-guide-card__editor-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lob-guide-card__editor-initials {
    font-family: var(--lob-font-body);
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}

.lob-guide-card__editor-info {
    display: flex;
    flex-direction: column;
}

.lob-guide-card__editor-name {
    font-family: var(--lob-font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--lob-text-dark);
    text-decoration: none;
}

.lob-guide-card__editor-name:hover {
    text-decoration: underline;
    color: var(--lob-text-dark);
}

.lob-guide-card__editor-firm {
    font-family: var(--lob-font-body);
    font-size: 13px;
    color: var(--lob-text-light);
    text-decoration: none;
}

.lob-guide-card__editor-firm:hover {
    color: var(--lob-teal);
    text-decoration: underline;
}

.lob-guide-card__editor-org-desc {
    font-family: var(--lob-font-accent);
    font-size: 12px;
    line-height: 1.4;
    color: var(--lob-text-light);
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Jurisdiction Boxes ---------- */
.lob-jurisdiction-boxes {
    columns: 4;
    column-gap: 32px;
    margin-top: 10px;
    overflow: visible !important;
}

/* Name mode (default): clean text links, no boxes */
.lob-jurisdiction-box {
    display: block;
    color: var(--lob-teal);
    font-family: var(--lob-font-body);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    margin-bottom: 10px;
    break-inside: avoid;
    line-height: 1.5;
    transition: color 0.2s;
}

a.lob-jurisdiction-box:hover {
    color: var(--lob-teal-dark);
    text-decoration: underline;
}

.lob-jurisdiction-box strong {
    font-weight: 600;
}

/* When flag or code mode is active, switch container to flex-wrap */
.lob-jurisdiction-boxes--pills {
    columns: unset;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Bordered mode (guide detail page — wrapping pills with border) */
.lob-jurisdiction-boxes--bordered {
    columns: unset;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lob-jurisdiction-boxes--bordered .lob-jurisdiction-box {
    padding: 5px 14px;
    border: 1px solid rgba(45, 74, 90, 0.15);
    border-radius: 4px;
    margin-bottom: 0;
    font-size: 14px;
}

.lob-jurisdiction-boxes--bordered a.lob-jurisdiction-box:hover {
    border-color: var(--lob-teal);
    background: rgba(45, 74, 90, 0.04);
    text-decoration: none;
}

/* When flag or code mode is active, restore inline-flex pill treatment */
.lob-jurisdiction-box.lob-jurisdiction-box--flag,
.lob-jurisdiction-box.lob-jurisdiction-box--code {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
}

/* Jurisdiction box - Flag variant (restores card treatment) */
.lob-jurisdiction-box--flag {
    padding: 3px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

a.lob-jurisdiction-box--flag:hover {
    background: #fff;
    border-color: var(--lob-teal);
    box-shadow: 0 4px 12px rgba(45, 74, 90, 0.18);
    text-decoration: none;
    color: var(--lob-teal);
}

.lob-jurisdiction-box__flag {
    height: 26px;
    width: 38px;
    object-fit: cover;
    border-radius: 3px;
    border: none;
    display: block;
}

/* Jurisdiction box - Code variant (card style with flag + code) */
.lob-jurisdiction-box--code {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--lob-bg-white);
    border: 1px solid rgba(45, 74, 90, 0.12);
    border-radius: 6px;
    margin-bottom: 0;
}

a.lob-jurisdiction-box--code:hover {
    border-color: rgba(45, 74, 90, 0.3);
    box-shadow: 0 2px 8px rgba(45, 74, 90, 0.1);
    text-decoration: none;
    color: var(--lob-teal);
}

.lob-jurisdiction-box__code-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lob-jurisdiction-box__code-flag {
    width: 24px;
    height: 17px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.lob-jurisdiction-box__code-text {
    font-family: 'IBM Plex Sans', 'IBM Plex Serif', sans-serif;
    font-weight: 600;
    letter-spacing: 0.8px;
    font-size: 13px;
    color: var(--lob-teal);
    line-height: 1.3;
}

/* Card mode: grid container (4 columns) */
.lob-jurisdiction-boxes--grid {
    columns: unset;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* Jurisdiction box - Card variant (flag + chapter name) */
.lob-jurisdiction-box--card {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--lob-bg-white);
    border: 1px solid rgba(45, 74, 90, 0.12);
    border-radius: 6px;
    margin-bottom: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

a.lob-jurisdiction-box--card:hover {
    border-color: rgba(45, 74, 90, 0.3);
    box-shadow: 0 2px 8px rgba(45, 74, 90, 0.1);
    text-decoration: none;
    color: var(--lob-teal);
}

.lob-jurisdiction-box__card-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lob-jurisdiction-box__card-flag {
    width: 24px;
    height: 17px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.lob-jurisdiction-box__card-title {
    font-family: var(--lob-font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--lob-text-dark);
    line-height: 1.3;
}

/* ---------- Action Buttons ---------- */
.lob-guide-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    justify-content: flex-start;
}

.lob-btn--primary {
    background: var(--lob-teal);
    border-color: var(--lob-teal);
    color: #fff;
    box-shadow: 0 2px 6px rgba(45, 74, 90, 0.25);
}

.lob-btn--primary:hover,
.lob-btn--primary:focus {
    background: var(--lob-teal-dark);
    border-color: var(--lob-teal-dark);
    color: #fff;
    box-shadow: 0 6px 16px rgba(45, 74, 90, 0.35);
}

.lob-btn--outline {
    background: transparent;
    border-color: var(--lob-text-dark);
    color: var(--lob-text-dark);
}

.lob-btn--outline:hover,
.lob-btn--outline:focus {
    background: var(--lob-text-dark);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Refined action buttons in default (non-colored) hero */
.lob-book-hero .lob-btn--primary,
.lob-book-hero .lob-btn--outline {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: var(--lob-text-dark);
    font-weight: 600;
    box-shadow: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.lob-book-hero .lob-btn--primary:hover,
.lob-book-hero .lob-btn--primary:focus,
.lob-book-hero .lob-btn--outline:hover,
.lob-book-hero .lob-btn--outline:focus {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.3);
    color: var(--lob-text-dark);
    box-shadow: none;
}

/* Buttons inside colored hero — use admin hero text color */
.lob-book-hero .lob-btn--hero-light {
    background: transparent;
    border-color: color-mix(in srgb, var(--hero-text) 45%, transparent);
    color: var(--hero-text);
    /*font-weight: 600;*/
}

.lob-book-hero .lob-btn--hero-light:hover,
.lob-book-hero .lob-btn--hero-light:focus {
    background: color-mix(in srgb, var(--hero-text) 12%, transparent);
    border-color: color-mix(in srgb, var(--hero-text) 85%, transparent);
    color: var(--hero-text);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Outline variant for colored heroes */
.lob-book-hero .lob-btn--hero-outline {
    background: transparent;
    border-color: color-mix(in srgb, var(--hero-text) 45%, transparent);
    color: var(--hero-text);
    /*font-weight: 600;*/
}

.lob-book-hero .lob-btn--hero-outline:hover,
.lob-book-hero .lob-btn--hero-outline:focus {
    background: color-mix(in srgb, var(--hero-text) 12%, transparent);
    border-color: color-mix(in srgb, var(--hero-text) 85%, transparent);
    color: var(--hero-text);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ---------- Divider ---------- */
.lob-guide-card__divider {
    border: none;
    border-top: 1px solid var(--lob-border);
    width: 70%;
    margin: 20px auto 16px;
}

/* ---------- Empty State ---------- */
.lob-guides-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--lob-text-light);
    font-family: var(--lob-font-accent);
    font-size: 16px;
    background: var(--lob-bg-light);
    border: 1px dashed var(--lob-border);
    border-radius: 8px;
}

.lob-guides-empty i {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
    opacity: 0.4;
}

/* ==========================================================================
   Book Detail Page
   ========================================================================== */

/* ---------- Book Hero ---------- */
.lob-book-hero {
    padding: 60px 0 70px;
    background: var(--lob-bg-white);
    position: relative;
    overflow: hidden;
}

.lob-book-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(0,0,0,0.12) 100%);
    pointer-events: none;
}

.lob-book-hero > .container {
    position: relative;
    z-index: 1;
}

.lob-book-hero__row {
    display: flex;
    gap: 50px;
    align-items: stretch;
}

.lob-book-hero__cover {
    flex: 0 0 280px;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

.lob-book-hero__cover img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    display: block;
    border-radius: 6px;
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.4s ease;
}

.lob-book-hero__cover img:hover {
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.35),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

.lob-book-hero__details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lob-book-hero__title {
    font-family: var(--lob-font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--lob-text-dark);
    margin: 0 0 12px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.lob-book-hero__date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--lob-font-body);
    font-size: 14px;
    color: var(--lob-text-light);
    margin-bottom: 16px;
}

.lob-book-hero__date i {
    color: var(--lob-teal);
    font-size: 14px;
}

.lob-book-hero__summary {
    font-family: var(--lob-font-accent);
    font-size: 17px;
    line-height: 1.6;
    color: var(--lob-text-medium);
    margin-bottom: 28px;
    max-width: 680px;
}

.lob-book-hero__summary p {
    margin-bottom: 12px;
}

.lob-book-hero__summary p:last-child {
    margin-bottom: 0;
}

.lob-book-hero__edition-banner {
    background: var(--lob-accent);
    color: #fff;
    padding: 12px 18px;
    border-radius: 6px;
    font-family: var(--lob-font-body);
    font-size: 14px;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.5;
}

.lob-book-hero__edition-banner a {
    color: #fff;
    font-weight: 600;
    font-style: normal;
    text-decoration: underline;
}

.lob-book-hero__edition-banner a:hover {
    opacity: 0.9;
}

/* ---------- Book Actions ---------- */
.lob-book-actions__row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-start;
    margin-bottom: 14px;
}

.lob-book-actions__delivery-note {
    font-family: var(--lob-font-body);
    font-size: 13px;
    font-style: italic;
    color: var(--lob-text-light);
    margin-bottom: 20px;
    letter-spacing: 0.01em;
}

/* Roundtable notice in About section */
.lob-book-about__roundtable {
    background: rgba(201, 168, 76, 0.08);
    border-left: 3px solid var(--lob-accent);
    border-radius: 0 6px 6px 0;
    padding: 16px 20px;
    margin-top: 24px;
}

.lob-book-about__roundtable-title {
    font-family: var(--lob-font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--lob-text-dark);
    margin: 0 0 6px;
}

.lob-book-about__roundtable-title i {
    color: var(--lob-accent);
    margin-right: 6px;
}

.lob-book-about__roundtable-text {
    font-family: var(--lob-font-body);
    font-size: 1rem;
    color: var(--lob-text-dark);
    line-height: 1.5;
    margin: 0;
}

.lob-book-about__roundtable-text a {
    color: var(--lob-teal);
    text-decoration: underline;
    font-weight: 600;
}

.lob-book-about__roundtable-text a:hover {
    color: var(--lob-teal-dark);
}

.lob-book-hero__social {
    display: flex;
    align-items: start;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: auto;
}

.lob-book-hero__save-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    padding: 7px 16px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--lob-font-body);
    letter-spacing: 0.02em;
    color: var(--lob-text-medium);
}

.lob-book-hero__save-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.3);
    color: inherit;
}

.lob-book-hero__save-btn.saved {
    border-color: #277D31;
    color: #fff;
    background: #277D31;
}

.lob-book-hero__save-btn.saved:hover {
    background: #1e6627;
    border-color: #1e6627;
}

.lob-book-hero__save-btn.lob-btn--hero-outline {
    border-color: color-mix(in srgb, var(--hero-text) 35%, transparent);
    color: var(--hero-text);
}

.lob-book-hero__save-btn.lob-btn--hero-outline:hover,
.lob-book-hero__save-btn.lob-btn--hero-outline:focus {
    border-color: color-mix(in srgb, var(--hero-text) 70%, transparent);
    color: var(--hero-text);
    background: color-mix(in srgb, var(--hero-text) 10%, transparent);
}

/* ShareThis buttons in hero — subtle transparent style */
.lob-book-hero__social .sharethis-inline-share-buttons {
    opacity: 0.5;
    transition: opacity 0.3s ease;
    overflow: visible !important;
}

.lob-book-hero__social .sharethis-inline-share-buttons:hover {
    opacity: 0.75;
}

/* Prevent ShareThis button movement and border clipping on hover */
.lob-book-hero__social .st-btn,
.lob-book-hero__social .st-btn:hover {
    transform: none !important;
    overflow: visible !important;
    top: 0 !important;
}

/* Default ShareThis button styling (non-colored hero) */
.lob-book-hero__social .st-btn {
    background-color: transparent !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    transition: background-color 0.3s ease, border-color 0.3s ease !important;
}

.lob-book-hero__social .st-btn:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.3) !important;
}

/* Colored hero — apply admin hero text color throughout */
.lob-book-hero--colored .lob-book-hero__title {
    color: var(--hero-text);
}

.lob-book-hero--colored .lob-book-hero__date,
.lob-book-hero--colored .lob-book-hero__date i {
    color: var(--hero-text);
}

.lob-book-hero--colored .lob-book-hero__date {
    opacity: 0.7;
}

.lob-book-hero--colored .lob-book-actions__delivery-note {
    color: var(--hero-text);
    opacity: 0.8;
}

.lob-book-hero--colored .lob-book-hero__cover img {
    border: 1.5px solid color-mix(in srgb, var(--hero-text) 45%, transparent);
}

.lob-book-hero--colored .lob-book-hero__social {
    border-color: color-mix(in srgb, var(--hero-text) 15%, transparent);
}

/* Strip white backgrounds from ShareThis buttons on colored heroes */
.lob-book-hero--colored .st-btn {
    background-color: transparent !important;
    border: 1px solid color-mix(in srgb, var(--hero-text) 25%, transparent) !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    transition: background-color 0.3s ease, border-color 0.3s ease !important;
}

.lob-book-hero--colored .st-btn:hover {
    background-color: color-mix(in srgb, var(--hero-text) 10%, transparent) !important;
    border-color: color-mix(in srgb, var(--hero-text) 50%, transparent) !important;
}

.lob-book-hero--colored .st-btn img {
    filter: brightness(0) invert(1) !important;
}

.lob-book-hero--colored .st-btn svg {
    fill: var(--hero-text) !important;
}

.lob-book-hero--colored .st-btn svg path {
    fill: var(--hero-text) !important;
}

.lob-book-hero--colored #st-1 .st-total {
    color: var(--hero-text) !important;
}

/* ---------- Book Detail Section Titles (more prominent) ---------- */
.lob-book-about .lob-section__title,
.lob-book-jurisdictions .lob-section__title,
.lob-book-introduction .lob-section__title,
.lob-book-contributors .lob-section__title {
    font-family: var(--lob-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--lob-text-dark);
    text-transform: none;
    letter-spacing: 0;
    padding-bottom: 0;
    border-bottom: none;
    display: block;
}

/* ---------- Book About + Editors ---------- */
.lob-book-about {
    padding: 50px 0;
    background: var(--lob-bg-light);
}

.lob-book-about__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.lob-book-about__text {
    font-family: var(--lob-font-accent);
    font-size: 18px;
    line-height: 1.5;
    color: var(--lob-text-medium);
}

.lob-book-about__text p {
    margin-bottom: 14px;
}

.lob-book-about__text p:last-child {
    margin-bottom: 0;
}

.lob-book-about__editors-panel {
    overflow: visible !important;
}

.lob-book-about__editors-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 12px;
}

/* ---------- Book Editor Card ---------- */
.lob-editor-card {
    background: var(--lob-bg-white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    border-left: 3px solid var(--lob-teal);
}

.lob-editor-card__editors {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lob-editor-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lob-editor-card__thumb {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--lob-teal);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    border: 2px solid rgba(45, 74, 90, 0.15);
}

.lob-editor-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lob-editor-card__initials {
    font-family: var(--lob-font-body);
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}

.lob-editor-card__identity {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lob-editor-card__name {
    font-family: var(--lob-font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--lob-text-dark);
    text-decoration: none;
    line-height: 1.3;
}

.lob-editor-card__name:hover {
    text-decoration: underline;
    color: var(--lob-text-dark);
}

.lob-editor-card__firm {
    font-family: var(--lob-font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--lob-teal);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.lob-editor-card__firm:hover {
    text-decoration: underline;
    color: var(--lob-teal-dark);
}

.lob-editor-card__firm-header {
    display: block;
    font-family: var(--lob-font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--lob-teal);
    text-decoration: none;
    margin-bottom: 10px;
}

.lob-editor-card__firm-header:hover {
    color: var(--lob-teal-dark);
    text-decoration: underline;
}

.lob-editor-card__firm-logo {
    display: block;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--lob-border);
}

.lob-editor-card__firm-logo img {
    max-height: 115px;
    width: auto;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.2s;
    border: 1px solid #ced4da;
}

.lob-editor-card__firm-logo:hover img {
    opacity: 1;
}

.lob-editor-card__org-desc {
    font-family: var(--lob-font-accent);
    font-size: 15px;
    line-height: 1.55;
    color: var(--lob-text-medium);
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--lob-border);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lob-editor-card__read-more {
    display: inline-block;
    font-family: var(--lob-font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--lob-teal);
    text-decoration: none;
    margin-top: 6px;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.lob-editor-card__read-more:hover {
    color: var(--lob-teal-dark);
    text-decoration: none;
}

/* ---------- Book Jurisdictions ---------- */
#jurisdictions {
    scroll-margin-top: 1rem;
}

.lob-book-jurisdictions {
    padding: 55px 0 60px;
    background: var(--lob-bg-white);
    border-top: 3px solid var(--lob-teal);
}

.lob-book-jurisdictions__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.lob-book-jurisdictions__header .lob-section__title {
    margin-bottom: 0;
}

.lob-book-jurisdictions__tabs {
    display: flex;
    border-bottom: 1px solid var(--lob-border);
    margin-bottom: 0;
    gap: 0;
}

.lob-book-jurisdictions__tab {
    position: relative;
    padding: 14px 28px;
    font-family: var(--lob-font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--lob-text-medium);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    outline: none !important;
    box-shadow: none !important;
}

.lob-book-jurisdictions__tab:focus,
.lob-book-jurisdictions__tab:active {
    outline: none !important;
    box-shadow: none !important;
}

.lob-book-jurisdictions__tab:focus-visible {
    outline: 2px solid var(--lob-teal) !important;
    outline-offset: -2px;
}

.lob-book-jurisdictions__tab:hover {
    color: var(--lob-text-dark);
    background: rgba(45, 74, 90, 0.03);
    border-bottom-color: rgba(45, 74, 90, 0.3);
}

.lob-book-jurisdictions__tab--active {
    color: var(--lob-teal);
    border-bottom-color: var(--lob-teal);
    font-weight: 600;
}

.lob-book-jurisdictions__tab--active:hover {
    background: transparent;
}

.lob-book-jurisdictions__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.lob-book-jurisdictions__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--lob-bg-light);
    border: 1px solid var(--lob-border);
    border-radius: 5px;
    font-family: var(--lob-font-body);
    font-size: 14px;
    color: var(--lob-text-dark);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

a.lob-book-jurisdictions__item:hover {
    background: rgba(45, 74, 90, 0.08);
    border-color: var(--lob-teal);
    color: var(--lob-teal);
    text-decoration: none;
}

.lob-book-jurisdictions__item img {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.lob-book-jurisdictions__tab-panel {
    padding-top: 28px;
}

.lob-book-jurisdictions__compare {
    text-align: center;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--lob-border);
}

/* ---------- Book Introduction / Non-QA Chapters ---------- */
.lob-book-introduction {
    padding: 50px 0;
    background: var(--lob-bg-light);
    border-top: 3px solid var(--lob-teal);
}

.lob-book-chapter-item {
    padding: 30px 0;
    border-bottom: 1px solid var(--lob-border);
}

.lob-book-chapter-item:first-child {
    padding-top: 0;
}

.lob-book-chapter-item:last-child {
    border-bottom: none;
}

/* Introduction chapter items → elevated white cards */
.lob-book-introduction .lob-book-chapter-item {
    background: var(--lob-bg-white);
    border: 1px solid var(--lob-border);
    border-radius: 8px;
    padding: 32px 36px;
    margin-bottom: 24px;
}

.lob-book-introduction .lob-book-chapter-item:first-child {
    padding-top: 32px;
}

.lob-book-introduction .lob-book-chapter-item:last-child {
    margin-bottom: 0;
}

/* Editor card breathing room before preview text */
.lob-book-introduction .lob-editor-card {
    margin-bottom: 20px;
}

.lob-book-chapter-item__title {
    font-family: var(--lob-font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--lob-text-dark);
    margin: 0 0 12px;
}

.lob-book-chapter-item__title a {
    color: inherit;
    text-decoration: none;
}

.lob-book-chapter-item__title a:hover {
    text-decoration: underline;
}


.lob-book-chapter-item__preview {
    font-family: var(--lob-font-accent);
    font-size: 18px;
    line-height: 1.6;
    color: var(--lob-text-medium);
    margin-bottom: 12px;
}

.lob-book-chapter-item__expand {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--lob-font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--lob-teal);
    text-decoration: none;
    transition: color 0.2s;
}

.lob-book-chapter-item__expand:hover {
    color: var(--lob-teal-dark);
    text-decoration: none;
}

/* ---------- Book Contributors (Firm-Grouped) ---------- */
.lob-book-contributors {
    background: var(--lob-bg-light);
    border-top: 3px solid var(--lob-teal);
    padding: 55px 0 60px;
}

.lob-book-contributor-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.lob-book-contributor-card {
    background: var(--lob-bg-white);
    border: 1px solid var(--lob-border);
    border-radius: 10px;
    padding: 36px 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.lob-book-contributor-card__body {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.lob-book-contributor-card__firm {
    flex: 0 0 240px;
    display: flex;
    flex-direction: column;
}

.lob-book-contributor-card__firm-logo {
    width: 220px;
    height: 115px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid var(--lob-border);
    margin-bottom: 14px;
}

.lob-book-contributor-card__firm-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lob-book-contributor-card__firm-name {
    font-family: var(--lob-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--lob-text-dark);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

a.lob-book-contributor-card__firm-name:hover {
    text-decoration: underline;
}

.lob-book-contributor-card__firm-desc {
    font-family: var(--lob-font-accent);
    font-size: 15px;
    line-height: 1.55;
    color: var(--lob-text-medium, var(--lob-text-light));
    margin: 0 0 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.lob-book-contributor-card__authors {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.lob-book-contributor-card__author {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    text-decoration: none;
    color: inherit;
    padding: 12px 14px;
    gap: 14px;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.015);
    transition: background-color 0.2s, box-shadow 0.2s;
    min-width: min(320px, 100%);
}

.lob-book-contributor-card__author:hover {
    background-color: var(--lob-bg-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-decoration: none;
}

.lob-book-contributor-card__author-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lob-book-contributor-card__author-photo {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lob-teal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.lob-book-contributor-card__author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lob-book-contributor-card__author-initials {
    font-family: var(--lob-font-body);
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
}

.lob-book-contributor-card__author-name {
    font-family: var(--lob-font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--lob-text-dark);
    text-decoration: none;
    margin-bottom: 3px;
}

.lob-book-contributor-card__author-name:hover {
    text-decoration: underline;
}

.lob-book-contributor-card__author-jurisdictions {
    font-family: var(--lob-font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--lob-teal);
    line-height: 1.4;
}

.lob-book-contributor-card__jurisdiction-link {
    color: var(--lob-teal);
    text-decoration: none;
}

.lob-book-contributor-card__jurisdiction-link:hover {
    text-decoration: underline;
    color: var(--lob-teal-dark);
}

/* ---------- Book Media Tab ---------- */
.lob-book-media-panel {
    background: var(--lob-bg-light);
    border: 1px solid var(--lob-border);
    border-radius: 8px;
    padding: 32px 36px;
}

.lob-book-media-panel .lob-book-chapter-item:first-child,
.lob-book-media-panel .lob-book-article-item:first-child {
    padding-top: 0;
}

.lob-book-media-sublabel {
    font-family: var(--lob-font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--lob-teal);
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lob-book-media-sublabel::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--lob-border);
}

.lob-book-media-divider {
    border: none;
    border-top: 1px solid var(--lob-border);
    margin: 28px 0 32px;
}

/* ---------- Book Expert Articles ---------- */
.lob-book-articles {
    padding: 50px 0;
    background: var(--lob-bg-light);
}

.lob-book-article-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--lob-border);
}

.lob-book-article-item:first-child {
    padding-top: 0;
}

.lob-book-article-item:last-child {
    border-bottom: none;
}

.lob-book-article-item__title {
    font-family: var(--lob-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lob-text-dark);
    margin: 0 0 8px;
}

.lob-book-article-item__title a {
    color: inherit;
    text-decoration: none;
}

.lob-book-article-item__title a:hover {
    text-decoration: underline;
}

.lob-book-article-item__authors {
    font-family: var(--lob-font-body);
    font-size: 14px;
    color: var(--lob-text-medium);
}

.lob-book-article-item__authors a {
    color: var(--lob-text-dark);
    font-weight: 500;
    text-decoration: none;
}

.lob-book-article-item__authors a:hover {
    text-decoration: underline;
}

.lob-book-article-item__authors em {
    font-size: 13px;
    color: var(--lob-text-light);
}

/* ---------- Sticky Section Nav ---------- */
.lob-sticky-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--lob-teal);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible !important;
}

.lob-sticky-nav--visible {
    transform: translateY(0);
}

.lob-sticky-nav__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lob-sticky-nav__sections {
    display: flex;
    align-items: center;
}

.lob-sticky-nav .lob-sticky-nav__item {
    font-family: var(--lob-font-heading);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;
    padding: 16px 22px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.lob-sticky-nav .lob-sticky-nav__item:visited {
    color: rgba(255, 255, 255, 0.55);
}

.lob-sticky-nav .lob-sticky-nav__item:hover {
    color: rgba(255, 255, 255, 0.85);
}

.lob-sticky-nav .lob-sticky-nav__item--active,
.lob-sticky-nav .lob-sticky-nav__item--active:visited,
.lob-sticky-nav .lob-sticky-nav__item--active:hover {
    color: #fff;
    border-bottom-color: #fff;
    font-weight: 700;
}

.lob-sticky-nav__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 24px;
    margin-left: auto;
}

.lob-sticky-nav .lob-sticky-nav__action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    font-family: var(--lob-font-body);
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.lob-sticky-nav .lob-sticky-nav__action:visited {
    color: rgba(255, 255, 255, 0.75);
}

.lob-sticky-nav .lob-sticky-nav__action:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.lob-sticky-nav__action i {
    font-size: 10px;
    opacity: 0.7;
}

.lob-sticky-nav__action:hover i {
    opacity: 1;
}

/* Sticky Nav: Item Icons (chapter page) */
.lob-sticky-nav__item-icon {
    font-size: 11px;
    margin-right: 5px;
    opacity: 0.7;
}
.lob-sticky-nav__item--active .lob-sticky-nav__item-icon {
    opacity: 1;
}

#about,
#introduction,
#contributors {
    scroll-margin-top: 1rem;
}

/* Scroll margin for chapter page sticky nav targets */
#chapter-editors,
#chapter-nav-sidebar,
#chapter-nav-bar {
    scroll-margin-top: 1rem;
}

/* ==========================================================================
   Author Profile Page — Premium LOB Quality
   ========================================================================== */

/* ---------- Author Hero ---------- */
.lob-author-hero {
    background: var(--lob-bg-white);
    padding: 36px 0 32px;
    position: relative;
    overflow: hidden;
}

.lob-author-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 247, 249, 0.6) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

.lob-author-hero > .container {
    position: relative;
    z-index: 1;
}

.lob-author-hero__card {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    box-shadow:
        0 1px 4px rgba(0, 0, 0, 0.06),
        0 4px 16px rgba(45, 74, 90, 0.06);
    overflow: hidden;
}

.lob-author-hero__card-inner {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: var(--lob-bg-white);
    padding: 24px 28px;
    width: 100%;
}

.lob-author-hero__sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.lob-author-hero__photo {
    width: 96px;
    height: 96px;
    border-radius: 5%;
    overflow: hidden;
    background: var(--lob-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow:
        0 0 0 1.5px rgba(255, 255, 255, 0.9),
        0 0 0 3px rgba(45, 74, 90, 0.08),
        0 2px 12px rgba(45, 74, 90, 0.10);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.lob-author-hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lob-author-hero__initials {
    font-family: var(--lob-font-heading);
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: 1px;
}

.lob-author-hero__info {
    flex: 1;
    min-width: 0;
}

.lob-author-hero__name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.lob-author-hero__name {
    font-family: var(--lob-font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--lob-text-dark);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.lob-author-hero__firm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--lob-font-body);
    font-size: 15px;
    color: var(--lob-teal);
    text-decoration: none;
    margin-bottom: 2px;
    font-weight: 700;
}

.lob-author-hero__firm:hover {
    text-decoration: underline;
    color: var(--lob-teal-dark);
}

.lob-author-hero__email {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--lob-font-body);
    font-size: 14px;
    color: var(--lob-text-medium);
    text-decoration: none;
    margin-top: 2px;
}

.lob-author-hero__email:hover {
    color: var(--lob-teal);
    text-decoration: underline;
}

.lob-author-hero__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
    flex-wrap: wrap;
}

.lob-author-hero__nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--lob-font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--lob-teal);
    border: 1px solid rgba(45, 74, 90, 0.15);
    padding: 4px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
}

.lob-author-hero__nav-link:hover {
    background: var(--lob-teal);
    color: #fff;
    border-color: var(--lob-teal);
    text-decoration: none;
}

.lob-author-hero__nav-link i {
    font-size: 11px;
}

.lob-author-hero__bio {
    font-family: var(--lob-font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--lob-text-medium);
    padding: 16px 28px 18px;
    background: rgba(245, 247, 249, 0.5);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    max-height: 2000px;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lob-author-hero__bio--collapsed {
    position: relative;
    max-height: 4.5em;
}

.lob-author-hero__bio--collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3em;
    background: linear-gradient(to bottom, rgba(245, 247, 249, 0), rgba(245, 247, 249, 0.95));
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lob-author-hero__bio-toggle-wrap {
    display: flex;
    justify-content: center;
    padding: 8px 28px 16px;
    background: rgba(245, 247, 249, 0.5);
}

.lob-author-hero__bio-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--lob-font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--lob-teal);
    background: rgba(0, 128, 128, 0.06);
    border: 1px solid rgba(0, 128, 128, 0.15);
    border-radius: 20px;
    cursor: pointer;
    padding: 6px 16px;
    transition: all 0.25s ease;
}

.lob-author-hero__bio-toggle:hover {
    color: #fff;
    background: var(--lob-teal);
    border-color: var(--lob-teal);
    box-shadow: 0 2px 8px rgba(0, 128, 128, 0.25);
}

.lob-author-hero__bio-toggle-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lob-author-hero__bio-toggle-icon--flipped {
    transform: rotate(180deg);
}

.lob-author-hero__bio p {
    margin: 0 0 16px;
}

.lob-author-hero__bio p:last-child {
    margin-bottom: 0;
}

/* ---------- Gold Accent Section Titles ---------- */
.lob-author-section-title {
    font-family: var(--lob-font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--lob-text-dark);
    text-transform: none;
    letter-spacing: normal;
    margin-bottom: 32px;
    padding-bottom: 12px;
    position: relative;
}

.lob-author-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--lob-accent);
    border-radius: 1px;
}

/* ---------- Author Publications ---------- */
.lob-author-publications {
    background: var(--lob-bg-light);
    border-top: none;
    padding: 50px 0 55px;
}

.lob-author-publication-card {
    background: var(--lob-bg-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 3px solid var(--lob-teal);
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow:
        0 1px 3px rgba(45, 74, 90, 0.06),
        0 4px 12px rgba(45, 74, 90, 0.05);
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lob-author-publication-card:hover {
    box-shadow:
        0 2px 6px rgba(45, 74, 90, 0.08),
        0 8px 20px rgba(45, 74, 90, 0.07);
}

.lob-author-publication-card:last-child {
    margin-bottom: 0;
}

.lob-author-publication-card__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.lob-author-publication-card__header {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 0;
    padding: 24px 28px;
}

.lob-author-publication-card__cover {
    width: 70px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 1px 4px rgba(0, 0, 0, 0.1);
}

.lob-author-publication-card__cover img {
    width: 100%;
    height: auto;
    display: block;
}

.lob-author-publication-card__meta {
    flex: 1;
    min-width: 0;
}

.lob-author-publication-card__title {
    font-family: var(--lob-font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--lob-text-dark);
    margin: 0 0 6px;
    line-height: 1.3;
}

.lob-author-publication-card__title a {
    color: inherit;
    text-decoration: none;
}

.lob-author-publication-card__title a:hover {
    text-decoration: underline;
}

.lob-author-publication-card__date {
    font-family: var(--lob-font-body);
    font-size: 13px;
    color: var(--lob-text-light);
}

.lob-author-publication-card__chapters {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 28px 24px;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 0;
}

.lob-author-publication-card__chapters-label {
    font-family: var(--lob-font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--lob-text-light);
    padding: 16px 0 8px;
}

.lob-author-chapter-row {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    padding: 0;
}

.lob-author-chapter-row:last-child {
    border-bottom: none;
}

.lob-author-chapter-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    color: var(--lob-text-dark);
    background: transparent;
    font-family: var(--lob-font-body);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.lob-author-chapter-link:hover {
    background: var(--lob-bg-light);
    text-decoration: none;
    color: var(--lob-text-dark);
}

.lob-author-chapter-link__flag {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
}

.lob-author-chapter-link__name {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lob-author-chapter-link__arrow {
    color: var(--lob-text-light);
    font-size: 12px;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s;
}

.lob-author-chapter-link:hover .lob-author-chapter-link__arrow {
    transform: translateX(3px);
    color: var(--lob-teal);
}

.lob-author-chapter-row__coauthors {
    padding: 0 14px 10px 48px;
    font-family: var(--lob-font-body);
    font-size: 13px;
    color: var(--lob-text-light);
    line-height: 1.4;
}

.lob-author-chapter-row__coauthors-label {
    margin-right: 4px;
    font-style: italic;
}

.lob-author-chapter-row__coauthor {
    color: var(--lob-teal);
    text-decoration: none;
    font-weight: 500;
}

.lob-author-chapter-row__coauthor:hover {
    text-decoration: underline;
    color: var(--lob-teal-dark, var(--lob-teal));
}

/* ---------- Author Articles ---------- */
.lob-author-articles {
    background: var(--lob-bg-white);
    padding: 55px 0 60px;
}

.lob-author-article-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0 20px 16px;
    border-bottom: 1px solid var(--lob-border);
    border-left: 3px solid transparent;
    transition: border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), padding-left 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.lob-author-article-item:first-child {
    border-top: 1px solid var(--lob-border);
}

.lob-author-article-item:hover {
    border-left-color: var(--lob-teal);
    padding-left: 20px;
}

.lob-author-article-item__content {
    flex: 1;
    min-width: 0;
}

.lob-author-article-item__title {
    font-family: var(--lob-font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--lob-text-dark);
    margin: 0 0 6px;
    line-height: 1.35;
}

.lob-author-article-item__title a {
    color: inherit;
    text-decoration: none;
}

.lob-author-article-item__title a:hover {
    text-decoration: underline;
    color: var(--lob-teal-dark);
}

.lob-author-article-item__excerpt {
    font-family: var(--lob-font-body);
    font-size: 16px;
    color: var(--lob-text-medium);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.lob-author-article-item__date {
    font-family: var(--lob-font-body);
    font-size: 13px;
    color: var(--lob-text-light);
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 3px;
}

.lob-author-articles__more {
    text-align: center;
    margin-top: 32px;
}

.lob-author-articles__empty {
    font-family: var(--lob-font-body);
    font-size: 15px;
    color: var(--lob-text-light);
    text-align: center;
    padding: 40px 0;
}

/* ---------- Author Publications List (Sentence Format) ---------- */
.lob-author-publications-list {
    background: var(--lob-bg-white);
    padding: 0 0 60px;
}

.lob-author-pub-list-group {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0 20px 16px;
    border-bottom: 1px solid var(--lob-border);
    border-left: 3px solid transparent;
    transition: border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), padding-left 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.lob-author-pub-list-group:first-child {
    border-top: 1px solid var(--lob-border);
}

.lob-author-pub-list-group:hover {
    border-left-color: var(--lob-teal);
    padding-left: 20px;
}

.lob-author-pub-sentence {
    font-family: var(--lob-font-body);
    font-size: 16px;
    color: var(--lob-text-dark);
    line-height: 1.6;
    margin: 0;
    flex: 1;
    min-width: 0;
}

.lob-author-pub-list-group__cover {
    flex-shrink: 0;
    width: 70px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 1px 4px rgba(0, 0, 0, 0.1);
}

.lob-author-pub-list-group__cover img {
    width: 100%;
    height: auto;
    display: block;
}

.lob-author-pub-sentence__chapter {
    font-weight: 600;
    color: var(--lob-teal-dark);
    text-decoration: none;
}

.lob-author-pub-sentence__chapter:hover {
    text-decoration: underline;
    color: var(--lob-teal);
}

.lob-author-pub-sentence__book {
    font-weight: 700;
    color: var(--lob-text-dark);
    text-decoration: none;
}

.lob-author-pub-sentence__book:hover {
    text-decoration: underline;
    color: var(--lob-teal-dark);
}

.lob-author-pub-sentence__coauthors {
    font-family: var(--lob-font-body);
    font-size: 13px;
    color: var(--lob-text-light);
    margin: 4px 0 0;
    line-height: 1.5;
}

.lob-author-pub-sentence__coauthors a {
    color: var(--lob-text-light);
    text-decoration: none;
}

.lob-author-pub-sentence__coauthors a:hover {
    color: var(--lob-teal-dark);
    text-decoration: underline;
}

/* ==========================================================================
   Organisation Profile
   ========================================================================== */

/* ---------- Organisation Hero ---------- */
.lob-org-hero {
    background: var(--lob-bg-white);
    padding: 36px 0 32px;
    position: relative;
    overflow: hidden;
}

.lob-org-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 247, 249, 0.6) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

.lob-org-hero > .container {
    position: relative;
    z-index: 1;
}

.lob-org-hero__card {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    box-shadow:
        0 1px 4px rgba(0, 0, 0, 0.06),
        0 4px 16px rgba(45, 74, 90, 0.06);
    overflow: hidden;
    background: var(--lob-bg-white);
}

.lob-org-hero__card-inner {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    background: var(--lob-bg-white);
    padding: 32px 36px;
    width: 100%;
}

.lob-org-hero__bio-wrapper {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(245, 247, 249, 0.5);
    padding: 20px 28px 16px;
}

.lob-org-hero__bio-wrapper .lob-author-hero__bio {
    background: transparent;
    border-top: none;
    padding: 0 0 12px;
}

.lob-org-hero__bio-wrapper .lob-author-hero__bio-toggle {
    display: block;
    margin: 4px auto 8px;
}

.lob-bio--collapsed {
    max-height: 150px;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}

.lob-bio__toggle {
    display: inline-block;
    margin-top: 8px;
    padding: 0;
    background: none;
    border: none;
    font-family: var(--lob-font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--lob-teal);
    cursor: pointer;
    transition: color 0.2s ease;
}

.lob-bio__toggle:hover {
    color: var(--lob-teal-dark);
}

.lob-org-hero__sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.lob-org-hero__logo {
    width: 220px;
    height: 115px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--lob-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.lob-org-hero__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    background: #fff;
}

.lob-org-hero__initials {
    font-family: var(--lob-font-heading);
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: 1px;
}

.lob-org-hero__info {
    flex: 1;
    min-width: 0;
}

.lob-org-hero__name {
    font-family: var(--lob-font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--lob-text-dark);
    margin: 0 0 12px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.lob-org-hero__contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.lob-org-hero__contact-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--lob-font-body);
    font-size: 14px;
    color: var(--lob-text-medium);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lob-org-hero__contact-item i {
    width: 16px;
    text-align: center;
    color: var(--lob-teal);
    font-size: 13px;
    flex-shrink: 0;
}

a.lob-org-hero__contact-item:hover {
    color: var(--lob-teal);
    text-decoration: underline;
}

/* ---------- Contributing Authors ---------- */
.lob-org-authors {
    background: var(--lob-bg-light);
    padding: 36px 0 48px;
}

.lob-org-authors__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.lob-org-author-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--lob-bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    text-decoration: none;
    color: var(--lob-text-dark);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(45, 74, 90, 0.04);
}

.lob-org-author-card:hover {
    border-color: var(--lob-teal);
    box-shadow: 0 2px 8px rgba(45, 74, 90, 0.1);
    transform: translateY(-1px);
    text-decoration: none;
    color: var(--lob-text-dark);
}

.lob-org-author-card__photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--lob-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(45, 74, 90, 0.1);
}

.lob-org-author-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lob-org-author-card__initials {
    font-family: var(--lob-font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.lob-org-author-card__name {
    font-family: var(--lob-font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    min-width: 0;
}

/* ---------- Organisation Publications Grid ---------- */
.lob-org-publications__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.lob-org-publication-card {
    display: flex;
    flex-direction: row;
    background: var(--lob-bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    overflow: hidden;
    box-shadow:
        0 1px 3px rgba(45, 74, 90, 0.06),
        0 4px 12px rgba(45, 74, 90, 0.05);
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lob-org-publication-card:hover {
    box-shadow:
        0 2px 6px rgba(45, 74, 90, 0.08),
        0 8px 20px rgba(45, 74, 90, 0.07);
    transform: translateY(-2px);
}

.lob-org-publication-card__cover {
    flex: 0 0 140px;
    overflow: hidden;
    background: var(--lob-bg-light);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.lob-org-publication-card__cover img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    display: block;
}

.lob-org-publication-card__body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.lob-org-publication-card__title {
    font-family: var(--lob-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--lob-text-dark);
    margin: 0 0 6px;
    line-height: 1.3;
}

.lob-org-publication-card__title a {
    color: inherit;
    text-decoration: none;
}

.lob-org-publication-card__title a:hover {
    color: var(--lob-teal);
    text-decoration: underline;
}

.lob-org-publication-card__date {
    font-family: var(--lob-font-body);
    font-size: 13px;
    color: var(--lob-text-light);
    margin-bottom: 14px;
}

.lob-org-publication-card__chapters {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 12px;
    margin-top: auto;
}

.lob-org-publication-card__label {
    font-family: var(--lob-font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lob-text-light);
    margin-bottom: 4px;
}

.lob-org-publication-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-family: var(--lob-font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--lob-teal);
    text-decoration: none;
    align-self: flex-end;
    transition: color 0.2s ease;
}

.lob-org-publication-card__cta:hover {
    color: var(--lob-teal-dark, var(--lob-teal));
    text-decoration: underline;
}

.lob-org-publication-card__cta span {
    transition: transform 0.2s ease;
}

.lob-org-publication-card__cta:hover span {
    transform: translateX(3px);
}

/* ---------- LOB Static Pages ---------- */
.lob-hero--simple {
    padding: 50px 0 40px;
}

.lob-hero--simple .lob-hero__title {
    font-size: 42px;
    margin-top: 8px;
}

.lob-static-page {
    padding: 50px 0 60px;
    background-color: #fff;
}

.lob-static-page__content {
    max-width: 800px;
    font-family: var(--lob-font-body, 'IBM Plex Serif', serif);
    font-size: 17px;
    line-height: 1.75;
    color: #333;
}

.lob-static-page__content h2 {
    font-family: var(--lob-font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--lob-teal);
    margin: 40px 0 16px;
}

.lob-static-page__content h3 {
    font-family: var(--lob-font-heading);
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin: 32px 0 12px;
}

.lob-static-page__content p {
    margin-bottom: 18px;
}

.lob-static-page__content ul,
.lob-static-page__content ol {
    margin-bottom: 18px;
    padding-left: 24px;
}

.lob-static-page__content li {
    margin-bottom: 8px;
    list-style-type: inherit;
    overflow: visible;
}

.lob-static-page__content a {
    color: var(--lob-teal);
    text-decoration: underline;
}

.lob-static-page__content a:hover {
    color: var(--lob-teal-dark, var(--lob-teal));
}

.lob-static-page__content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 24px 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .lob-hero__title {
        font-size: 34px;
    }

    .lob-hero--simple .lob-hero__title {
        font-size: 30px;
    }

    .lob-static-page {
        padding: 36px 0 48px;
    }

    .lob-static-page__content {
        font-size: 16px;
    }

    .lob-static-page__content h2 {
        font-size: 24px;
    }

    .lob-static-page__content h3 {
        font-size: 20px;
    }

    .lob-page .lob-hero .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-right: 30px;
        padding-left: 30px;
    }

    .lob-hero__search {
        flex-direction: column;
        max-width: 525px !important;
        width: 100% !important;
        align-items: stretch;
    }

    .lob-intro {
        padding: 60px 0;
    }

    .lob-intro__row {
        flex-direction: column;
        gap: 30px;
    }

    .lob-intro__cta {
        flex: none;
        max-width: 100%;
        width: 100%;
        padding: 40px 25px;
    }

    .lob-publications__grid {
        grid-template-columns: 1fr;
    }

    .lob-section--alt {
        padding: 55px 0 50px;
    }

    .lob-section--events {
        padding: 55px 0 60px;
    }

    .lob-section__title {
        font-size: 2rem;
        margin-bottom: 24px;
    }

    .lob-knowledge__grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }

    .lob-knowledge-card {
        padding: 26px 22px 22px;
    }

    .lob-events__grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    /* All Guides - Tablet */
    .lob-guides-grid {
        grid-template-columns: 1fr;
    }

    /* List cards - smaller image padding on tablet */
    .lob-guide-card--list .lob-guide-card__image {
        padding: 10px;
    }

    /* Jurisdiction cards - smaller image on tablet */
    .lob-guide-card--jurisdiction .lob-guide-card__image {
        padding: 10px;
    }

    /* Keep detailed cards horizontal on tablet, just reduce image size */
    .lob-guide-card--detailed .lob-guide-card__image {
        flex: 0 0 200px;
        min-height: 280px;
        padding: 16px;
    }

    .lob-guide-card--detailed .lob-guide-card__image img {
        max-height: 260px;
    }

    .lob-guide-card--detailed .lob-guide-card__body {
        padding: 20px;
    }

    /* Editors & Jurisdictions stack on tablet */
    .lob-guide-card__columns {
        flex-direction: column;
        gap: 20px;
    }

    .lob-guide-card__section--editors,
    .lob-guide-card__section--jurisdictions {
        flex: none;
        max-width: 100%;
    }

    /* Toolbar - Tablet */
    .lob-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .lob-toolbar__controls {
        justify-content: space-between;
    }

    .lob-toolbar-pagination {
        flex-direction: row;
        justify-content: space-between;
    }

    /* Book Detail - Tablet */
    .lob-book-hero__row {
        gap: 36px;
    }

    .lob-book-hero__cover {
        flex: 0 0 220px;
    }

    .lob-book-hero__title {
        font-size: 3rem;
    }

    .lob-book-about__row {
        grid-template-columns: 1fr;
    }

    .lob-book-jurisdictions__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .lob-jurisdiction-boxes {
        columns: 3;
    }

    .lob-jurisdiction-boxes--bordered {
        columns: unset;
        display: flex;
    }

    .lob-jurisdiction-boxes--grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .lob-book-contributor-card {
        padding: 24px 28px;
    }

    .lob-book-contributor-card__body {
        flex-direction: column;
    }

    .lob-book-contributor-card__firm {
        flex: none;
        width: auto;
    }

    .lob-book-contributor-card__authors {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Sticky Nav - Tablet */
    .lob-sticky-nav__item {
        padding: 14px 16px;
        font-size: 12px;
    }

    .lob-sticky-nav__actions {
        padding-left: 16px;
        gap: 6px;
    }

    .lob-sticky-nav__action {
        padding: 6px 12px;
        font-size: 10px;
    }

    /* Author Profile - Tablet */
    .lob-author-hero {
        padding: 28px 0 24px;
    }

    .lob-author-hero__card-inner {
        padding: 18px 20px;
    }

    .lob-author-hero__photo {
        width: 80px;
        height: 80px;
    }

    .lob-author-hero__initials {
        font-size: 26px;
    }

    .lob-author-hero__name {
        font-size: 1.8rem;
    }

    .lob-author-hero__sidebar {
        gap: 12px;
    }

    .lob-author-hero__nav {
        flex-direction: row;
    }

    .lob-author-hero__nav-link {
        width: auto;
    }

    /* Organisation Profile - Tablet */
    .lob-org-hero {
        padding: 40px 0 32px;
    }

    .lob-org-hero__card-inner {
        padding: 22px 24px;
    }

    .lob-org-hero__logo {
        width: 180px;
        height: 95px;
    }

    .lob-org-hero__name {
        font-size: 1.6rem;
    }

    .lob-org-authors__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lob-org-publications__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    /* Compact Page Header - Mobile */
    .lob-page-header {
        padding: 18px 0 22px;
    }

    .lob-page-header__title {
        font-size: 1.5rem;
    }

    .lob-hero {
        padding: 35px 0 30px;
    }

    .lob-page .lob-hero .container {
        max-width: 400px !important;
        width: 100% !important;
        padding-right: 20px;
        padding-left: 20px;
    }

    .lob-hero__title {
        font-size: 30px;
    }

    .lob-hero__subtitle {
        font-size: 16px;
        letter-spacing: 0.8px;
    }

    .lob-static-banner {
        font-size: 15px;
        padding: 6px 0;
    }

    .lob-section {
        padding: 35px 0;
    }

    .lob-section--alt {
        padding: 70px 0 60px;
    }

    .lob-section--events {
        padding: 36px 0 40px;
    }

    .lob-section__title {
        font-size: 1.59rem;
        letter-spacing: 1.5px;
        margin-bottom: 1px;
    }

    .lob-pub-card {
        flex-direction: column;
    }

    .lob-pub-card__image {
        flex: none;
        min-height: 160px;
        max-height: 200px;
    }

    .lob-pub-card__body {
        padding: 16px;
    }

    .lob-knowledge__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .lob-knowledge-card {
        padding: 22px 18px 18px;
    }

    .lob-knowledge-card__chapter {
        font-size: 16px;
    }

    .lob-knowledge-card__book {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .lob-knowledge-card__excerpt {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }

    .lob-events__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .lob-event-card__link {
        padding: 18px 18px 16px;
    }

    .lob-event-card__title {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .lob-event-card__meta {
        font-size: 14px;
    }

    .lob-event-card__desc {
        font-size: 15px;
    }

    .lob-btn--load-more {
        font-size: 12px;
        padding: 8px 22px;
    }

    .lob-intro {
        padding: 70px 0 60px;
    }

    .lob-intro__row {
        gap: 24px;
    }

    .lob-intro__text p {
        font-size: 16px;
    }

    .lob-intro__cta {
        padding: 30px 20px;
    }

    .lob-intro__cta-title {
        font-size: 16px;
    }

    .lob-hero__search {
        gap: 16px;
        padding: 18px 20px;
        overflow: hidden;
    }

    .lob-hero__search-label {
        font-size: 13px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .lob-hero__search-input-wrap {
        min-width: 0;
    }

    .lob-hero .lob-hero__search-input {
        min-width: 0;
        width: 100%;
    }

    .lob-hero__search-group {
        min-width: 0;
    }

    /* Knowledge grid - single column on mobile */
    .lob-knowledge__grid {
        grid-template-columns: 1fr;
    }

    /* Spotlight image fix */
    .lob-spotlight-card__image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        aspect-ratio: 16 / 9;
    }

    /* Toolbar - Mobile */
    .lob-toolbar__controls {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }

    .lob-toolbar__select {
        width: 100%;
        justify-content: space-between;
    }

    .lob-toolbar__select select {
        flex: 1;
        min-width: 0;
    }

    .lob-toolbar__search-input {
        width: 100%;
    }

    .lob-toolbar__search-wrap {
        flex: 1;
        min-width: 0;
    }

    .lob-toolbar__toggle {
        width: 100%;
        display: flex;
    }

    .lob-toolbar__toggle .lob-toggle-btn {
        flex: 1;
        justify-content: center;
    }

    .lob-toolbar-pagination {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .lob-toolbar-pagination__info {
        text-align: center;
    }

    /* Keep horizontal layout on mobile with smaller cover */
    .lob-guide-card--list .lob-guide-card__image {
        flex: 0 0 100px;
        min-height: 140px;
        padding: 8px;
    }

    .lob-guide-card--list .lob-guide-card__body {
        padding: 12px;
    }

    .lob-guide-card--list .lob-guide-card__title {
        font-size: 15px;
        line-height: 1.3;
        margin-bottom: 6px;
    }

    /* Hide editors meta item on mobile */
    .lob-guide-card__meta-item--editors {
        display: none;
    }

    /* Clamp excerpt to 2 lines on mobile */
    .lob-guide-card--list .lob-guide-card__excerpt {
        -webkit-line-clamp: 2;
    }

    /* Stack footer vertically on mobile */
    .lob-guide-card__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-top: 8px;
    }

    /* Jurisdiction cards - smaller cover on mobile */
    .lob-guide-card--jurisdiction .lob-guide-card__image {
        flex: 0 0 100px;
        min-height: 140px;
        padding: 8px;
    }

    .lob-guide-card--jurisdiction .lob-guide-card__body {
        padding: 12px;
    }

    .lob-guide-card--jurisdiction .lob-guide-card__title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .lob-jurisdiction-chapter {
        padding: 8px 10px;
    }

    .lob-jurisdiction-chapter__header {
        gap: 6px;
    }

    .lob-jurisdiction-chapter__type {
        font-size: 10px;
        padding: 2px 7px;
    }

    .lob-jurisdiction-chapter__link {
        font-size: 13px;
    }

    .lob-jurisdiction-chapter__contributor {
        font-size: 11px;
    }

    /* Detailed cards stack vertically on mobile */
    .lob-guide-card--detailed {
        flex-direction: column;
    }

    .lob-guide-card--detailed .lob-guide-card__image {
        flex: none;
        height: auto;
        min-height: auto;
        padding: 12px;
        justify-content: center;
    }

    .lob-guide-card--detailed .lob-guide-card__image img {
        max-height: 220px;
    }

    .lob-guide-card--detailed .lob-guide-card__body {
        padding: 20px;
    }

    .lob-guide-card__actions {
        flex-direction: column;
    }

    .lob-guide-card__actions .lob-btn {
        width: 100%;
        text-align: center;
    }

    .lob-jurisdiction-boxes {
        columns: 2;
    }

    .lob-jurisdiction-boxes--bordered {
        columns: unset;
        display: flex;
    }

    .lob-jurisdiction-boxes--grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lob-jurisdiction-boxes--pills {
        columns: unset;
        gap: 6px;
    }

    /* Editors & Jurisdictions container - visual grouping on mobile */
    .lob-guide-card__columns {
        background: var(--lob-bg-light);
        padding: 16px;
        border-radius: 6px;
        margin-top: 16px;
    }

    /* Full-width divider on mobile */
    .lob-guide-card__divider {
        width: 100%;
    }

    /* Separator between stacked editors and jurisdictions */
    .lob-guide-card__section--jurisdictions {
        padding-top: 16px;
        border-top: 1px solid var(--lob-border);
    }

    /* Book Detail - Mobile */
    .lob-book-hero {
        padding: 36px 0 40px;
    }

    .lob-book-hero__row {
        flex-direction: column;
        gap: 24px;
    }

    .lob-book-hero__cover {
        flex: none;
        max-width: 260px;
        margin: 0 auto;
    }

    .lob-book-hero__cover img {
        max-height: 240px;
    }

    .lob-book-hero__title {
        font-size: 2.4rem;
    }

    .lob-book-actions__row {
        flex-direction: column;
    }

    .lob-book-actions__row .lob-btn {
        width: 100%;
        text-align: center;
    }

    .lob-book-about {
        padding: 30px 0;
    }

    .lob-book-about__text {
        font-size: 16px;
    }

    .lob-book-jurisdictions {
        padding: 30px 0 36px;
    }

    .lob-book-jurisdictions__tabs {
        overflow-x: auto;
    }

    .lob-book-jurisdictions__tab {
        font-size: 11px;
        padding: 10px 16px;
        white-space: nowrap;
        letter-spacing: 1px;
    }

    .lob-book-jurisdictions__tab-panel {
        padding-top: 20px;
    }

    .lob-book-jurisdictions__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lob-book-media-panel {
        padding: 20px;
        border-radius: 6px;
    }

    .lob-book-jurisdictions__compare {
        margin-top: 28px;
        padding-top: 24px;
    }

    .lob-book-introduction {
        padding: 30px 0;
    }

    .lob-book-introduction .lob-book-chapter-item {
        padding: 20px 24px;
    }

    .lob-book-introduction .lob-book-chapter-item:first-child {
        padding-top: 20px;
    }

    .lob-book-contributors {
        padding: 30px 0;
    }

    .lob-book-contributor-card {
        padding: 20px;
    }

    .lob-book-contributor-card__authors {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .lob-book-contributor-card__author-photo {
        width: 44px;
        height: 44px;
    }

    .lob-book-articles {
        padding: 30px 0;
    }

    /* Sticky Nav - Mobile */
    .lob-sticky-nav__inner {
        padding: 0 12px;
        gap: 0;
    }

    .lob-sticky-nav__sections {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .lob-sticky-nav__sections::-webkit-scrollbar {
        display: none;
    }

    .lob-sticky-nav__item {
        padding: 12px 10px;
        font-size: 11px;
    }

    .lob-sticky-nav__actions {
        gap: 4px;
        padding-left: 10px;
    }

    .lob-sticky-nav__action-label {
        display: none;
    }

    .lob-sticky-nav__action {
        padding: 7px 10px;
        font-size: 12px;
        border-radius: 5px;
    }

    .lob-sticky-nav__action i {
        font-size: 11px;
        opacity: 0.85;
    }

    /* Author Profile - Mobile */
    .lob-author-hero {
        padding: 24px 0 18px;
    }

    .lob-author-hero__card {
        border-left: 1px solid rgba(0, 0, 0, 0.05);
        border-top: 3px solid var(--lob-teal);
    }

    .lob-author-hero__card-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 18px;
        padding: 18px 16px;
    }

    .lob-author-hero__sidebar {
        flex-direction: column;
        align-items: center;
    }

    .lob-author-hero__photo {
        width: 64px;
        height: 64px;
    }

    .lob-author-hero__initials {
        font-size: 20px;
    }

    .lob-author-hero__name-row {
        justify-content: center;
    }

    .lob-author-hero__name {
        font-size: 1.6rem;
    }

    .lob-author-hero__firm {
        justify-content: center;
    }

    .lob-author-hero__nav {
        flex-direction: row;
        justify-content: center;
    }

    .lob-author-hero__nav-link {
        width: auto;
    }

    .lob-author-hero__bio {
        text-align: left;
        padding: 12px 16px 14px;
    }

    .lob-author-hero__bio-toggle-wrap {
        padding: 8px 16px 14px;
    }

    .lob-author-publication-card {
        border-left: 1px solid rgba(0, 0, 0, 0.05);
        border-top: 3px solid var(--lob-teal);
    }

    .lob-author-publication-card__content {
        grid-template-columns: 1fr;
    }

    .lob-author-publication-card__header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .lob-author-publication-card__chapters {
        padding: 0 20px 20px;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    .lob-author-chapter-row__coauthors {
        padding-left: 14px;
    }

    .lob-author-publications,
    .lob-author-publications-list,
    .lob-author-articles {
        padding: 40px 0 44px;
    }

    .lob-author-pub-list-group {
        padding-left: 12px;
    }

    .lob-author-pub-list-group__cover {
        display: none;
    }

    .lob-author-pub-sentence {
        font-size: 15px;
    }

    .lob-author-article-item {
        flex-direction: column;
        gap: 8px;
        padding-left: 12px;
    }

    .lob-author-article-item__date {
        padding-top: 0;
    }

    .lob-author-section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Organisation Profile - Mobile */
    .lob-org-hero {
        padding: 32px 0 24px;
    }

    .lob-org-hero__card-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 18px;
        border-left: 1px solid rgba(0, 0, 0, 0.05);
        border-top: 3px solid var(--lob-teal);
        padding: 24px 20px;
    }

    .lob-org-hero__logo {
        width: 160px;
        height: 84px;
    }

    .lob-org-hero__initials {
        font-size: 28px;
    }

    .lob-org-hero__name {
        font-size: 1.4rem;
    }

    .lob-org-hero__contact {
        align-items: center;
    }

    .lob-org-authors {
        padding: 40px 0 44px;
    }

    .lob-org-authors__grid {
        grid-template-columns: 1fr;
    }

    .lob-org-publications__grid {
        grid-template-columns: 1fr;
    }

    .lob-org-publication-card {
        flex-direction: column;
    }

    .lob-org-publication-card__cover {
        flex: none;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 16px;
        max-height: 180px;
    }

    .lob-org-publication-card__cover img {
        max-height: 150px;
    }

    .lob-org-publication-card__body {
        padding: 16px 20px 20px;
    }
}

/* ==========================================================================
   Chapter Page
   ========================================================================== */

/* ---------- Edition Banner ---------- */
.lob-chapter-edition-banner {
    background: var(--lob-accent);
    color: var(--lob-text-dark);
    padding: 12px 0;
    font-family: var(--lob-font-body);
    font-size: 14px;
    font-style: italic;
    text-align: center;
}

.lob-chapter-edition-banner a {
    color: var(--lob-text-dark);
    font-weight: 700;
    text-decoration: underline;
}

.lob-chapter-edition-banner a:hover {
    color: var(--lob-teal-dark);
}

/* ---------- Chapter Heading ---------- */
.lob-chapter-heading {
    padding: 40px 0 24px;
    background: var(--lob-bg-white);
    border-bottom: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: visible !important;
    position: relative;
    z-index: 1;
}

.lob-chapter-heading__flags {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.lob-chapter-heading__flag {
    height: 28px;
    width: auto;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.lob-chapter-heading__title {
    font-family: var(--lob-font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--lob-text-dark);
    margin: 0 0 8px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.lob-chapter-heading__subtitle {
    font-size: 15px;
    color: var(--lob-text-medium, #555);
    margin: 6px 0 0;
    font-weight: 400;
}

.lob-chapter-heading__book-ref {
    font-family: var(--lob-font-body);
    font-size: 15px;
    color: var(--lob-text-light);
    font-style: italic;
    margin: 0 0 4px;
}

.lob-chapter-heading__book-ref a {
    color: var(--lob-teal);
    font-weight: 600;
    text-decoration: none;
    font-style: normal;
}

.lob-chapter-heading__book-ref a:hover {
    text-decoration: underline;
}

.lob-chapter-heading__date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--lob-font-body);
    font-size: 15px;
    color: var(--lob-text-light);
    margin: 0 0 12px;
}

.lob-chapter-heading__date i {
    color: var(--lob-teal);
    font-size: 14px;
}

.lob-chapter-heading__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 0;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: visible !important;
}

.lob-chapter-heading__actions .sharethis-inline-share-buttons {
    display: inline-flex !important;
    opacity: 0.5;
}

.lob-chapter-heading__actions .sharethis-inline-share-buttons:hover {
    opacity: 0.75;
}

.lob-chapter-heading__actions .st-btn {
    background: transparent !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 4px !important;
}

.lob-chapter-heading__actions .st-btn:hover {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.3) !important;
}

/* Chapter Heading: Container flex layout */
.lob-chapter-heading .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    overflow: visible !important;
}

.lob-chapter-heading__left {
    flex: 1;
    min-width: 0;
    overflow: visible !important;
}

/* Chapter Heading: Book cover block */
.lob-chapter-heading__book {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    gap: 10px;
}

.lob-chapter-heading__book:hover {
    text-decoration: none;
}

.lob-chapter-heading__book-cover {
    width: 120px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
}

.lob-chapter-heading__book-title {
    display: none;
}

.lob-chapter-heading__book:hover .lob-chapter-heading__book-title {
    text-decoration: underline;
    color: var(--lob-teal);
}

/* Chapters dropdown button — matches .lob-book-hero__save-btn */
.lob-chapter-heading__chapters-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    font-family: var(--lob-font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--lob-text-medium);
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.lob-chapter-heading__chapters-btn:hover,
.lob-chapter-heading__chapters-btn--active {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.3);
}

.lob-chapter-heading__chapters-btn i:first-child {
    font-size: 11px;
}

.lob-chapter-heading__chapters-chevron {
    font-size: 9px;
    opacity: 0.5;
    transition: transform 0.2s ease;
}

.lob-chapter-heading__chapters-chevron--open {
    transform: rotate(180deg);
}

/* Chapters dropdown panel */
.lob-chapter-heading__chapters-panel {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    margin-top: 6px;
    z-index: 50;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
}

.lob-chapter-heading__chapters-panel .lob-chapter-nav {
    border-radius: 8px;
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
}

.lob-chapter-heading__chapters-panel .lob-chapter-nav__sidebar-list {
    max-height: 280px;
}

/* ---------- Two-Column Layout ---------- */
.lob-chapter-content {
    padding: 40px 0 60px;
    background: var(--lob-bg-light);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.03);
}

.lob-chapter-content__row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

.lob-chapter-content__main {
    min-width: 0;
}

.lob-chapter-content__sidebar {
    position: sticky;
    top: 24px;
    min-width: 0;
}

/* ---------- Chapter Tabs ---------- */
.lob-chapter-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--lob-border);
}

.lob-chapter-tabs__left {
    display: flex;
    gap: 0;
}

.lob-chapter-tabs__right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.lob-chapter-tabs a.lob-book-jurisdictions__tab {
    text-decoration: none;
}

/* ---------- Q&A Accordion ---------- */
.lob-chapter-intro,
.lob-chapter-qa {
    border: 1px solid rgba(0,0,0,0.06);
    border-left: 3px solid transparent;
    border-radius: 8px;
    background: var(--lob-bg-white);
    margin-bottom: 12px;
    overflow: visible;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lob-chapter-intro:hover,
.lob-chapter-qa:hover {
    border-left-color: var(--lob-teal);
}

.lob-chapter-qa--expanded,
.lob-chapter-intro--expanded {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.lob-chapter-qa--sub {
    margin-left: 20px;
    border-left: 2px solid var(--lob-border);
}

.lob-chapter-qa__header {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--lob-font-body);
    font-size: 20px;
    font-weight: 600;
    color: var(--lob-text-medium);
    text-align: left;
    gap: 12px;
    transition: background-color 0.2s;
    line-height: 1.45;
}

.lob-chapter-qa__header:hover {
    background-color: var(--lob-bg-light);
}

.lob-chapter-qa__header i {
    flex-shrink: 0;
    margin-top: 3px;
    margin-left: auto;
    color: var(--lob-text-light);
    font-size: 13px;
    transition: transform 0.2s;
}

h2.lob-chapter-qa__header-text {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    line-height: inherit;
    color: inherit;
}

/* Show All / Hide All toggle — matches .lob-book-hero__save-btn */
.lob-chapter-qa__toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 20px;
    font-family: var(--lob-font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--lob-text-medium);
    cursor: pointer;
    transition: all 0.25s ease;
}

.lob-chapter-qa__toggle-btn:hover {
    background: rgba(45, 74, 90, 0.04);
    color: var(--lob-teal);
    border-color: var(--lob-teal) !important;
}

.lob-chapter-qa__toggle-btn i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.lob-chapter-qa__number {
    flex-shrink: 0;
    font-weight: 700;
    color: var(--lob-teal);
    min-width: 32px;
    text-align: center;
    background: rgba(45, 74, 90, 0.08);
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 0.85em;
    line-height: 1.6;
}

.lob-chapter-qa__answer {
    padding: 0 20px 20px;
    margin: 0 20px;
    padding-top: 16px;
    border-top: 1px solid var(--lob-border);
    font-family: var(--lob-font-accent);
    font-size: 18px;
    line-height: 1.7;
    color: var(--lob-text-medium);
    overflow: visible;
}

.lob-chapter-qa__answer p {
    margin-bottom: 18px;
}

.lob-chapter-qa__answer p:last-of-type {
    margin-bottom: 0;
}

.lob-chapter-qa__answer p:has(+ ul),
.lob-chapter-qa__answer p:has(+ ol) {
    margin-bottom: 0;
}

.lob-chapter-qa__answer table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 18px;
    overflow-x: auto;
    display: block;
}

.lob-chapter-qa__answer table th,
.lob-chapter-qa__answer table td {
    border: 1px solid var(--lob-border);
    padding: 8px 12px;
    text-align: left;
    line-height: 1.5;
}

.lob-chapter-qa__answer table th {
    background: var(--lob-bg-light);
    font-weight: 600;
}

.lob-chapter-qa__answer table td p {
    margin-bottom: 8px;
}

.lob-chapter-qa__answer table td p:last-child {
    margin-bottom: 0;
}

/* Answer content: CMS sub-headings */
.lob-chapter-qa__answer h2 {
    font-family: var(--lob-font-heading);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--lob-teal-dark);
    margin: 32px 0 14px;
}
.lob-chapter-qa__answer h2:first-child { margin-top: 0; }

.lob-chapter-qa__answer h3 {
    font-family: var(--lob-font-body);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--lob-text-dark);
    margin: 24px 0 12px;
}
.lob-chapter-qa__answer h3:first-child { margin-top: 0; }

.lob-chapter-qa__answer h4 {
    font-family: var(--lob-font-body);
    font-size: 16px;
    font-weight: 600;
    font-style: italic;
    line-height: 1.4;
    color: var(--lob-text-dark);
    margin: 20px 0 10px;
}
.lob-chapter-qa__answer h4:first-child { margin-top: 0; }

.lob-chapter-qa__answer ul,
.lob-chapter-qa__answer ol {
    margin: 0 0 18px;
    padding-left: 0;
    list-style-position: inside;
}
.lob-chapter-qa__answer ul ul,
.lob-chapter-qa__answer ul ol,
.lob-chapter-qa__answer ol ul,
.lob-chapter-qa__answer ol ol {
    margin: 0;
}
.lob-chapter-qa__answer ul { list-style-type: disc; }
.lob-chapter-qa__answer ol { list-style-type: decimal; }
.lob-chapter-qa__answer ul > li { list-style: disc inside; }
.lob-chapter-qa__answer ol > li { list-style-type: inherit; list-style-position: inside; }
.lob-chapter-qa__answer li {
    margin-bottom: 6px;
    padding-left: 1.2em;
    text-indent: -1.2em;
    line-height: 1.7;
}
.lob-chapter-qa__answer li::marker {
    color: var(--lob-text-medium);
}

.lob-chapter-qa__close {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 8px 20px;
    background: var(--lob-bg-light);
    border: 1px solid var(--lob-border);
    border-radius: 20px;
    font-family: var(--lob-font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--lob-text-medium);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.lob-chapter-qa__close:hover {
    background: rgba(45, 74, 90, 0.04);
    color: var(--lob-teal);
    border-color: var(--lob-teal);
}

/* ---------- Unstructured Chapter ---------- */
.lob-chapter-unstructured {
    background: var(--lob-bg-white);
    border: 1px solid var(--lob-border);
    border-radius: 6px;
    padding: 32px;
    overflow: visible;
}

.lob-chapter-unstructured__summary {
    font-family: var(--lob-font-accent);
    font-size: 16px;
    line-height: 1.7;
    color: var(--lob-text-dark);
    margin-bottom: 24px;
    font-weight: 600;
}

.lob-chapter-unstructured__body {
    font-family: var(--lob-font-accent);
    font-size: 18px;
    line-height: 1.7;
    color: var(--lob-text-medium);
    overflow: visible;
}

.lob-chapter-unstructured__body p,
.lob-book-chapter-item__preview p {
    margin-bottom: 18px;
}

.lob-chapter-unstructured__body table,
.lob-book-chapter-item__preview table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 18px;
    overflow-x: auto;
    display: block;
}

.lob-chapter-unstructured__body table th,
.lob-chapter-unstructured__body table td,
.lob-book-chapter-item__preview table th,
.lob-book-chapter-item__preview table td {
    border: 1px solid var(--lob-border);
    padding: 8px 12px;
    text-align: left;
    line-height: 1.5;
}

.lob-chapter-unstructured__body table th,
.lob-book-chapter-item__preview table th {
    background: var(--lob-bg-light);
    font-weight: 600;
}

.lob-chapter-unstructured__body table td p,
.lob-book-chapter-item__preview table td p {
    margin-bottom: 8px;
}

.lob-chapter-unstructured__body table td p:last-child,
.lob-book-chapter-item__preview table td p:last-child {
    margin-bottom: 0;
}

/* Unstructured content: CMS sub-headings */
.lob-chapter-unstructured__body h2,
.lob-book-chapter-item__preview h2 {
    font-family: var(--lob-font-heading);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--lob-teal-dark);
    margin: 32px 0 14px;
}
.lob-chapter-unstructured__body h2:first-child,
.lob-book-chapter-item__preview h2:first-child { margin-top: 0; }

.lob-chapter-unstructured__body h3,
.lob-book-chapter-item__preview h3 {
    font-family: var(--lob-font-body);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--lob-text-dark);
    margin: 24px 0 12px;
}
.lob-chapter-unstructured__body h3:first-child,
.lob-book-chapter-item__preview h3:first-child { margin-top: 0; }

.lob-chapter-unstructured__body h4,
.lob-book-chapter-item__preview h4 {
    font-family: var(--lob-font-body);
    font-size: 16px;
    font-weight: 600;
    font-style: italic;
    line-height: 1.4;
    color: var(--lob-text-dark);
    margin: 20px 0 10px;
}
.lob-chapter-unstructured__body h4:first-child,
.lob-book-chapter-item__preview h4:first-child { margin-top: 0; }

.lob-chapter-unstructured__body ul,
.lob-chapter-unstructured__body ol,
.lob-book-chapter-item__preview ul,
.lob-book-chapter-item__preview ol {
    margin: 0 0 18px;
    padding-left: 0;
    list-style-position: inside;
}
.lob-chapter-unstructured__body ul ul,
.lob-chapter-unstructured__body ul ol,
.lob-chapter-unstructured__body ol ul,
.lob-chapter-unstructured__body ol ol,
.lob-book-chapter-item__preview ul ul,
.lob-book-chapter-item__preview ul ol,
.lob-book-chapter-item__preview ol ul,
.lob-book-chapter-item__preview ol ol {
    margin: 0;
}
.lob-chapter-unstructured__body ul,
.lob-book-chapter-item__preview ul { list-style-type: disc; }
.lob-chapter-unstructured__body ol,
.lob-book-chapter-item__preview ol { list-style-type: decimal; }
.lob-chapter-unstructured__body ul > li,
.lob-book-chapter-item__preview ul > li { list-style: disc inside; }
.lob-chapter-unstructured__body ol > li,
.lob-book-chapter-item__preview ol > li { list-style-type: inherit; list-style-position: inside; }
.lob-chapter-unstructured__body li,
.lob-book-chapter-item__preview li {
    margin-bottom: 6px;
    padding-left: 1.2em;
    text-indent: -1.2em;
    line-height: 1.7;
}
.lob-chapter-unstructured__body li::marker,
.lob-book-chapter-item__preview li::marker {
    color: var(--lob-text-medium);
}

/* ---------- Sidebar Sections ---------- */
.lob-chapter-sidebar__section {
    margin-bottom: 32px;
}

.lob-chapter-sidebar__section:last-child {
    margin-bottom: 0;
}

.lob-chapter-editors__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ---------- Compare Widget ---------- */
.lob-chapter-compare {
    background: var(--lob-bg-white);
    border: 1px solid var(--lob-border);
    border-radius: 8px;
    padding: 24px;
    min-width: 0;
}

.lob-chapter-compare__title {
    font-family: var(--lob-font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--lob-text-dark);
    margin: 0 0 16px;
    line-height: 1.35;
}

.lob-chapter-compare__search {
    width: 100%;
    padding: 8px 12px;
    font-family: var(--lob-font-accent);
    font-size: 13px;
    color: var(--lob-text-dark);
    border: 1px solid var(--lob-border);
    border-radius: 4px;
    margin-bottom: 10px;
    outline: none;
    transition: border-color 0.15s ease;
}

.lob-chapter-compare__search:focus {
    border-color: var(--lob-teal);
}

.lob-chapter-compare__search::placeholder {
    color: var(--lob-text-light);
    font-size: 12px;
}

.lob-chapter-compare__list-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}

.lob-chapter-compare__list-header .lob-chapter-compare__search {
    flex: 1 1 100%;
}

.lob-chapter-compare__unselect {
    background: none;
    border: none;
    padding: 0 0 8px;
    font-family: var(--lob-font-accent);
    font-size: 11px;
    color: var(--lob-teal);
    cursor: pointer;
    margin-left: auto;
    transition: color 0.15s ease;
}

.lob-chapter-compare__unselect:hover {
    color: var(--lob-text-dark);
}

.lob-chapter-compare__subtitle {
    font-family: var(--lob-font-body);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--lob-text-light);
    margin: 20px 0 12px;
    padding-top: 16px;
    border-top: 1px solid var(--lob-border);
}

.lob-chapter-compare__jurisdictions,
.lob-chapter-compare__questions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

.lob-chapter-compare__jurisdictions::-webkit-scrollbar,
.lob-chapter-compare__questions::-webkit-scrollbar {
    width: 5px;
}

.lob-chapter-compare__jurisdictions::-webkit-scrollbar-track,
.lob-chapter-compare__questions::-webkit-scrollbar-track {
    background: transparent;
}

.lob-chapter-compare__jurisdictions::-webkit-scrollbar-thumb,
.lob-chapter-compare__questions::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}

.lob-chapter-compare__jurisdictions::-webkit-scrollbar-thumb:hover,
.lob-chapter-compare__questions::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

.lob-chapter-compare__checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--lob-font-accent);
    font-size: 13px;
    color: var(--lob-text-dark);
    cursor: pointer;
    padding: 7px 8px;
    line-height: 1.55;
    border-radius: 4px;
    transition: background-color 0.15s ease;
    flex-direction: row;
}

.lob-chapter-compare__checkbox span {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.lob-chapter-compare__checkbox:hover {
    background: var(--lob-bg-light);
}

.lob-chapter-compare__checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 1.5px solid rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.lob-chapter-compare__checkbox input[type="checkbox"]:checked {
    background: var(--lob-teal);
    border-color: var(--lob-teal);
}

.lob-chapter-compare__checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.lob-chapter-compare__flag {
    height: 18px;
    width: auto;
    border-radius: 2px;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.lob-chapter-compare__current {
    font-family: var(--lob-font-body);
    font-size: 10px;
    color: var(--lob-teal);
    font-style: italic;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0.8;
}

.lob-chapter-compare__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--lob-border);
}

.lob-chapter-compare__submit {
    width: 100%;
    text-align: center;
    padding: 10px 16px;
    font-size: 12px;
}

.lob-chapter-compare__reset {
    width: 100%;
    text-align: center;
    padding: 8px 16px;
    font-size: 11px;
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--lob-text-medium);
}

.lob-chapter-compare__reset:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.3);
    box-shadow: none;
}

/* ==========================================================================
   Compare Pages (Step 1 & Step 2)
   ========================================================================== */

.lob-compare__heading {
    font-family: var(--lob-font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--lob-text-dark);
    margin: 0 0 12px;
    line-height: 1.3;
}

.lob-compare__subtitle {
    font-family: var(--lob-font-body);
    font-size: 15px;
    color: var(--lob-text-medium);
    margin: 0 0 32px;
    line-height: 1.5;
}

.lob-compare__form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.lob-compare__errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 16px 20px;
    color: #991b1b;
    font-family: var(--lob-font-body);
    font-size: 13px;
    line-height: 1.5;
}

.lob-compare__errors p {
    margin: 0 0 4px;
}

.lob-compare__errors p:last-child {
    margin-bottom: 0;
}

.lob-compare__card {
    background: var(--lob-bg-white);
    border: 1px solid var(--lob-border);
    border-radius: 8px;
    padding: 28px;
}

.lob-compare__card-label {
    display: block;
    font-family: var(--lob-font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--lob-text-dark);
    margin-bottom: 14px;
}

.lob-compare__search-wrap {
    position: relative;
    margin-bottom: 16px;
}

.lob-compare__search {
    width: 100%;
    padding: 10px 40px 10px 14px;
    font-family: var(--lob-font-body);
    font-size: 14px;
    color: var(--lob-text-dark);
    border: 1px solid var(--lob-border);
    border-radius: 4px;
    outline: none;
    transition: border-color 0.15s ease;
}

.lob-compare__search:focus {
    border-color: var(--lob-teal);
}

.lob-compare__search::placeholder {
    color: var(--lob-text-light);
}

.lob-compare__search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--lob-text-light);
    pointer-events: none;
}

.lob-compare__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

.lob-compare__grid::-webkit-scrollbar {
    width: 5px;
}

.lob-compare__grid::-webkit-scrollbar-track {
    background: transparent;
}

.lob-compare__grid::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}

.lob-compare__grid-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--lob-font-body);
    font-size: 1rem;
    color: var(--lob-text-dark);
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 4px;
    transition: background-color 0.15s ease;
    line-height: 1.4;
}

.lob-compare__grid-item:hover {
    background: var(--lob-bg-light);
}

.lob-compare__grid-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.lob-compare__grid-item input[type="checkbox"]:checked {
    background: var(--lob-teal);
    border-color: var(--lob-teal);
}

.lob-compare__grid-item input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.lob-compare__grid-item span {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.lob-compare__flag {
    height: 20px;
    width: auto;
    border-radius: 2px;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.lob-compare__questions-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.lob-compare__actions {
    display: flex;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--lob-border);
}

.lob-compare__submit {
    flex: 1;
    text-align: center;
}

.lob-compare__reset,
.lob-compare__reset-btn {
    flex: 1;
    text-align: center;
}

.lob-compare__submit,
.lob-compare__reset,
.lob-compare__reset-btn,
.lob-compare__edit-btn {
    font-family: var(--lob-font-body);
}

/* -- Compare Results (Step 2) -- */

.lob-compare__summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    background: var(--lob-bg-white);
    border: 1px solid var(--lob-border);
    border-radius: 8px;
    padding: 28px 32px;
    margin-bottom: 24px;
}

.lob-compare__summary-details {
    flex: 1;
    min-width: 0;
}

.lob-compare__summary-row {
    margin-bottom: 12px;
    font-family: var(--lob-font-accent);
    font-size: 16px;
    line-height: 1.5;
    color: var(--lob-text-dark);
}

.lob-compare__summary-row:last-child {
    margin-bottom: 0;
}

.lob-compare__summary-row strong {
    display: block;
    font-family: var(--lob-font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--lob-text-light);
    margin-bottom: 4px;
}

.lob-compare__summary-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.lob-compare__edit-btn,
.lob-compare__reset-btn {
    font-size: 12px;
    padding: 10px 24px;
    text-align: center;
    white-space: nowrap;
}

/* -- AI Summary -- */

.lob-compare__ai-summary {
    background: var(--lob-teal);
    border-radius: 8px;
    margin-bottom: 24px;
    overflow: hidden;
}

.lob-compare__ai-summary-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 20px;
    background: none;
    border: none;
    color: #fff;
    font-family: var(--lob-font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.lob-compare__ai-summary-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

.lob-compare__ai-summary-body {
    padding: 0 20px 16px;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--lob-font-accent);
    font-size: 14px;
    line-height: 1.5;
}

.lob-compare__ai-summary-body p {
    margin: 0;
}

/* -- Chevron icon -- */

.lob-compare__chevron {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.lob-compare__chevron--open {
    transform: rotate(180deg);
}

/* -- Question blocks -- */

.lob-compare__results {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lob-compare__question-block {
    border: 1px solid var(--lob-border);
    border-radius: 8px;
    overflow: hidden;
}

.lob-compare__question-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 16px 20px;
    background: var(--lob-text-dark);
    border: none;
    color: #fff;
    font-family: var(--lob-font-heading);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.15s ease;
}

.lob-compare__question-header:hover {
    background: #333;
}

.lob-compare__question-header .lob-compare__chevron {
    color: #fff;
}

.lob-compare__question-body {
    background: var(--lob-bg-white);
}

.lob-compare__jurisdiction-section {
    padding: 24px 28px;
    border-bottom: 1px solid var(--lob-border);
}

.lob-compare__jurisdiction-section:last-of-type {
    border-bottom: none;
}

.lob-compare__jurisdiction-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 0 12px;
    margin: 0 0 0;
    background: none;
    border: none;
    border-bottom: 2px solid var(--lob-teal);
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.lob-compare__jurisdiction-toggle:hover {
    opacity: 0.8;
}

.lob-compare__jurisdiction-toggle .lob-compare__chevron {
    color: var(--lob-teal);
    flex-shrink: 0;
}

.lob-compare__jurisdiction-title-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--lob-font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--lob-text-dark);
    text-align: left;
    line-height: 1.3;
}

.lob-compare__jurisdiction-body {
    padding-top: 16px;
}

.lob-compare__answer {
    margin-bottom: 20px;
}

.lob-compare__answer:last-child {
    margin-bottom: 0;
}

.lob-compare__answer-subquestion {
    font-family: var(--lob-font-heading);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--lob-text-dark);
    margin: 0 0 14px;
}

.lob-compare__answer-content {
    font-family: var(--lob-font-accent);
    font-size: 18px;
    line-height: 1.7;
    color: var(--lob-text-medium);
}

.lob-compare__answer-content p {
    margin: 0 0 12px;
}

.lob-compare__answer-content p:last-child {
    margin-bottom: 0;
}

.lob-compare__answer-content h2 {
    font-family: var(--lob-font-heading);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--lob-text-dark);
    margin: 28px 0 14px;
}
.lob-compare__answer-content h2:first-child { margin-top: 0; }

.lob-compare__answer-content h3 {
    font-family: var(--lob-font-body);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--lob-text-dark);
    margin: 24px 0 12px;
}
.lob-compare__answer-content h3:first-child { margin-top: 0; }

.lob-compare__answer-content h4 {
    font-family: var(--lob-font-body);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--lob-text-dark);
    margin: 20px 0 10px;
}
.lob-compare__answer-content h4:first-child { margin-top: 0; }

.lob-compare__answer-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
    overflow-x: auto;
    display: block;
}

.lob-compare__answer-content table th,
.lob-compare__answer-content table td {
    border: 1px solid var(--lob-border);
    padding: 8px 12px;
    text-align: left;
}

.lob-compare__answer-content table th {
    background: var(--lob-bg-light);
    font-weight: 600;
}

.lob-compare__question-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    border-top: 1px solid var(--lob-border);
    background: var(--lob-bg-light);
}

.lob-compare__close-btn {
    background: none;
    border: none;
    font-family: var(--lob-font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--lob-teal);
    cursor: pointer;
    padding: 0;
    transition: color 0.15s ease;
}

.lob-compare__close-btn:hover {
    color: var(--lob-teal-dark);
}

.lob-compare__back-top {
    font-family: var(--lob-font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--lob-teal);
    text-decoration: none;
    transition: color 0.15s ease;
}

.lob-compare__back-top:hover {
    color: var(--lob-teal-dark);
}

/* -- Compare: Tablet (991px) -- */
@media (max-width: 991px) {
    .lob-compare__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lob-compare__summary {
        flex-direction: column;
    }

    .lob-compare__summary-actions {
        flex-direction: row;
        width: 100%;
    }

    .lob-compare__edit-btn,
    .lob-compare__reset-btn {
        flex: 1;
    }
}

/* -- Compare: Mobile (767px) -- */
@media (max-width: 767px) {
    .lob-compare__heading {
        font-size: 22px;
    }

    .lob-compare__subtitle {
        font-size: 15px;
    }

    .lob-compare__card {
        padding: 20px;
    }

    .lob-compare__grid {
        grid-template-columns: 1fr;
        max-height: 320px;
    }

    .lob-compare__actions {
        flex-direction: column;
    }

    .lob-compare__submit,
    .lob-compare__reset {
        width: 100%;
    }

    .lob-compare__summary {
        padding: 18px;
    }

    .lob-compare__jurisdiction-section {
        padding: 18px;
    }

    .lob-compare__question-header {
        font-size: 14px;
        padding: 14px 16px;
    }

    .lob-compare__question-footer {
        padding: 14px 18px;
    }

    .lob-compare__answer-content {
        font-size: 16px;
        line-height: 1.65;
    }
}

/* ---------- Chapter Navigation ---------- */
.lob-chapter-nav-bar {
    border-bottom: none;
    background: var(--lob-bg-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
    z-index: 1;
}

.lob-chapter-nav {
    background: var(--lob-bg-white);
    border: 1px solid var(--lob-border);
    border-radius: 8px;
    padding: 24px;
}

.lob-chapter-nav-bar .lob-chapter-nav {
    border: none;
    border-radius: 0;
    padding: 16px 0;
}

.lob-chapter-nav-bar .lob-chapter-nav__header--toggle {
    margin: -16px 0 0;
    border-radius: 0;
}

.lob-chapter-nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.lob-chapter-nav__header--toggle {
    background: var(--lob-teal-dark);
    margin: -24px -24px 0;
    padding: 14px 20px;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    user-select: none;
    transition: filter 0.15s ease;
    position: relative;
    overflow: hidden;
}

.lob-chapter-nav__header--toggle::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.lob-chapter-nav__header--toggle:hover {
    filter: brightness(1.06);
}

.lob-chapter-nav__header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lob-chapter-nav__header-icon {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.lob-chapter-nav__header--toggle .lob-chapter-nav__title {
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.lob-chapter-nav__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: var(--lob-font-accent);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.lob-chapter-nav__header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lob-chapter-nav__chevron {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    transition: transform 0.25s ease;
}

.lob-chapter-nav__chevron--open {
    transform: rotate(180deg);
}

.lob-chapter-nav__title {
    font-family: var(--lob-font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--lob-text-dark);
    margin: 0;
    line-height: 1.35;
}

.lob-chapter-nav__search {
    width: 100%;
    padding: 8px 12px;
    font-family: var(--lob-font-accent);
    font-size: 13px;
    color: var(--lob-text-dark);
    border: 1px solid var(--lob-border);
    border-radius: 4px;
    margin: 10px 0px;
    outline: none;
    transition: border-color 0.15s ease;
}

.lob-chapter-nav__search:focus {
    border-color: var(--lob-teal);
}

.lob-chapter-nav__search::placeholder {
    color: var(--lob-text-light);
    font-size: 12px;
}

/* Nav bar: jurisdiction boxes container */
.lob-chapter-nav__boxes {
    margin-top: 0;
}

/* Sidebar: standalone list (no lob-jurisdiction-boxes base) */
.lob-chapter-nav__sidebar-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

.lob-chapter-nav__sidebar-list::-webkit-scrollbar {
    width: 5px;
}

.lob-chapter-nav__sidebar-list::-webkit-scrollbar-track {
    background: transparent;
}

.lob-chapter-nav__sidebar-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}

.lob-chapter-nav__sidebar-list .lob-chapter-nav__box-wrap {
    width: 100%;
}

.lob-chapter-nav__sidebar-list .lob-jurisdiction-box {
    width: 100%;
}

.lob-chapter-nav__sidebar-list .lob-jurisdiction-box--card,
.lob-chapter-nav__sidebar-list .lob-jurisdiction-box--code {
    width: 100%;
}

.lob-chapter-nav__sidebar-list .lob-jurisdiction-box--flag {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Active chapter highlight: wrap around jurisdiction-box */
.lob-chapter-nav__box-wrap {
    position: relative;
    break-inside: avoid;
}

.lob-chapter-nav__box-wrap--active .lob-jurisdiction-box {
    outline: 2px solid var(--lob-teal);
    outline-offset: -1px;
    background: rgba(45, 74, 90, 0.04);
}

.lob-chapter-nav__box-wrap--active .lob-jurisdiction-box--card,
.lob-chapter-nav__box-wrap--active .lob-jurisdiction-box--code {
    border-color: var(--lob-teal);
    outline: none;
    background: rgba(45, 74, 90, 0.04);
}

.lob-chapter-nav__box-wrap--active .lob-jurisdiction-box--flag {
    border-color: var(--lob-teal);
    outline: none;
    box-shadow: 0 0 0 2px rgba(45, 74, 90, 0.25);
}

/* Chapter nav tabs (reuses book jurisdictions tab styles, scaled down) */
.lob-chapter-nav__tabs {
    margin: 0 -20px;
    padding: 0 20px;
}

.lob-chapter-nav__tabs .lob-book-jurisdictions__tab {
    font-size: 12px;
    padding: 10px 20px;
    letter-spacing: 1px;
}

/* Chapter nav media list */
.lob-chapter-nav__media-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 8px;
}

.lob-chapter-nav__media-item {
    display: block;
    padding: 10px 12px;
    font-family: var(--lob-font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--lob-text-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--lob-border);
    transition: background 0.2s ease, color 0.2s ease;
}

.lob-chapter-nav__media-item:first-child {
    border-top: 1px solid var(--lob-border);
}

.lob-chapter-nav__media-item:hover {
    background: rgba(45, 74, 90, 0.04);
    color: var(--lob-teal);
}

.lob-chapter-nav__media-item--active {
    color: var(--lob-teal);
    background: rgba(45, 74, 90, 0.06);
    font-weight: 600;
    border-left: 3px solid var(--lob-teal);
}

/* ---------- Chapter Page: Tablet (991px) ---------- */
@media (max-width: 991px) {
    .lob-chapter-content__row {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .lob-chapter-content__sidebar {
        position: static;
    }

    .lob-chapter-heading {
        padding: 28px 0 16px;
    }

    .lob-chapter-heading .container {
        gap: 24px;
    }

    .lob-chapter-heading__book-cover {
        width: 100px;
    }

    .lob-chapter-heading__title {
        font-size: 2rem;
    }

    .lob-chapter-heading__actions {
        gap: 8px;
        padding-top: 12px;
    }

    .lob-chapter-content {
        padding: 28px 0 48px;
    }

    .lob-chapter-qa--sub {
        margin-left: 12px;
    }

    .lob-chapter-heading__chapters-panel {
        width: 280px;
    }

}

/* ---------- Chapter Page: Mobile (767px) ---------- */
@media (max-width: 767px) {

    /* -- Heading -- */
    .lob-chapter-heading {
        padding: 20px 0 16px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    }

    .lob-chapter-heading__title {
        font-size: 1.6rem;
    }

    .lob-chapter-heading__flag {
        height: 22px;
    }

    .lob-chapter-heading__book {
        display: none;
    }

    .lob-chapter-heading__actions {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    #st-1.st-has-labels .st-btn {
        min-width: 50px !important;
    }

    .lob-chapter-heading__chapters-panel {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 70vh;
        margin-top: 0;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.2);
    }

    .lob-chapter-heading__chapters-panel .lob-chapter-nav {
        max-height: 65vh;
        border-radius: 16px 16px 0 0;
    }

    .lob-chapter-heading__chapters-panel .lob-chapter-nav__sidebar-list {
        max-height: 50vh;
    }

    /* -- Content area -- */
    .lob-chapter-content {
        padding: 24px 0 40px;
        box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
    }

    .lob-chapter-content__row {
        gap: 24px;
    }

    /* -- Chapter tabs -- */
    .lob-chapter-tabs {
        flex-wrap: wrap;
        row-gap: 8px;
        margin-bottom: 16px;
    }

    /* -- Q&A accordion -- */
    .lob-chapter-qa__header {
        padding: 14px 16px;
        font-size: 16px;
        gap: 10px;
    }

    .lob-chapter-qa__number {
        min-width: 22px;
    }

    .lob-chapter-qa__answer {
        padding: 0 16px 16px;
        margin: 0 16px;
        padding-top: 14px;
        font-size: 16px;
        line-height: 1.65;
    }

    .lob-chapter-qa__answer p {
        margin-bottom: 14px;
    }

    .lob-chapter-qa__answer h2,
    .lob-chapter-unstructured__body h2,
    .lob-book-chapter-item__preview h2 {
        font-size: 20px;
    }

    .lob-chapter-qa__answer h3,
    .lob-chapter-unstructured__body h3,
    .lob-book-chapter-item__preview h3 {
        font-size: 17px;
    }

    .lob-chapter-qa__answer table th,
    .lob-chapter-qa__answer table td {
        padding: 6px 8px;
        font-size: 13px;
    }

    .lob-chapter-qa__close {
        padding: 10px 16px;
    }

    .lob-chapter-intro,
    .lob-chapter-qa {
        margin-bottom: 8px;
        box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    }

    .lob-chapter-qa--sub {
        margin-left: 8px;
    }

    /* -- Unstructured chapters -- */
    .lob-chapter-unstructured {
        padding: 20px 16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .lob-chapter-unstructured__body,
    .lob-book-chapter-item__preview {
        font-size: 16px;
        line-height: 1.65;
    }

    .lob-chapter-unstructured__body p,
    .lob-book-chapter-item__preview p {
        margin-bottom: 14px;
    }

    .lob-chapter-unstructured__body table th,
    .lob-chapter-unstructured__body table td,
    .lob-book-chapter-item__preview table th,
    .lob-book-chapter-item__preview table td {
        padding: 6px 8px;
        font-size: 13px;
    }

    /* -- Sidebar sections -- */
    .lob-chapter-sidebar__section {
        margin-bottom: 24px;
    }

    .lob-section__title {
        margin-bottom: 16px;
    }

    /* -- Editor cards -- */
    .lob-editor-card {
        padding: 14px;
        box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    }

    .lob-editor-card__header {
        gap: 10px;
    }

    .lob-editor-card__thumb {
        width: 48px;
        height: 48px;
    }

    .lob-editor-card__initials {
        font-size: 15px;
    }

    .lob-editor-card__name {
        font-size: 15px;
    }

    /* -- Compare widget -- */
    .lob-chapter-compare {
        padding: 16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .lob-chapter-compare__search {
        font-size: 14px;
        padding: 10px 12px;
    }

    .lob-chapter-compare__search::placeholder {
        font-size: 13px;
    }

    .lob-chapter-compare__jurisdictions,
    .lob-chapter-compare__questions {
        max-height: 200px;
    }

    .lob-chapter-compare__checkbox {
        padding: 8px;
    }

    /* -- Chapter nav -- */
    .lob-chapter-nav {
        padding: 16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .lob-chapter-nav__tabs {
        margin: 0 -16px;
        padding: 0 16px;
        overflow-x: auto;
    }

    .lob-chapter-nav__tabs .lob-book-jurisdictions__tab {
        font-size: 12px;
        padding: 8px 12px;
    }

    /* -- Edition banner -- */
    .lob-chapter-edition-banner {
        font-size: 13px;
        padding: 10px 0;
    }
}

/* ==========================================================================
   Index Page Polish - Hero Accent, Stats, Cards, Transitions
   ========================================================================== */

/* ---------- Hero Accent Line ---------- */
.lob-hero__accent-line {
    width: 60px;
    height: 3px;
    background: var(--lob-accent);
    margin: 0 auto 18px;
    border-radius: 2px;
}

/* ---------- Hero Stats Row ---------- */
.lob-hero__stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 10px;
}

.lob-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 10px 24px;
}

.lob-hero__stat-value {
    font-family: var(--lob-font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--lob-gold-badge);
    line-height: 1.2;
}

.lob-hero__stat-label {
    font-family: var(--lob-font-body);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.75);
}

/* ---------- Publication Card Meta ---------- */
.lob-pub-card__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--lob-font-body);
    font-size: 13px;
    color: var(--lob-text-light);
    margin-bottom: 8px;
}

.lob-pub-card__date {
    font-weight: 500;
}

.lob-pub-card__jurisdictions {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lob-pub-card__jurisdictions i {
    font-size: 12px;
    color: var(--lob-teal);
}

/* ---------- Publication Card Editors ---------- */
.lob-pub-card__editors {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-family: var(--lob-font-body);
    font-size: 13px;
    color: var(--lob-text-medium);
    margin-bottom: 10px;
}

.lob-pub-card__editor::after {
    content: ', ';
}

.lob-pub-card__editor:last-child::after,
.lob-pub-card__editors .lob-pub-card__editor:nth-last-child(2):has(+ .lob-pub-card__editor-more)::after {
    content: '';
}

.lob-pub-card__editor-more {
    font-style: italic;
    color: var(--lob-text-light);
}

/* ---------- Publication Card Action Link ---------- */
.lob-pub-card__link {
    display: inline-block;
    margin-top: auto;
    padding-top: 10px;
    font-family: var(--lob-font-body);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--lob-teal);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lob-pub-card__link:hover {
    color: var(--lob-teal-dark);
    text-decoration: none;
}

.lob-pub-card__link span {
    transition: transform 0.2s ease;
    display: inline-block;
}

.lob-pub-card__link:hover span {
    transform: translateX(3px);
}

/* ---------- Chapter Type Badge ---------- */
.lob-knowledge-card__type-wrap {
    margin-bottom: 12px;
}

.lob-knowledge-card__type {
    display: inline-block;
    font-family: var(--lob-font-body);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--lob-teal);
    background: rgba(45, 74, 90, 0.06);
    border: 1px solid rgba(45, 74, 90, 0.15);
    padding: 3px 10px;
    border-radius: 3px;
}

/* ---------- Knowledge Card Action Link ---------- */
.lob-knowledge-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.06);
    font-family: var(--lob-font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--lob-teal);
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.lob-knowledge-card__link:hover {
    color: var(--lob-teal-dark);
    gap: 10px;
    text-decoration: none;
}

.lob-knowledge-card__link span {
    transition: transform 0.2s ease;
    display: inline-block;
}

.lob-knowledge-card__link:hover span {
    transform: translateX(3px);
}

.lob-knowledge-card__chapter-link {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.lob-knowledge-card__flag {
    height: 20px;
    width: auto;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
}

/* ---------- Event Card Action Link ---------- */
.lob-event-card__action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding: 16px 28px 14px;
    margin-left: -28px;
    margin-right: -28px;
    margin-bottom: -22px;
    background: rgba(45,74,90,0.04);
    border-top: 1px solid rgba(45,74,90,0.06);
    font-family: var(--lob-font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--lob-teal);
    transition: color 0.2s ease, gap 0.2s ease, background 0.2s ease;
}

.lob-event-card__link:hover .lob-event-card__action {
    color: var(--lob-teal-dark);
    gap: 10px;
    background: rgba(45,74,90,0.07);
}

.lob-event-card__action span {
    transition: transform 0.2s ease;
    display: inline-block;
}

.lob-event-card__link:hover .lob-event-card__action span {
    transform: translateX(3px);
}

/* ---------- Intro CTA Icon ---------- */
.lob-intro__cta-icon {
    display: none;
}

/* ---------- Fade Transition for Events Load More ---------- */
.lob-fade-enter {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.lob-fade-enter-start {
    opacity: 0;
    transform: translateY(8px);
}

.lob-fade-enter-end {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Latest Publications Carousel (scroll-snap) ---------- */
.lob-carousel {
    position: relative;
    padding: 0 28px;
}

/* The ONE override — scroller uses native scroll, not translateX */
.lob-page .lob-carousel__scroller {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
}

/* Hide native scrollbar */
.lob-carousel__scroller::-webkit-scrollbar { display: none; }
.lob-carousel__scroller {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Each slide is a snap point */
.lob-carousel__slide {
    flex: 0 0 300px;
    min-width: 300px;
    padding: 0 8px;
    box-sizing: border-box;
    scroll-snap-align: start;
}

.lob-carousel__slide--wide {
    flex: 0 0 580px;
    min-width: 580px;
}

/* Prevent book cover from stretching vertically inside wide carousel cards */
.lob-carousel__slide--wide .lob-pub-card__image {
    align-self: center;
    min-height: 0;
    max-height: 220px;
}

.lob-carousel__slide--wide .lob-pub-card__image img {
    object-fit: contain;
}

/* Arrows sit in the padding zone */
.lob-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--lob-border);
    background: var(--lob-bg-white);
    color: var(--lob-text-dark);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.lob-carousel__arrow:hover:not(:disabled) {
    background: var(--lob-teal);
    color: #fff;
    border-color: var(--lob-teal);
    box-shadow: 0 4px 12px rgba(45,74,90,0.25);
}

.lob-carousel__arrow:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.lob-carousel__arrow--prev { left: -6px; }
.lob-carousel__arrow--next { right: -6px; }

/* Dots */
.lob-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.lob-carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--lob-border);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.lob-carousel__dot--active {
    background: var(--lob-teal);
    transform: scale(1.3);
}

/* ---------- Carousel Card (vertical, minimal) ---------- */
.lob-carousel-card {
    display: flex;
    flex-direction: column;
    background: var(--lob-bg-white);
    border: 1px solid var(--lob-border);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.lob-carousel-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
    border-color: var(--lob-teal);
    text-decoration: none;
    color: inherit;
}

.lob-carousel-card__image {
    height: 200px;
    background: var(--lob-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 8px 8px 0 0;
}

.lob-carousel-card__image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 3px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.lob-carousel-card:hover .lob-carousel-card__image img {
    transform: translateY(-2px);
}

.lob-carousel-card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lob-carousel-card__title {
    font-family: var(--lob-font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--lob-text-dark);
    margin: 0 0 8px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lob-carousel-card__meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--lob-font-body);
    font-size: 12px;
    color: var(--lob-text-light);
    margin-bottom: 12px;
}

.lob-carousel-card__meta i {
    font-size: 11px;
    color: var(--lob-teal);
}

.lob-carousel-card__cta {
    margin-top: auto;
    font-family: var(--lob-font-body);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--lob-teal);
    transition: color 0.2s;
}

.lob-carousel-card:hover .lob-carousel-card__cta {
    color: var(--lob-teal-dark);
}

/* ---------- Index Polish Responsive - 991px ---------- */
@media (max-width: 991px) {
    .lob-carousel__slide { flex: 0 0 280px; min-width: 280px; }
    .lob-carousel__slide--wide { flex: 0 0 500px; min-width: 500px; }

    .lob-hero__stats {
        gap: 32px;
    }

    .lob-hero__stat-value {
        font-size: 24px;
    }

    .lob-pub-card__meta {
        flex-wrap: wrap;
        gap: 8px;
    }

}

/* ---------- Index Polish Responsive - 767px ---------- */
@media (max-width: 767px) {
    .lob-hero__accent-line {
        width: 45px;
        margin-bottom: 12px;
    }

    .lob-hero__stats {
        gap: 24px;
        margin-bottom: 6px;
    }

    .lob-hero__stat-value {
        font-size: 20px;
    }

    .lob-hero__stat-label {
        font-size: 10px;
    }

    .lob-pub-card__editors {
        font-size: 12px;
    }

    .lob-pub-card__link,
    .lob-knowledge-card__link,
    .lob-event-card__action {
        font-size: 12px;
    }

    .lob-event-card__action {
        padding: 14px 18px 12px;
        margin-left: -18px;
        margin-right: -18px;
        margin-bottom: -16px;
    }

    .lob-carousel { padding: 0 20px; }
    .lob-carousel__slide { flex: 0 0 260px; min-width: 260px; }
    .lob-carousel__slide--wide { flex: 0 0 420px; min-width: 420px; }
    .lob-carousel__arrow--prev { left: -6px; }
    .lob-carousel__arrow--next { right: -6px; }
    .lob-carousel__arrow { width: 34px; height: 34px; font-size: 14px; }

    .lob-carousel-card__image { height: 170px; padding: 12px; }
    .lob-carousel-card__body { padding: 12px 14px 14px; }
    .lob-carousel-card__title { font-size: 0.9rem; }
}

/* ---------- Index Polish Responsive - 480px ---------- */
@media (max-width: 480px) {
    .lob-carousel { padding: 0 12px; }
    .lob-carousel__slide { flex: 0 0 calc(100vw - 48px); min-width: calc(100vw - 48px); }
    .lob-carousel__slide--wide { flex: 0 0 calc(100vw - 48px); min-width: calc(100vw - 48px); }
    .lob-carousel__arrow { display: none; }
    .lob-carousel__dots { gap: 6px; margin-top: 14px; }
    .lob-carousel__dot { width: 7px; height: 7px; }

    .lob-carousel-card__image { height: 180px; padding: 14px; }
    .lob-carousel-card__body { padding: 14px 16px 16px; }
    .lob-carousel-card__title { font-size: 1rem; }
}

/* ==========================================================================
   Dark Hero Bookshelf
   ========================================================================== */

/* ---------- Section ---------- */
.lob-bookshelf {
    background: linear-gradient(160deg, #4a7080 0%, #3a5d6e 40%, #2d4a5a 100%);
    padding: 65px 0 55px;
    position: relative;
    overflow: hidden;
}

/* Smooth dark-to-light transition for next section */
.lob-bookshelf + .lob-section {
    border-top: none;
}

/* ---------- Heading ---------- */
.lob-bookshelf__heading {
    font-family: var(--lob-font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-transform: capitalize;
    letter-spacing: 0px;
    margin: 0 0 8px;
    padding-bottom: 12px;
    position: relative;
}

.lob-bookshelf__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.35);
}

/* ---------- Carousel Wrapper ---------- */
.lob-bookshelf__carousel {
    position: relative;
    padding: 30px 44px 0;
}

/* ---------- Scroller ---------- */
.lob-page .lob-bookshelf__scroller {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 10px 0 20px;
}

.lob-bookshelf__scroller::-webkit-scrollbar { display: none; }
.lob-bookshelf__scroller {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ---------- Slide ---------- */
.lob-bookshelf__slide {
    flex: 0 0 220px;
    min-width: 220px;
    padding: 0 12px;
    box-sizing: border-box;
    scroll-snap-align: start;
    display: flex;
}

/* ---------- Book Item ---------- */
.lob-bookshelf__item {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.lob-bookshelf__item:hover {
    transform: translateY(-10px);
    text-decoration: none;
}

/* ---------- Book Cover ---------- */
.lob-bookshelf__cover {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 4px;
    position: relative;
}

.lob-bookshelf__cover img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 12px 24px rgba(0, 0, 0, 0.2),
        0 24px 48px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.lob-bookshelf__item:hover .lob-bookshelf__cover img {
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 12px 24px rgba(0, 0, 0, 0.2),
        0 24px 48px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(201, 168, 76, 0.25);
}

/* ---------- Placeholder (no cover) ---------- */
.lob-bookshelf__placeholder {
    width: 160px;
    height: 220px;
    border-radius: 4px;
    background: linear-gradient(145deg, #2d4a5a, #1e3544);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 12px 24px rgba(0, 0, 0, 0.2);
}

.lob-bookshelf__placeholder i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.15);
}

/* ---------- Info Block ---------- */
.lob-bookshelf__info {
    padding: 0 4px;
    margin-top: auto;
}

.lob-bookshelf__title {
    font-family: var(--lob-font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lob-bookshelf__meta {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 3px;
}

.lob-bookshelf__meta i {
    margin-right: 4px;
    font-size: 0.7rem;
}

.lob-bookshelf__date {
    display: none; /* temporarily hidden */
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.3px;
}

/* ---------- Glass Arrows ---------- */
.lob-bookshelf__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
}

/* Fallback for browsers without backdrop-filter */
@supports not (backdrop-filter: blur(12px)) {
    .lob-bookshelf__arrow {
        background: rgba(30, 53, 68, 0.9);
    }
}

.lob-bookshelf__arrow:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.lob-bookshelf__arrow:disabled {
    opacity: 0.2;
    cursor: default;
    pointer-events: none;
}

.lob-bookshelf__arrow--prev { left: -2px; }
.lob-bookshelf__arrow--next { right: -2px; }

/* ---------- Gold Progress Bar ---------- */
.lob-bookshelf__progress {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.lob-bookshelf__progress-track {
    width: 180px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    position: relative;
}

.lob-bookshelf__progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 1px;
    background: linear-gradient(90deg, var(--lob-accent), #e0c56a);
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 12px;
}

/* ---------- Mobile Static Books (hidden by default) ---------- */
.lob-bookshelf__mobile-static {
    display: none;
}

/* ---------- Button Wrap ---------- */
.lob-bookshelf__btn-wrap {
    text-align: center;
    margin-top: 36px;
}

/* ---------- Responsive: 991px ---------- */
@media (max-width: 991px) {
    .lob-bookshelf { padding: 50px 0 42px; }
    .lob-bookshelf__carousel { padding: 24px 36px 0; }
    .lob-bookshelf__slide { flex: 0 0 200px; min-width: 200px; }
    .lob-bookshelf__cover { height: 230px; }
}

/* ---------- Responsive: 767px ---------- */
@media (max-width: 767px) {
    .lob-bookshelf { padding: 40px 0 36px; }
    .lob-bookshelf__carousel { padding: 20px 30px 0; }
    .lob-bookshelf__slide { flex: 0 0 180px; min-width: 180px; }
    .lob-bookshelf__cover { height: 210px; }
    .lob-bookshelf__arrow { width: 36px; height: 36px; font-size: 13px; }
    .lob-bookshelf__title { font-size: 0.82rem; }
}

/* ---------- Responsive: 480px ---------- */
@media (max-width: 480px) {
    .lob-bookshelf { padding: 70px 0 60px; }
    .lob-bookshelf__heading { font-size: 1.59rem; letter-spacing: 2px; }

    /* Hide carousel, show static cards */
    .lob-bookshelf__carousel { display: none; }

    .lob-bookshelf__mobile-static {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 20px 0;
    }

    .lob-bookshelf__static-card {
        display: flex;
        justify-content: center;
    }

    .lob-bookshelf__static-card .lob-bookshelf__cover {
        height: 180px;
    }

    .lob-bookshelf__static-card .lob-bookshelf__title {
        font-size: 0.78rem;
        text-align: center;
    }

    .lob-bookshelf__static-card .lob-bookshelf__meta {
        font-size: 0.75rem;
        text-align: center;
    }
}


/* ===== Authors Directory ===== */

/* Hero banner */
.lob-authors-hero {
    background: linear-gradient(135deg, var(--lob-teal-dark) 0%, var(--lob-teal) 100%);
    padding: 36px 0 32px;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.lob-authors-hero__title {
    font-family: var(--lob-font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.2;
    overflow: visible;
}

.lob-authors-hero__subtitle {
    font-family: var(--lob-font-ui);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    overflow: visible;
}

/* Content wrapper */
.lob-authors-content {
    background: var(--lob-bg-light);
    min-height: 400px;
    overflow: visible;
}

/* Filter bar */
.lob-authors-filter {
    background: #fff;
    border-bottom: 1px solid var(--lob-border);
    padding: 20px 0 16px;
    overflow: visible;
}

.lob-authors-filter__row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    overflow: visible;
}

/* Search input */
.lob-authors-filter__search-wrap {
    position: relative;
    flex: 1;
    min-width: 200px;
    overflow: visible;
}

.lob-authors-filter__search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--lob-text-light);
    font-size: 0.85rem;
    pointer-events: none;
    overflow: visible;
}

.lob-authors-filter__search {
    width: 100%;
    padding: 9px 36px 9px 34px;
    border: 1px solid var(--lob-border);
    border-radius: 6px;
    font-family: var(--lob-font-ui);
    font-size: 0.9rem;
    color: var(--lob-text-dark);
    background: #fff;
    outline: none;
    transition: border-color 0.15s;
    overflow: visible;
}

.lob-authors-filter__search:focus {
    border-color: var(--lob-teal);
}

.lob-authors-filter__clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--lob-text-light);
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    line-height: 1;
    overflow: visible;
}

.lob-authors-filter__clear:hover {
    color: var(--lob-text-medium);
}

/* Type tabs */
.lob-authors-type-tabs {
    display: flex;
    gap: 0;
    border: 1px solid var(--lob-border);
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.lob-authors-type-tab {
    padding: 8px 16px;
    background: #fff;
    border: none;
    border-right: 1px solid var(--lob-border);
    font-family: var(--lob-font-ui);
    font-size: 0.875rem;
    color: var(--lob-text-medium);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    overflow: visible;
}

.lob-authors-type-tab:last-child {
    border-right: none;
}

.lob-authors-type-tab:hover {
    background: var(--lob-bg-light);
    color: var(--lob-text-dark);
}

.lob-authors-type-tab.is-active {
    background: var(--lob-teal);
    color: #fff;
}

/* A–Z bar */
.lob-authors-az {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    overflow: visible;
}

.lob-authors-az__btn {
    min-width: 32px;
    padding: 5px 6px;
    background: none;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: var(--lob-font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--lob-text-medium);
    cursor: pointer;
    text-align: center;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
    overflow: visible;
}

.lob-authors-az__btn:hover {
    background: var(--lob-bg-light);
    border-color: var(--lob-border);
    color: var(--lob-text-dark);
}

.lob-authors-az__btn.is-active {
    background: var(--lob-teal);
    border-color: var(--lob-teal);
    color: #fff;
}

/* Meta / count line */
.lob-authors-meta {
    font-family: var(--lob-font-ui);
    font-size: 0.8rem;
    color: var(--lob-text-light);
    margin: 10px 0 0;
    overflow: visible;
}

/* Author grid */
.lob-authors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 28px 0 40px;
    overflow: visible;
}

/* Author card */
.lob-author-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--lob-border);
    border-radius: 8px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.18s;
    overflow: visible;
}

.lob-author-card:hover {
    box-shadow: 0 4px 16px rgba(45, 74, 90, 0.13);
    text-decoration: none;
    color: inherit;
}

/* Avatar */
.lob-author-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--lob-teal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lob-author-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lob-author-card__initials {
    font-family: var(--lob-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1;
    overflow: visible;
}

/* Body */
.lob-author-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: visible;
}

.lob-author-card__name {
    font-family: var(--lob-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--lob-text-dark);
    line-height: 1.3;
    overflow: visible;
    word-wrap: break-word;
}

.lob-author-card:hover .lob-author-card__name {
    color: var(--lob-teal);
}

.lob-author-card__org {
    font-family: var(--lob-font-ui);
    font-size: 0.8rem;
    color: var(--lob-text-medium);
    line-height: 1.3;
    overflow: visible;
    word-wrap: break-word;
}

/* Empty state */
.lob-authors-empty {
    font-family: var(--lob-font-ui);
    font-size: 1rem;
    color: var(--lob-text-medium);
    text-align: center;
    padding: 48px 0;
    overflow: visible;
}

/* ---------- Responsive: 1200px ---------- */
@media (max-width: 1200px) {
    .lob-authors-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Responsive: 900px ---------- */
@media (max-width: 900px) {
    .lob-authors-grid { grid-template-columns: repeat(2, 1fr); }
    .lob-authors-filter__row { flex-direction: column; align-items: stretch; }
    .lob-authors-type-tabs { align-self: flex-start; }
}

/* ---------- Responsive: 560px ---------- */
@media (max-width: 560px) {
    .lob-authors-hero { padding: 24px 0 20px; }
    .lob-authors-hero__title { font-size: 1.5rem; }
    .lob-authors-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .lob-authors-az__btn { min-width: 28px; padding: 4px 5px; font-size: 0.75rem; }
}

/* ---------- Responsive: 420px ---------- */
@media (max-width: 420px) {
    .lob-authors-grid { grid-template-columns: 1fr; }
    .lob-author-card__avatar { width: 56px; height: 56px; }
    .lob-author-card__name { font-size: 0.88rem; }
    .lob-author-card__org { font-size: 0.75rem; }
}

/* ---------- Event Profile Page ---------- */

.lob-event-profile-hero {
    background: linear-gradient(135deg, #3d6478 0%, #4a7a90 60%, #5a8fa5 100%);
    padding: 64px 0;
    position: relative;
    z-index: 1;
}

.lob-event-profile-hero__row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.lob-event-profile-hero__image-col {
    flex-shrink: 0;
    max-width: 380px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.lob-event-profile-hero__image {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.lob-event-profile-hero__image img {
    width: 100%;
    display: block;
    object-fit: contain;
}

.lob-event-profile-hero__details {
    flex: 1;
    color: #fff;
    min-width: 0;
}

.lob-event-profile-hero__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    padding: 5px 14px;
}

.lob-event-profile-hero__title {
    font-family: var(--lob-font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.lob-event-profile-hero__meta {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.lob-event-profile-hero__meta img {
    width: 20px;
    height: 20px;
    filter: invert(1);
    opacity: 0.85;
    flex-shrink: 0;
}

.lob-event-profile-hero__meta i {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.lob-event-profile-hero__actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.lob-event-profile-hero .lob-btn--hero-light {
    background: #fff;
    border-color: #fff;
    color: var(--lob-teal-dark);
    font-weight: 600;
}

.lob-event-profile-hero .lob-btn--hero-light:hover,
.lob-event-profile-hero .lob-btn--hero-light:focus {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.85);
    color: var(--lob-teal-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.lob-event-profile-hero .lob-btn--hero-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

.lob-event-profile-hero .lob-btn--hero-outline:hover,
.lob-event-profile-hero .lob-btn--hero-outline:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.85);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Event Profile: Body — Two-Column Layout */

.lob-event-profile-body {
    padding: 48px 0;
    background: #fff;
}

.lob-event-profile-body__layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.lob-event-profile-body__main {
    flex: 1;
    min-width: 0;
}

.lob-event-profile-body__sidebar {
    flex-shrink: 0;
    width: 320px;
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.lob-event-profile-body__sidebar .lob-download-form__sidebar {
    position: static;
    border-radius: 8px;
}

.lob-event-profile-body__summary {
    font-family: var(--lob-font-heading);
    font-size: 1.15rem;
    color: #444;
    line-height: 1.75;
    margin-bottom: 28px;
    border-left: 3px solid var(--lob-teal);
    padding: 16px 20px;
    background: var(--lob-bg-light);
    border-radius: 0 6px 6px 0;
}

.lob-event-profile-body__description {
    font-family: var(--lob-font-body);
    font-size: 16px;
    color: var(--lob-text-medium);
    line-height: 1.8;
}

.lob-event-profile-body__description p {
    margin-bottom: 18px;
}

.lob-event-profile-body__description h2 {
    font-family: var(--lob-font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--lob-text-dark);
    margin-top: 32px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lob-border);
}

.lob-event-profile-body__description h3,
.lob-event-profile-body__description h4 {
    font-family: var(--lob-font-heading);
    font-weight: 700;
    color: var(--lob-text-dark);
    margin-top: 28px;
    margin-bottom: 12px;
}

.lob-event-profile-body__description a {
    color: var(--lob-teal);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lob-event-profile-body__description a:hover {
    color: var(--lob-teal-dark);
}

.lob-event-profile-body__description ul,
.lob-event-profile-body__description ol {
    margin-bottom: 18px;
    padding-left: 24px;
}

.lob-event-profile-body__description li {
    margin-bottom: 6px;
}

/* Dash-to-list conversion styling */
.lob-event-profile-body__list {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 18px;
    font-family: var(--lob-font-body);
    font-size: 16px;
    color: var(--lob-text-medium);
    line-height: 1.8;
}

.lob-event-profile-body__list li {
    margin-bottom: 6px;
}

/* Event Profile: Sidebar Card */

.lob-event-sidebar-card {
    background: var(--lob-bg-light);
    border: 1px solid var(--lob-border);
    border-radius: 8px;
    padding: 28px 24px;
}

.lob-event-sidebar-card__heading {
    font-family: var(--lob-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lob-text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--lob-teal);
}

.lob-event-sidebar-card__items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.lob-event-sidebar-card__item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.lob-event-sidebar-card__icon {
    flex-shrink: 0;
    width: 20px;
    padding-top: 2px;
}

.lob-event-sidebar-card__icon img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
}

.lob-event-sidebar-card__icon i {
    font-size: 16px;
    color: var(--lob-text-light);
    width: 20px;
    text-align: center;
}

.lob-event-sidebar-card__label {
    display: block;
    font-family: var(--lob-font-ui);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--lob-text-light);
    margin-bottom: 2px;
}

.lob-event-sidebar-card__value {
    display: block;
    font-family: var(--lob-font-body);
    font-size: 14px;
    color: var(--lob-text-dark);
    line-height: 1.4;
}

.lob-event-sidebar-card__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lob-event-sidebar-card__btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 11px 16px;
}

/* Event Profile: Related Guides */

.lob-event-profile-related {
    padding: 48px 0;
    background: var(--lob-bg-light);
    border-top: 1px solid var(--lob-border);
}

.lob-event-profile-related .lob-section__title {
    font-family: var(--lob-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--lob-text-dark);
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 28px;
}

.lob-event-profile-related__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.lob-event-profile-related .lob-pub-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.lob-event-profile-related .lob-pub-card__image img {
    height: auto;
    object-fit: contain;
}

/* Responsive: 991px */
@media (max-width: 991px) {
    .lob-event-profile-hero__row {
        flex-direction: column;
    }

    .lob-event-profile-hero__image-col {
        max-width: 100%;
    }

    .lob-event-profile-body__layout {
        flex-direction: column;
    }

    .lob-event-profile-body__sidebar {
        width: 100%;
        position: static;
    }
}

/* Responsive: 767px */
@media (max-width: 767px) {
    .lob-event-profile-hero {
        padding: 40px 0;
    }

    .lob-event-profile-hero__title {
        font-size: 1.75rem;
    }

    .lob-event-profile-body {
        padding: 32px 0;
    }

    .lob-event-profile-body__layout {
        gap: 28px;
    }

    .lob-event-profile-related__grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Law Firms Directory ===== */

/* Hero banner */
.lob-lawfirms-hero {
    background-color: #1e3544;
    background: linear-gradient(135deg, #1e3544 0%, #2d4a5a 100%);
    padding: 36px 0 32px;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    overflow: visible;
}

.lob-lawfirms-hero__title {
    font-family: var(--lob-font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.2;
    overflow: visible;
}

.lob-lawfirms-hero__subtitle {
    font-family: var(--lob-font-ui);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    overflow: visible;
}

/* Content wrapper */
.lob-lawfirms-content {
    background: var(--lob-bg-light);
    min-height: 400px;
    overflow: visible;
}

/* Filter bar */
.lob-lawfirms-filter {
    background: #fff;
    border-bottom: 1px solid var(--lob-border);
    padding: 20px 0 16px;
    overflow: visible;
}

.lob-lawfirms-filter__row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    overflow: visible;
}

/* Search input */
.lob-lawfirms-filter__search-wrap {
    position: relative;
    flex: 1;
    min-width: 200px;
    overflow: visible;
}

.lob-lawfirms-filter__search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--lob-text-light);
    font-size: 0.85rem;
    pointer-events: none;
    overflow: visible;
}

.lob-lawfirms-filter__search {
    width: 100%;
    padding: 9px 36px 9px 34px;
    border: 1px solid var(--lob-border);
    border-radius: 6px;
    font-family: var(--lob-font-ui);
    font-size: 0.9rem;
    color: var(--lob-text-dark);
    background: #fff;
    outline: none;
    transition: border-color 0.15s;
    overflow: visible;
}

.lob-lawfirms-filter__search:focus {
    border-color: var(--lob-teal);
}

.lob-lawfirms-filter__clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--lob-text-light);
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    line-height: 1;
    overflow: visible;
}

.lob-lawfirms-filter__clear:hover {
    color: var(--lob-text-medium);
}

/* Type tabs */
.lob-lawfirms-type-tabs {
    display: flex;
    gap: 0;
    border: 1px solid var(--lob-border);
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.lob-lawfirms-type-tab {
    padding: 8px 16px;
    background: #fff;
    border: none;
    border-right: 1px solid var(--lob-border);
    font-family: var(--lob-font-ui);
    font-size: 0.875rem;
    color: var(--lob-text-medium);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    overflow: visible;
}

.lob-lawfirms-type-tab:last-child {
    border-right: none;
}

.lob-lawfirms-type-tab:hover {
    background: var(--lob-bg-light);
    color: var(--lob-text-dark);
}

.lob-lawfirms-type-tab.is-active {
    background: var(--lob-teal);
    color: #fff;
}

/* A–Z bar */
.lob-lawfirms-az {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    overflow: visible;
}

.lob-lawfirms-az__btn {
    min-width: 32px;
    padding: 5px 6px;
    background: none;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: var(--lob-font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--lob-text-medium);
    cursor: pointer;
    text-align: center;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
    overflow: visible;
}

.lob-lawfirms-az__btn:hover {
    background: var(--lob-bg-light);
    border-color: var(--lob-border);
    color: var(--lob-text-dark);
}

.lob-lawfirms-az__btn.is-active {
    background: var(--lob-teal);
    border-color: var(--lob-teal);
    color: #fff;
}

/* Meta / count line */
.lob-lawfirms-meta {
    font-family: var(--lob-font-ui);
    font-size: 0.8rem;
    color: var(--lob-text-light);
    margin: 10px 0 0;
    overflow: visible;
}

/* Law firms grid */
.lob-lawfirms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 28px 0 40px;
    overflow: visible;
}

/* Law firm card */
.lob-lawfirm-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--lob-border);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.18s;
}

.lob-lawfirm-card:hover {
    box-shadow: 0 4px 16px rgba(45, 74, 90, 0.13);
    text-decoration: none;
    color: inherit;
}

/* Logo */
.lob-lawfirm-card__logo {
    width: 100%;
    height: 115px;
    max-height: 85px;
    border-radius: 0;
    overflow: hidden;
    flex-shrink: 0;
    background: transparent;
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lob-lawfirm-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.lob-lawfirm-card__initials {
    width: 100%;
    height: 100%;
    background: var(--lob-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    font-family: var(--lob-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    line-height: 1.3;
    overflow: visible;
    word-wrap: break-word;
}

/* Body */
.lob-lawfirm-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 10px;
    background: transparent;
    overflow: visible;
}

/* Divider between logo and name */
.lob-lawfirm-card__logo + .lob-lawfirm-card__body::before {
    content: '';
    display: block;
    width: 50%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(45, 74, 90, 0.15), transparent);
    margin: 0 auto 8px;
}

/* No logo — body is first child: match logo height */
.lob-lawfirm-card__body:first-child {
    min-height: 115px;
}

.lob-lawfirm-card__name {
    font-family: var(--lob-font-heading);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--lob-text-dark);
    line-height: 1.3;
    text-align: center;
    overflow: visible;
    word-wrap: break-word;
}

.lob-lawfirm-card:hover .lob-lawfirm-card__name {
    color: var(--lob-teal);
}

/* Empty state */
.lob-lawfirms-empty {
    font-family: var(--lob-font-ui);
    font-size: 1rem;
    color: var(--lob-text-medium);
    text-align: center;
    padding: 48px 0;
    overflow: visible;
}

/* ---------- Responsive: 1200px ---------- */
@media (max-width: 1200px) {
    .lob-lawfirms-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Responsive: 900px ---------- */
@media (max-width: 900px) {
    .lob-lawfirms-grid { grid-template-columns: repeat(2, 1fr); }
    .lob-lawfirms-filter__row { flex-direction: column; align-items: stretch; }
    .lob-lawfirms-type-tabs { align-self: flex-start; }
}

/* ---------- Responsive: 560px ---------- */
@media (max-width: 560px) {
    .lob-lawfirms-hero { padding: 24px 0 20px; }
    .lob-lawfirms-hero__title { font-size: 1.5rem; }
    .lob-lawfirms-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .lob-lawfirms-az__btn { min-width: 28px; padding: 4px 5px; font-size: 0.75rem; }
}

/* ===== Org Profile Sub-nav ===== */

.lob-org-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-top: 1px solid var(--lob-border);
    padding: 0 8px;
    background: var(--lob-bg-light);
    overflow: visible;
}

.lob-org-subnav__item {
    font-family: var(--lob-font-ui);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--lob-text-medium);
    padding: 12px 20px;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
    overflow: visible;
}

.lob-org-subnav__item:hover {
    color: var(--lob-teal);
    border-bottom-color: var(--lob-teal);
    text-decoration: none;
}

/* Scroll offset so section headings clear the sticky site header */
#contributing-authors,
#publications,
#articles-by-members,
#news-about {
    scroll-margin-top: 20px;
}

@media (max-width: 560px) {
    .lob-org-subnav { flex-wrap: wrap; }
    .lob-org-subnav__item { padding: 8px 12px; font-size: 0.78rem; }
}

/* ===== Org Profile Fixed Bottom Subnav ===== */

.lob-org-subnav-fixed-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 500;
    background: var(--lob-teal-dark);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.lob-org-subnav-fixed-wrap--visible {
    transform: translateY(0);
}

.lob-org-subnav--fixed .lob-org-subnav__item {
    font-family: var(--lob-font-heading);
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    padding: 16px 22px;
    border-bottom: 2px solid transparent;
}

.lob-org-subnav--fixed .lob-org-subnav__item:hover {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
}

.lob-org-subnav--fixed {
    border-top: none;
    background: transparent;
    justify-content: flex-start;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}


/* ========================================
   Org Profile — Footer CTA
   ======================================== */

.lob-org-footer {
    background: #CADADE;
    padding: 64px 0;
    margin-top: 48px;
}

.lob-org-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.lob-org-footer__text {
    flex: 1 1 auto;
}

.lob-org-footer__heading {
    font-family: var(--lob-font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--lob-text-dark);
    margin: 0 0 8px;
    line-height: 1.3;
}

.lob-org-footer__sub {
    font-family: var(--lob-font-body);
    font-size: 15px;
    color: #3D5A58;
    margin: 0;
    line-height: 1.5;
}

.lob-org-footer__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.lob-btn--dark {
    background: var(--lob-text-dark);
    border-color: var(--lob-text-dark);
    color: #fff;
}

.lob-btn--dark:hover,
.lob-btn--dark:focus {
    background: #000;
    border-color: #000;
    color: #fff;
}

.lob-btn--outline-dark {
    background: transparent;
    border-color: var(--lob-text-dark);
    color: var(--lob-text-dark);
}

.lob-btn--outline-dark:hover,
.lob-btn--outline-dark:focus {
    background: var(--lob-text-dark);
    color: #fff;
}

@media (max-width: 767px) {
    .lob-org-footer__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .lob-org-footer__actions {
        flex-direction: column;
        width: 100%;
    }

    .lob-org-footer__actions .lob-btn {
        text-align: center;
    }
}

/* ==========================================================================
   Download Form
   ========================================================================== */
.lob-download-form {
    padding: 0 0 60px;
}

/* ---------- Form Card ---------- */
.lob-download-form__card {
    background: var(--lob-bg-white);
    border: 1px solid var(--lob-border);
    border-top: 4px solid var(--lob-teal);
    padding: 36px 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* ---------- Form Field Overrides ---------- */
.lob-download-form .form-group label {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.11875rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    color: #000;
    margin-bottom: 6px;
}

.lob-download-form .required:after {
    color: var(--lob-teal);
}

.lob-download-form .form-control {
    border-radius: 6px;
    border: 1px solid var(--lob-border);
    padding: 0px 14px;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.1875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lob-download-form .form-control:focus {
    border-color: var(--lob-teal);
    box-shadow: 0 0 0 3px rgba(45, 74, 90, 0.1);
}

.lob-download-form select.form-control {
    font-size: 1.11875rem;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* ---------- Submit Button ---------- */
.lob-download-form .signup-btn {
    background: var(--lob-teal-dark);
    border: none;
    color: #fff;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
    padding: 0px 50px;
    border-radius: 6px;
    transition: all 0.25s ease;
    width: auto;
    max-width: 100%;
    margin: 0px 0px 0px 15px;
    height: 38px;
}

.lob-download-form .signup-btn:hover {
    background: var(--lob-teal);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #fff;
}

/* ---------- Privacy / T&C Section ---------- */
.lob-download-form .font-weight-bold {
    font-size: 1.1875rem;
    font-family: Georgia, "Times New Roman", Times, serif;
    color: var(--lob-text-dark);
}

.lob-download-form__card p {
    font-size: 1.1875rem;
    color: var(--lob-text-medium);
    line-height: 1.6;
}

.lob-download-form__card a[style*="darkred"],
.lob-download-form__card a[href*="privacy"],
.lob-download-form__card a[href*="terms"] {
    color: var(--lob-teal) !important;
    text-decoration: underline;
}

.lob-download-form__card a[style*="darkred"]:hover,
.lob-download-form__card a[href*="privacy"]:hover,
.lob-download-form__card a[href*="terms"]:hover {
    color: var(--lob-teal-dark) !important;
}

/* Login form links */
.lob-download-form__card .text-muted + a[style*="darkred"],
.lob-download-form__card a[href*="password"][style*="darkred"],
.lob-download-form__card a[href*="register"][style*="darkred"] {
    color: var(--lob-teal) !important;
}

/* ---------- Error Styling ---------- */
.lob-download-form .alert-danger {
    background: none;
    border: none;
    color: #c0392b;
    font-size: 12px;
    padding: 4px 0;
    font-weight: 500;
    font-family: Georgia, "Times New Roman", Times, serif;
}

/* ---------- Password Toggle Button ---------- */
.lob-download-form .input-group-append .btn-outline-secondary {
    border-color: var(--lob-border);
    border-radius: 0 6px 6px 0;
    color: var(--lob-text-medium);
}

.lob-download-form .input-group-append .btn-outline-secondary:hover {
    background: var(--lob-bg-light);
    color: var(--lob-text-dark);
}

.lob-download-form .input-group .form-control {
    border-radius: 6px 0 0 6px;
}

/* ---------- Form Check ---------- */
.lob-download-form .form-check-label {
    text-transform: none;
    font-size: 1.1875rem;
    letter-spacing: 0;
}

/* ---------- Sidebar ---------- */
.lob-download-form__sidebar {
    background: var(--lob-bg-light, #f7f7f7);
    border: 1px solid var(--lob-border, #ddd);
    border-radius: 0;
    padding: 28px 24px;
    position: sticky;
    top: 100px;
}

.lob-download-form__sidebar-cover {
    display: block;
    text-align: center;
    margin-bottom: 18px;
}

.lob-download-form__sidebar-cover-img {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.lob-download-form__sidebar-cover:hover .lob-download-form__sidebar-cover-img {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16), 0 8px 28px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.lob-download-form__sidebar-title {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.1875rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
}

.lob-download-form__sidebar-title a {
    color: var(--lob-text-dark, #1a202c);
    text-decoration: none;
}

.lob-download-form__sidebar-title a:hover {
    color: var(--lob-teal-dark, #1e3544);
}

.lob-download-form__sidebar-date {
    font-size: 1.1875rem;
    color: var(--lob-text-medium, #555);
    margin-bottom: 12px;
}

.lob-download-form__sidebar-date i {
    margin-right: 5px;
}

.lob-download-form__sidebar-summary {
    font-size: 1.1875rem;
    line-height: 1.6;
    color: var(--lob-text-medium, #555);
    margin-bottom: 0;
}

.lob-download-form__sidebar-ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--lob-border, #ddd);
    margin-top: 24px;
    padding-top: 24px;
}

.lob-download-form__sidebar-btn {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 16px;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lob-download-form__sidebar-btn--primary {
    background: var(--lob-teal-dark, #1e3544);
    color: #fff;
    border: 1px solid var(--lob-teal-dark, #1e3544);
}

.lob-download-form__sidebar-btn--primary:hover {
    background: #152a38;
    color: #fff;
    text-decoration: none;
}

.lob-download-form__sidebar-btn--outline {
    background: transparent;
    color: var(--lob-text-medium, #555);
    border: 1px solid var(--lob-border, #ddd);
}

.lob-download-form__sidebar-btn--outline:hover {
    background: var(--lob-teal-dark, #1e3544);
    color: #fff;
    border-color: var(--lob-teal-dark, #1e3544);
    text-decoration: none;
}

/* ---------- Confirmation Page ---------- */
.lob-confirmation__message {
    font-size: 15px;
    color: var(--lob-text-dark);
    margin-bottom: 16px;
    line-height: 1.6;
}

.lob-confirmation__download {
    margin: 24px 0;
}

.lob-confirmation__download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--lob-teal-dark);
    color: #fff;
    font-family: var(--lob-font-ui);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 32px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.lob-confirmation__download-btn:hover,
.lob-confirmation__download-btn:focus,
.lob-confirmation__download-btn:active {
    background: var(--lob-teal);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ---------- Auth Prompt Cards ---------- */
.lob-confirmation__auth-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    border-radius: 8px;
    margin-top: 28px;
    position: relative;
    overflow: hidden;
}

.lob-confirmation__auth-card--login {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
}

.lob-confirmation__auth-card--signup {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 1px solid #3b82f6;
}

.lob-confirmation__auth-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lob-confirmation__auth-card--login .lob-confirmation__auth-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
}

.lob-confirmation__auth-card--signup .lob-confirmation__auth-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}

.lob-confirmation__auth-icon i {
    font-size: 20px;
    color: #ffffff;
}

.lob-confirmation__auth-content {
    flex: 1;
}

.lob-confirmation__auth-content h5 {
    font-family: var(--lob-font-ui);
    font-size: 17px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 6px;
}

.lob-confirmation__auth-content p {
    font-size: 13px;
    color: #4b5563;
    margin: 0 0 14px;
    line-height: 1.5;
}

.lob-confirmation__auth-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border-radius: 8px;
    font-family: var(--lob-font-ui);
    font-size: 14px;
    font-weight: 600;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.lob-confirmation__auth-btn--login {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.lob-confirmation__auth-btn--login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.lob-confirmation__auth-btn--signup {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.lob-confirmation__auth-btn--signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

@media (max-width: 480px) {
    .lob-confirmation__auth-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .lob-confirmation__auth-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .lob-download-form__card {
        padding: 24px 20px;
    }

    .lob-download-form__sidebar {
        position: static;
        margin-top: 30px;
    }
}

