.bambu-detail-page *,
.bambu-detail-page *::before,
.bambu-detail-page *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.bambu-detail-page {
    background: #eef2f8;
    color: #0f172a;
}

.bambu-detail-page a {
    color: inherit;
    text-decoration: none;
}

.bambu-detail-page .header {
    background: #071127;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 89px;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.bambu-detail-page .logo-row {
    display: flex;
    align-items: baseline;
}

.bambu-detail-page .logo-bambu {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.bambu-detail-page .logo-up {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(89.99deg, #35ad68 3.36%, #1da095 23.36%, #227caf 41.7%, #7855a2 68.36%, #87516f 86.7%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bambu-detail-page .logo-tagline {
    font-size: 8px;
    color: #94a3b8;
    text-transform: uppercase;
    margin-top: 2px;
}

.bambu-detail-page .nav-center {
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 9px 22px;
}

.bambu-detail-page .nav-link {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.bambu-detail-page .nav-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.bambu-detail-page .btn-icon {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.bambu-detail-page .contact-link {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    font-variation-settings: "opsz" 14;
}

.bambu-detail-page .lang-btn {
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 5px 11px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    cursor: pointer;
}

.bambu-detail-page .lang-text {
    font-size: 12px;
    color: #e2e8f0;
}

.bambu-detail-page .notif-btn {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: none;
    cursor: pointer;
}

.bambu-detail-page .notif-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: #2fd59d;
    border-radius: 50%;
}

.bambu-detail-page .signin-btn {
    padding: 7px 17px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
    color: #e2e8f0;
    background: transparent;
    cursor: pointer;
}

.bambu-detail-page .start-btn {
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 8px 20px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #43b263 0%, #3ba295 25%, #3b7ab5 50%, #7147a7 75%, #814272 100%);
    font-size: 12px;
    color: #fff;
    border: none;
    cursor: pointer;
}

.bambu-detail-page .hero {
    position: relative;
    width: 100%;
    padding: 40px 0 44px;
    background: #071127 url('/wp-content/uploads/2026/09/ambient-decorative-curve-lines.png') center center / cover no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.bambu-detail-page .hero-inner {
    width: calc(100% - (2 * var(--bambu-container-gutter, 24px)));
    max-width: 1290px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bambu-detail-page .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.bambu-detail-page .breadcrumb a:hover {
    color: #e2e8f0;
}

.bambu-detail-page .hero-badge {
    display: inline-block;
    background: linear-gradient(90deg, #22c55e, #3b75b3);
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 5px 12px;
    border-radius: 6px;
    margin-top: 4px;
    width: max-content;
}

.bambu-detail-page .hero-title {
    font-size: 44px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    max-width: 640px;
    margin-bottom: 8px;
}

.bambu-detail-page .meta-bar {
    backdrop-filter: blur(6px);
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 20px;
}

.bambu-detail-page .meta-host {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 260px;
    min-width: 0;
}

.bambu-detail-page .host-text {
    flex: 1;
    min-width: 0;
}

.bambu-detail-page .host-avatar {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #14b8a6, #34d399);
    color: #fff;
    flex-shrink: 0;
}

.bambu-detail-page .host-name {
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.bambu-detail-page .host-location {
    font-size: 12px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.bambu-detail-page .host-location .detail-icon {
    color: #2dd4bf;
}

/* Pills share one row and wrap their own text, like the design. */
.bambu-detail-page .meta-pills {
    display: flex;
    flex: 1;
    min-width: 0;
    gap: 10px;
    align-items: stretch;
    flex-wrap: nowrap;
}

.bambu-detail-page .meta-pill {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
}

.bambu-detail-page .pill-icon {
    display: inline-flex;
    color: #2dd4bf;
    flex-shrink: 0;
}

.bambu-detail-page .pill-text {
    font-size: 13px;
    line-height: 1.4;
    color: #fff;
}

.bambu-detail-page .pill-label {
    color: #e2e8f0;
}

/* Blue verified check used next to organization names. */
.bambu-detail-page .verified-badge {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #0ea5e9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.bambu-detail-page .page-body {
    width: 100%;
    background: transparent;
}

/* Same container as the other pages: 1290px wide with the shared gutter. */
.bambu-detail-page .content-layout,
.bambu-detail-page .not-ready-wrap,
.bambu-detail-page .related-section {
    width: calc(100% - (2 * var(--bambu-container-gutter, 24px)));
    max-width: 1290px;
    margin: 0 auto;
}

.bambu-detail-page .content-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px 0;
}

.bambu-detail-page h2 {
    font-weight: 500;
}

.bambu-detail-page .article-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
    flex: 1;
    min-width: 0;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    overflow: hidden;
}

.bambu-detail-page .article-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #43b263 0%, #3ba295 25%, #3b7ab5 55%, #7147a7 80%, #814272 100%);
}

.bambu-detail-page .tab-bar {
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    gap: 16px;
    align-items: center;
    padding-bottom: 12px;
    overflow-x: auto;
}

.bambu-detail-page .tab-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px 8px 0 0;
    border-bottom: 2px solid transparent;
    font-size: 14px;
    color: #64748b;
    white-space: nowrap;
    transition: color 160ms ease, background-color 160ms ease;
}

.bambu-detail-page .tab-btn:hover {
    color: #0f766e;
}

.bambu-detail-page .tab-btn.active {
    background: #f0fdfa;
    color: #0f766e;
    border-bottom-color: #0d9488;
}

.bambu-detail-page .showcase-img {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.bambu-detail-page .detail-section {
    scroll-margin-top: 110px;
}

.bambu-detail-page .sec-title-lg {
    font-size: 18px;
    line-height: 1.4;
    color: #0f172a;
    margin-bottom: 8px;
}

.bambu-detail-page .sec-body {
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
}

.bambu-detail-page .sec-body p + p {
    margin-top: 10px;
}

.bambu-detail-page .sec-body ul,
.bambu-detail-page .sec-body ol {
    padding-left: 20px;
    margin-top: 8px;
}

.bambu-detail-page .callout-box {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.14), rgba(59, 117, 179, 0.17));
    border: 1px solid #ccfbf1;
    border-radius: 16px;
    padding: 24px 22px;
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bambu-detail-page .callout-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #0f172a;
}

.bambu-detail-page .callout-heading .detail-icon {
    color: #0d9488;
}

.bambu-detail-page .callout-list {
    list-style: none;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 24px;
}

.bambu-detail-page .req-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.bambu-detail-page .req-row {
    background: rgba(240, 253, 250, 0.25);
    border: 1px solid #22c55e;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 12px 16px;
}

.bambu-detail-page .req-icon {
    width: 32px;
    display: inline-flex;
    justify-content: center;
    flex-shrink: 0;
    color: #0d9488;
}

.bambu-detail-page .req-label {
    width: 200px;
    flex-shrink: 0;
    padding-left: 8px;
    font-size: 13px;
    color: #1e293b;
}

.bambu-detail-page .req-value {
    flex: 1;
    font-size: 13px;
    color: #475569;
}

.bambu-detail-page .nice-box {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.14), rgba(59, 117, 179, 0.17));
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
}

.bambu-detail-page .nice-icon-bg {
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #35ad68;
}

.bambu-detail-page .detail-icon-star {
    fill: currentColor;
}

.bambu-detail-page .nice-text {
    font-size: 14px;
    line-height: 1.6;
    color: #1e293b;
}

.bambu-detail-page .keywords-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    font-size: 13px;
    line-height: 1.6;
    color: #334155;
}

.bambu-detail-page .keyword-chip:not(:last-child)::after {
    content: ", ";
}

.bambu-detail-page .org-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
}

.bambu-detail-page .org-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bambu-detail-page .org-logo {
    width: 64px;
    height: 64px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.bambu-detail-page .org-logo-icon {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, #43b263, #3b7ab5 50%, #e8505b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bambu-detail-page .org-logo-name {
    font-size: 8px;
    color: #334155;
    margin-top: 4px;
}

.bambu-detail-page .org-name {
    font-size: 16px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bambu-detail-page .org-desc {
    font-size: 12px;
    line-height: 1.6;
    color: #64748b;
    margin-top: 4px;
    max-width: 520px;
}

.bambu-detail-page .view-profile-btn {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 12px;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.bambu-detail-page .view-profile-btn:hover {
    border-color: #0d9488;
    color: #0f766e;
}

/* Sidebar */
.bambu-detail-page .sidebar {
    width: 368px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bambu-detail-page .interested-card {
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.16), rgba(59, 117, 179, 0.19));
    border: 1px solid #ccfbf1;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.06);
    display: flex;
    flex-direction: column;
}

.bambu-detail-page .interested-title {
    font-size: 18px;
    color: #0f172a;
}

.bambu-detail-page .interested-sub {
    font-size: 12px;
    line-height: 1.5;
    color: #64748b;
    margin: 8px 0 16px;
}

.bambu-detail-page .req-conn-btn {
    background: linear-gradient(90deg, #1da095, #3b7ab5 50%, #7855a2);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border: none;
    width: 100%;
    transition: filter 160ms ease;
}

.bambu-detail-page .req-conn-btn:hover {
    filter: brightness(1.08);
}

.bambu-detail-page .signin-note {
    font-size: 12px;
    color: #64748b;
    text-align: center;
    margin-top: 12px;
}

.bambu-detail-page .signin-note a:hover {
    color: #0f766e;
}

.bambu-detail-page .review-notice {
    background: rgba(236, 253, 245, 0.7);
    border: 1px solid #d1fae5;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 16px;
}

.bambu-detail-page .review-icon {
    display: inline-flex;
    color: #059669;
    flex-shrink: 0;
}

.bambu-detail-page .review-text {
    font-size: 12px;
    line-height: 1.5;
    color: #475569;
}

.bambu-detail-page .save-btn {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-top: 12px;
    padding: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: #334155;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    width: 100%;
}

.bambu-detail-page .side-card,
.bambu-detail-page .faq-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.bambu-detail-page .side-card-title,
.bambu-detail-page .faq-title {
    font-size: 14px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bambu-detail-page .side-card-title .detail-icon {
    color: #0d9488;
}

.bambu-detail-page .faq-title {
    margin-bottom: 8px;
}

.bambu-detail-page .faq-title .detail-icon {
    color: #475569;
}

.bambu-detail-page .side-card-body {
    font-size: 12px;
    line-height: 1.6;
    color: #64748b;
    margin-top: 8px;
}

.bambu-detail-page .support-link {
    font-size: 12px;
    color: #1da095;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
}

.bambu-detail-page .support-link .detail-icon {
    transform: rotate(-90deg);
}

.bambu-detail-page .faq-item {
    border-top: 1px solid #f1f5f9;
}

.bambu-detail-page .faq-item:first-of-type {
    border-top: none;
}

.bambu-detail-page .faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    font-size: 12px;
    color: #334155;
    cursor: pointer;
    list-style: none;
}

.bambu-detail-page .faq-item summary::-webkit-details-marker {
    display: none;
}

.bambu-detail-page .faq-caret {
    display: inline-flex;
    color: #94a3b8;
    transition: transform 160ms ease;
}

.bambu-detail-page .faq-item[open] .faq-caret {
    transform: rotate(180deg);
}

.bambu-detail-page .faq-answer {
    font-size: 12px;
    line-height: 1.6;
    color: #64748b;
    padding: 0 0 12px;
}

.bambu-detail-page .share-card {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.16), rgba(59, 117, 179, 0.19));
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bambu-detail-page .share-label {
    font-size: 12px;
    color: #1e293b;
}

.bambu-detail-page .share-icons {
    display: flex;
    gap: 12px;
}

.bambu-detail-page .share-icon {
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #334155;
    transition: color 160ms ease, border-color 160ms ease;
}

.bambu-detail-page .share-icon:hover,
.bambu-detail-page .share-icon.is-copied {
    color: #0f766e;
    border-color: #3ba295;
}

/* Not ready banner */
.bambu-detail-page .not-ready-banner {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.16), rgba(59, 117, 179, 0.19));
    border: 1px solid #22c55e;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 32px;
}

.bambu-detail-page .not-ready-title {
    font-size: 22px;
    color: #0f172a;
}

.bambu-detail-page .not-ready-sub {
    font-size: 12px;
    color: #475569;
    margin-top: 4px;
}

.bambu-detail-page .save-opp-btn {
    border: 1px solid #22c55e;
    border-radius: 12px;
    padding: 11px 20px;
    font-size: 12px;
    color: #0f766e;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

.bambu-detail-page .save-btn.is-saved,
.bambu-detail-page .save-opp-btn.is-saved {
    color: #0f766e;
    border-color: #3ba295;
    background: #f0fdfa;
}

.bambu-detail-page .is-saved .detail-icon-bookmark {
    fill: currentColor;
}

/* Related opportunities */
.bambu-detail-page .related-section {
    padding: 40px 0 56px;
}

.bambu-detail-page .related-title {
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 24px;
}

.bambu-detail-page .related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.bambu-detail-page .rel-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.bambu-detail-page .rel-card:hover {
    box-shadow: 0 12px 24px -12px rgba(15, 23, 42, 0.18);
    transform: translateY(-2px);
}

.bambu-detail-page .rel-card-img {
    position: relative;
    height: 176px;
    background: #e2e8f0;
    overflow: hidden;
    flex-shrink: 0;
}

.bambu-detail-page .rel-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bambu-detail-page .rel-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #1da095;
    color: #fff;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
}

.bambu-detail-page .rel-badge.is-offer {
    background: #3b7ab5;
}

.bambu-detail-page .rel-save {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    border-radius: 9999px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #475569;
}

.bambu-detail-page .rel-save.is-saved {
    color: #0f766e;
}

.bambu-detail-page .rel-body {
    padding: 16px 16px 0;
    flex: 1;
}

.bambu-detail-page .rel-title {
    display: -webkit-box;
    min-height: calc(1.35em * 2);
    font-size: 14px;
    color: #0f172a;
    line-height: 1.35;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bambu-detail-page .rel-title:hover {
    color: #0f766e;
}

.bambu-detail-page .rel-date {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
}

.bambu-detail-page .rel-org {
    font-size: 12px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.bambu-detail-page .rel-org-check {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0d9488 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 9px no-repeat;
}

.bambu-detail-page .rel-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding-top: 10px;
}

.bambu-detail-page .rel-tag {
    background: #f4f7f9;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 10px;
    color: #475569;
}

.bambu-detail-page .rel-looking {
    font-size: 12px;
    color: #64748b;
    padding-top: 12px;
}

.bambu-detail-page .rel-looking strong {
    font-weight: 400;
    color: #1e293b;
}

.bambu-detail-page .rel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid #f4f7f9;
    margin-top: 12px;
}

.bambu-detail-page .rel-view {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #334155;
}

.bambu-detail-page .rel-view:hover {
    color: #0f766e;
}

.bambu-detail-page .rel-connect {
    display: inline-block;
    background: linear-gradient(90deg, #1da095, #3b7ab5 50%, #7855a2);
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 12px;
    color: #fff;
    border: none;
    cursor: pointer;
}

.bambu-detail-page .rel-connect:hover {
    filter: brightness(1.08);
}

.bambu-detail-page .footer-bottom a {
    color: #475569;
}

.bambu-detail-page .teal {
    color: #2dd4bf;
}

.bambu-detail-page .icon-sm {
    font-size: 14px;
}

/* Responsive layout. */
@media (max-width: 1200px) {
    .bambu-detail-page .meta-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .bambu-detail-page .meta-host {
        flex-basis: auto;
    }

    .bambu-detail-page .meta-pills {
        flex-wrap: wrap;
    }

    .bambu-detail-page .meta-pill {
        flex: 1 1 200px;
    }

    .bambu-detail-page .sidebar {
        width: 320px;
    }

    .bambu-detail-page .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .bambu-detail-page .content-layout {
        flex-direction: column;
        padding: 24px 0;
    }

    .bambu-detail-page .sidebar {
        width: 100%;
    }

    .bambu-detail-page .meta-pill {
        flex: 1 1 200px;
        max-width: none;
    }

    .bambu-detail-page .article-card {
        padding: 24px 16px;
    }

    .bambu-detail-page .org-card,
    .bambu-detail-page .not-ready-banner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .bambu-detail-page .hero {
        padding-top: 28px;
    }

    .bambu-detail-page .hero-title {
        font-size: 30px;
    }

    .bambu-detail-page .meta-pills {
        flex-direction: column;
    }

    .bambu-detail-page .showcase-img {
        height: 220px;
    }

    .bambu-detail-page .req-row {
        align-items: flex-start;
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .bambu-detail-page .req-label {
        width: calc(100% - 40px);
    }

    .bambu-detail-page .req-value {
        padding-left: 40px;
        width: 100%;
    }

    .bambu-detail-page .org-left {
        align-items: flex-start;
    }

    .bambu-detail-page .not-ready-banner {
        padding: 20px;
    }

    .bambu-detail-page .related-grid {
        grid-template-columns: 1fr;
    }
}

/* Organisation logo image (imported profiles); initials stay as the fallback. */
.bambu-detail-page .org-logo.has-image {
    padding: 6px;
    overflow: hidden;
    background: #ffffff;
}

.bambu-detail-page .org-logo.has-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
