/* ==========================================================================
   OTB26 - Opening the Book 2026 Redesign
   Only custom rules that Bootstrap 5 can't handle.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables & Base
   -------------------------------------------------------------------------- */

:root {
    --otb26-primary: #ec2669;
    --otb26-primary-hover: #d11e5b;
}

.otb26 {
    background-color: #222;
}

.otb26-content {
    background-color: #fff;
}

.otb26 .text-secondary {
    color: #555 !important;
}

.otb26-cap {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.otb26-cap-container {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: var(--bs-gutter-x, 0.75rem);
}

@media (min-width: 768px) {
    .otb26-cap-container { padding-left: calc((100vw - 720px) / 2 + 0.75rem); }
}
@media (min-width: 992px) {
    .otb26-cap-container { padding-left: calc((100vw - 960px) / 2 + 0.75rem); }
}
@media (min-width: 1200px) {
    .otb26-cap-container { padding-left: calc((100vw - 1140px) / 2 + 0.75rem); }
}
@media (min-width: 1400px) {
    .otb26-cap-container { padding-left: calc((100vw - 1320px) / 2 + 0.75rem); }
}
@media (min-width: 1440px) {
    .otb26-cap-container { padding-left: calc((1440px - 1320px) / 2 + 0.75rem); }
}

/* Reusable hover shadow — add to any card / panel */
.otb26-hover-shadow {
    transition: box-shadow 0.3s;
}

.otb26-hover-shadow:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.otb26 a {
    color: var(--otb26-primary);
    transition: color 0.2s;
}

.otb26 a:hover {
    color: var(--otb26-primary-hover);
}


/* --------------------------------------------------------------------------
   2. Buttons (brand colours Bootstrap can't provide)
   -------------------------------------------------------------------------- */

.otb26-btn-primary {
    display: inline-block;
    background-color: var(--otb26-primary);
    color: #fff !important;
    border: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none !important;
    padding: 10px 24px;
    border-radius: 4px;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.otb26-btn-primary:hover {
    background-color: var(--otb26-primary-hover);
    color: #fff !important;
}

.otb26-btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--otb26-primary) !important;
    border: 2px solid var(--otb26-primary);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none !important;
    padding: 8px 22px;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.otb26-btn-outline:hover {
    background-color: var(--otb26-primary);
    color: #fff !important;
}


/* --------------------------------------------------------------------------
   3. Header nav (link styling Bootstrap can't do)
   -------------------------------------------------------------------------- */

.otb26-nav a {
    color: #1a1a1a !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 16px;
    transition: color 0.2s;
}

.otb26-nav a:hover,
.otb26-nav .active a {
    color: var(--otb26-primary) !important;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .otb26-nav-about { display: none; }
}


/* --------------------------------------------------------------------------
   4. Hamburger (animated icon - no Bootstrap equivalent)
   -------------------------------------------------------------------------- */

.otb26-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    width: 36px;
    height: 36px;
}

.otb26-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1a1a1a;
    position: absolute;
    left: 7px;
    transition: transform 0.3s, opacity 0.3s;
}

.otb26-hamburger span:nth-child(1) { top: 10px; }
.otb26-hamburger span:nth-child(2) { top: 17px; }
.otb26-hamburger span:nth-child(3) { top: 24px; }

.otb26-hamburger.open span:nth-child(1) { transform: rotate(45deg); top: 17px; }
.otb26-hamburger.open span:nth-child(2) { opacity: 0; }
.otb26-hamburger.open span:nth-child(3) { transform: rotate(-45deg); top: 17px; }


/* --------------------------------------------------------------------------
   5. Mobile menu (full-screen overlay - no Bootstrap equivalent)
   -------------------------------------------------------------------------- */

.otb26-mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 1029;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.otb26-mobile-menu.open {
    display: flex;
}

.otb26-mobile-link {
    color: #1a1a1a !important;
    text-decoration: none !important;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.active .otb26-mobile-link,
.otb26-mobile-link:hover {
    color: var(--otb26-primary) !important;
}


/* --------------------------------------------------------------------------
   6. Hero split (50/50 layout)
   -------------------------------------------------------------------------- */

.otb26-hero-content-inner {
    max-width: 600px;
}

/* Left padding that matches Bootstrap container edge */
.otb26-hero-container-pad {
    padding-left: 1rem;
}

@media (min-width: 768px) {
    .otb26-hero-container-pad { padding-left: calc((100vw - 720px) / 2 + 0.75rem); }
}
@media (min-width: 992px) {
    .otb26-hero-container-pad { padding-left: calc((100vw - 960px) / 2 + 0.75rem); }
}
@media (min-width: 1200px) {
    .otb26-hero-container-pad { padding-left: calc((100vw - 1140px) / 2 + 0.75rem); }
}
@media (min-width: 1400px) {
    .otb26-hero-container-pad { padding-left: calc((100vw - 1320px) / 2 + 0.75rem); }
}
/* When hero is capped at 1440px, use fixed padding */
@media (min-width: 1440px) {
    .otb26-hero-container-pad { padding-left: calc((1440px - 1320px) / 2 + 0.75rem); }
}

.otb26-hero-h1 {
    font-size: 3.4rem;
    line-height: 1.1;
}

.otb26-hero-text {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #000;
}

.otb26-hero-image {
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

@media (min-width: 992px) {
    .otb26-hero-content { flex: 0 0 50%; max-width: 50%; }
    .otb26-hero-image   { flex: 0 0 50%; max-width: 50%; }
    .otb26-hero         { min-height: 520px; }
}

@media (max-width: 991.98px) {
    .otb26-hero-image { order: -1; }
    .otb26-hero-content-inner { margin: 0 auto; }
    .otb26-hero-h1 { font-size: 2.4rem; }
}


/* --------------------------------------------------------------------------
   7. Hero full-bleed
   -------------------------------------------------------------------------- */

.otb26-hero-full {
    min-height: 520px;
    background-size: cover;
    background-position: center;
}

.otb26-hero-full-overlay {
    background: linear-gradient(to top, rgba(30,30,30,0.95) 0%, rgba(30,30,30,0.85) 60%, transparent 100%);
}

@media (max-width: 991.98px) {
    .otb26-hero-full { min-height: 400px; }
}

/* Case Studies hero sizing */
.otb26-hero-cs { min-height: 560px; }
.otb26-hero-cs > .container { min-height: 560px; }
.otb26-hero-cs-h1 { font-size: 3.2rem; }
.otb26-hero-cs-p { font-size: 1.05rem; }

/* Smaller laptops / tablets landscape */
@media (max-width: 1199.98px) {
    .otb26-hero-cs,
    .otb26-hero-cs > .container { min-height: 420px; }
    .otb26-hero-cs-h1 { font-size: 2.6rem; }
}

/* Tablets portrait and below */
@media (max-width: 991.98px) {
    .otb26-hero-cs,
    .otb26-hero-cs > .container { min-height: 380px; }
    .otb26-hero-cs-h1 { font-size: 2.2rem; }
    .otb26-hero-cs-p { font-size: 0.95rem; }
}

/* Mobile */
@media (max-width: 575.98px) {
    .otb26-hero-cs,
    .otb26-hero-cs > .container { min-height: 400px; }
    .otb26-hero-cs-h1 { font-size: 2rem; }
}


/* --------------------------------------------------------------------------
   8. Stats bar (brand colour on numbers)
   -------------------------------------------------------------------------- */

.otb26-stats {
    background-color: #333333;
}

.otb26-stat-number {
    color: #fff; /*var(--otb26-primary);*/
}


/* --------------------------------------------------------------------------
   9. Service cards
   -------------------------------------------------------------------------- */

.otb26-card-img {
    height: 240px;
    background-size: cover;
    background-position: center;
}

.otb26-card-img-tall {
    height: 280px;
}

.otb26-card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--otb26-primary);
    margin-bottom: 6px;
}

/* Clickable card wrapper — use as <a> around a card */
.otb26-card-clickable {
    color: inherit !important;
    text-decoration: none !important;
    display: block;
}

.otb26-card-link {
    color: var(--otb26-primary) !important;
    text-decoration: none !important;
    transition: color 0.2s;
}

.otb26-card-link:hover {
    color: var(--otb26-primary-hover) !important;
}

/* Case study index cards */
.otb26-cs-card {
    background: #f0f0f0;
    transition: box-shadow 0.3s, transform 0.3s;
}

.otb26-cs-card:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.otb26-cs-card-img {
    height: 260px;
    background-size: cover;
    background-position: center;
}

/* Case study detail page — hero */
.otb26-cs-hero {
    background-size: cover;
    background-position: center;
}

.otb26-cs-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.08) 50%, transparent 100%);
}

/* Case study detail page — quote block override */
.otb26-case-study .blockQuote {
    background: #f5f0eb;
    border-left: 4px solid var(--otb26-primary);
    border-radius: 6px;
    padding: 2rem 2.5rem;
    margin: 2rem 0;
}

.otb26-case-study .blockQuote .quote {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333;
}

.otb26-case-study .blockQuote .quote-arrow {
    display: none;
}

.otb26-case-study .blockQuote .source {
    font-weight: 700;
    color: var(--otb26-primary);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.otb26-case-study .blockQuote .attribute {
    color: #666;
    font-size: 0.9rem;
}

/* Case study detail page — rich text & headings */
.otb26-case-study .blockRichText {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin: 1.5rem 0;
}

.otb26-case-study .blockRichText h3,
.otb26-case-study .blockRichText h2 {
    font-weight: 700;
    color: #222;
    font-size: 1.6rem;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.otb26-case-study .blockImage {
    margin: 2rem 0;
}

.otb26-case-study .blockSplitComponent {
    margin: 2rem 0;
    --bs-gutter-x: 0.5rem;
}

.otb26-case-study .blockSplitComponent .blockImage {
    margin: 0;
}

.otb26-case-study .blockSplitComponent .blockImage img {
    border-radius: 6px;
}

/* Case study detail page — gallery grid */
.otb26-cs-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.otb26-cs-gallery-item {
    height: 240px;
    display: block;
    overflow: hidden;
}

.otb26-cs-gallery-wide {
    grid-column: span 2;
}

@media (max-width: 576px) {
    .otb26-cs-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .otb26-cs-gallery-wide {
        grid-column: span 2;
    }
    .otb26-cs-gallery-item {
        height: 180px;
    }
}


/* --------------------------------------------------------------------------
   10. Dark section (reusable dark-background block)
   -------------------------------------------------------------------------- */

.otb26-dark-section {
    background-color: #2b2b2b;
}

.otb26-dark-section a {
    color: var(--otb26-primary) !important;
}

.otb26-dark-section a:hover {
    color: var(--otb26-primary-hover) !important;
}

.otb26-dark-section .otb26-btn-primary,
.otb26-dark-section .otb26-btn-primary:hover {
    color: #fff !important;
}


/* --------------------------------------------------------------------------
   11. Before / After comparison slider
   -------------------------------------------------------------------------- */

.otb26-compare {
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    overflow: hidden;
    cursor: ew-resize;
}

.otb26-compare img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.otb26-compare-after,
.otb26-compare-before {
    max-height: 420px;
}

.otb26-compare-after {
    height: 420px;
}

.otb26-compare-after {
    position: relative;
}

.otb26-compare-before {
    position: absolute;
    inset: 0;
    clip-path: inset(0 50% 0 0);
}

.otb26-compare-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.otb26-compare-line {
    flex: 1;
    width: 3px;
    background: #fff;
    box-shadow: 0 0 6px rgba(0,0,0,0.4);
}

.otb26-compare-grip {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    flex-shrink: 0;
}

.otb26-compare-label {
    position: absolute;
    bottom: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 3px;
    pointer-events: none;
    z-index: 1;
}

.otb26-compare-label-before { left: 12px; }
.otb26-compare-label-after  { right: 12px; }


/* --------------------------------------------------------------------------
   12. Jump navigation (sticky section nav)
   -------------------------------------------------------------------------- */

/* --- Sticky behaviour (shared by jump nav and section nav) --- */

.otb26-jump-nav.stuck,
.otb26-section-nav.stuck {
    position: fixed;
    /* top is set dynamically by JS to sit below the header */
    left: 0;
    right: 0;
    z-index: 1020;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* --- Jump link pills (row 2 / standalone) --- */

.otb26-jump-link {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid #ddd;
    font-size: 13px;
    font-weight: 500;
    color: #555 !important;
    text-decoration: none !important;
    transition: all 0.2s;
    white-space: nowrap;
}

.otb26-jump-link:hover {
    border-color: var(--otb26-primary);
    color: var(--otb26-primary) !important;
}

.otb26-jump-link.active {
    background-color: var(--otb26-primary);
    border-color: var(--otb26-primary);
    color: #fff !important;
}

@media (max-width: 767px) {
    .otb26-jump-nav {
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
    }
    .otb26-jump-nav .container {
        gap: 0.25rem !important;
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
    }
    .otb26-jump-nav .otb26-jump-link {
        font-size: 10px;
        padding: 3px 8px;
        border-radius: 14px;
    }
}

/* --- Two-layer section navigation --- */

.otb26-section-nav {
    position: relative;
    z-index: 2;
}

.otb26-section-nav-row {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.otb26-section-nav-row::-webkit-scrollbar {
    display: none;
}

/* Row 1: section pages — slightly darker neutral grey */
.otb26-section-nav-row--sections {
    background: #e6e6e6;
    border-bottom: 1px solid #d0d0d0;
}

/* Row 2: jump links — lighter to show hierarchy */
.otb26-section-nav-row--jump {
    background: #efefef;
    border-bottom: 1px solid #d0d0d0;
}

.otb26-section-nav-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #999;
    white-space: nowrap;
    flex-shrink: 0;
}

.otb26-section-nav-label--jump {
    font-size: 0.65rem;
    color: #aaa;
}

.otb26-section-nav-sep {
    display: inline-flex;
    align-items: center;
    color: #bbb;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.otb26-section-links {
    display: flex;
    gap: 0.15rem;
    flex-wrap: nowrap;
    align-items: center;
}

/* Shared link base for both rows */
.otb26-section-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #777 !important;
    text-decoration: none !important;
    white-space: nowrap;
    border: none;
    border-radius: 0;
    background: none;
    transition: color 0.2s;
}

.otb26-section-link:hover {
    color: #555 !important;
}

/* Row 1 active: bold dark grey + pink underline via ::after */
.otb26-section-nav-row--sections .otb26-section-link.active {
    position: relative;
    color: #555 !important;
    font-weight: 700;
}

.otb26-section-nav-row--sections .otb26-section-link.active::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 3px;
    background: var(--otb26-primary);
    border-radius: 2px 2px 0 0;
}

/* Jump links inside section nav — override pill defaults */
.otb26-jump-link.otb26-section-link {
    border: none;
    border-radius: 0;
    background: none;
    padding: 10px 10px;
    font-size: 0.85rem;
    color: #777 !important;
}

.otb26-jump-link.otb26-section-link:hover {
    background: none;
    color: #555 !important;
}

/* Row 2 active: bold + pink text, no underline */
.otb26-section-nav-row--jump .otb26-section-link.active {
    color: var(--otb26-primary) !important;
    font-weight: 700;
}

/* --- Gallery browse bar (row 2 on GalleryDetail) --- */

.otb26-gallery-browse-select {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px 30px 4px 10px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #444;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E") no-repeat right 10px center;
    background-size: 10px 6px;
    min-width: 180px;
    max-width: 300px;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1.4;
}

.otb26-gallery-browse-select:focus {
    outline: 2px solid var(--otb26-primary);
    outline-offset: 1px;
    border-color: var(--otb26-primary);
}

.otb26-gallery-browse-all {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #999 !important;
    text-decoration: none !important;
    white-space: nowrap;
    margin-left: auto;
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.otb26-gallery-browse-all:hover {
    color: var(--otb26-primary) !important;
}

/* Responsive: compact on small screens */
@media (max-width: 767.98px) {
    .otb26-section-nav-row .container {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .otb26-section-nav-row .container::-webkit-scrollbar {
        display: none;
    }
    .otb26-section-link,
    .otb26-jump-link.otb26-section-link {
        font-size: 0.75rem;
        padding: 8px 8px;
    }
    .otb26-gallery-browse-select {
        min-width: 0;
        max-width: none;
        flex: 1 1 auto;
    }
    .otb26-gallery-browse-quick {
        display: none;
    }
}


/* --------------------------------------------------------------------------
   13. Principle cards & carousel
   -------------------------------------------------------------------------- */

.otb26-principle-card {
    background-color: #353535;
    border: 1px solid #444;
    min-height: 160px;
}

.otb26-principle-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--otb26-primary);
    line-height: 1;
}

/* Splide arrows on dark sections */
.otb26-dark-section .splide__arrow {
    background: rgba(255,255,255,0.1);
    opacity: 1;
}

.otb26-dark-section .splide__arrow svg {
    fill: #fff;
}

.otb26-dark-section .splide__arrow:hover {
    background: rgba(255,255,255,0.2);
}

#principles-carousel .splide__arrow--prev { left: -1.5rem; }
#principles-carousel .splide__arrow--next { right: -1.5rem; }


/* --------------------------------------------------------------------------
   13. Footer (dark theme overrides)
   -------------------------------------------------------------------------- */

.otb26-footer {
    background-color: #2b2b2b;
    color: #ccc;
    border-top: 4px solid var(--otb26-primary);
}

.otb26-footer h4 { color: #fff; }

.otb26-footer a { color: #ccc !important; transition: color 0.2s; }
.otb26-footer a:hover { color: #fff !important; }

.otb26-footer hr { border-color: rgba(255,255,255,0.1); }

.otb26-footer .copyright {
    background-color: #222;
    color: #888;
}

.otb26-footer .copyright a { color: #888 !important; display: inline; }
.otb26-footer .copyright a:hover { color: #fff !important; }


/* --------------------------------------------------------------------------
   10. Logo
   -------------------------------------------------------------------------- */

.otb26-logo img {
    height: 42px;
    width: auto;
    position: relative;
    top: 3px;
}

@media (max-width: 991.98px) {
    .otb26-logo img { height: 30px; }
}


/* --------------------------------------------------------------------------
   14. Breadcrumb (tag-style pills)
   -------------------------------------------------------------------------- */

.otb26-breadcrumb,
.otb26-breadcrumb .breadcrumb-item,
.otb26-breadcrumb .breadcrumb-item a {
    font-size: 11px !important;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

    .otb26-breadcrumb .breadcrumb-item a {
        color: #999 !important;
        text-decoration: none !important;
    }

.otb26-breadcrumb .breadcrumb-item a:hover {
    color: var(--otb26-primary-hover) !important;
}

.otb26-breadcrumb .breadcrumb-item.active {
    color: #999;
}

.otb26-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #aaa;
}


/* --------------------------------------------------------------------------
   15. Interior Design principle cards (gradient-bar grid)
   -------------------------------------------------------------------------- */

.otb26-id-principle-card {
    background-color: #353535;
    border: 1px solid #444;
    position: relative;
    overflow: hidden;
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
}

.otb26-id-principle-bar {
    height: 4px;
    border-radius: 2px;
    margin-bottom: 1rem;
}

/* Inset shadow overlay for white-edged images */
.otb26-inset-shadow {
    position: relative;
}
.otb26-inset-shadow::after,
.otb26-inset-shadow-strong::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 24px rgba(0,0,0,0.15);
    border-radius: inherit;
    pointer-events: none;
}
.otb26-inset-shadow-strong { position: relative; }
.otb26-inset-shadow-strong::after {
    box-shadow: inset 0 0 40px rgba(0,0,0,0.3);
}

/* Theme tag pills (gallery cross-link) */
.otb26-theme-pill {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid #c5c0b8;
    background: #fff;
    color: #666 !important;
    font-size: 0.85rem;
    text-decoration: none !important;
    transition: border-color 0.2s, color 0.2s;
}
.otb26-theme-pill:hover {
    border-color: var(--otb26-primary);
    color: var(--otb26-primary) !important;
}
@media (max-width: 767px) {
    .otb26-theme-pill {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
}

/* "Also in Library Design" section-switcher cards */
.otb26-also-in {
    background: #fff;
}

.otb26-also-in-heading {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #999;
    border-bottom: 3px solid var(--otb26-primary);
    padding-bottom: 0.75rem;
}

.otb26-also-in-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.otb26-also-in-card:hover {
    border-color: #ccc;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.otb26-also-in-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #999;
    margin-bottom: 0.5rem;
}

.otb26-also-in-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.otb26-also-in-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.otb26-also-in-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--otb26-primary);
}

.otb26-also-in-card:hover .otb26-also-in-link {
    color: var(--otb26-primary-hover);
}


/* --------------------------------------------------------------------------
   16. FAQ accordion (brand-coloured active state)
   -------------------------------------------------------------------------- */

.otb26-accordion .accordion-button {
    font-size: 1.05rem;
    color: #222;
}

.otb26-accordion .accordion-button:not(.collapsed) {
    color: #fff !important;
    background-color: #2b2b2b !important;
    box-shadow: none;
}

.otb26-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.otb26-accordion .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}


/* --------------------------------------------------------------------------
   17. Reading for Pleasure — hero collage grid
   -------------------------------------------------------------------------- */

.otb26-rfp-collage-wrap {
    background-color: #1a0a14;
    overflow: hidden;
}

.otb26-rfp-collage {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 1fr);
    height: 100%;
    gap: 3px;
    opacity: 0.75;
}

.otb26-rfp-collage > div {
    min-height: 80px;
}
