/* ============================================================
   Opportunities & Projects CPT v3 — Stylesheet
   ============================================================ */

:root {
    --op-primary:   #0b1f3a;
    --op-accent:    #c8902a;
    --op-accent-h:  #a8741e;
    --op-accent-lt: rgba(200,144,42,.12);
    --op-light:     #f4f7fb;
    --op-border:    #e2e8f0;
    --op-text:      #1a202c;
    --op-muted:     #64748b;
    --op-white:     #ffffff;
    --op-radius:    10px;
    --op-shadow:    0 1px 3px rgba(0,0,0,.06), 0 4px 18px rgba(0,0,0,.09);
    --op-shadow-h:  0 4px 12px rgba(0,0,0,.1), 0 14px 36px rgba(0,0,0,.13);
    --op-tr:        .2s ease;
}

/* ════════════════════════════════════════════════════════════
   ARCHIVE / GRID PAGE (unchanged from v2)
════════════════════════════════════════════════════════════ */
.op-archive-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 80px;
}
 
.op-archive-header {
    text-align: center;
    padding: 30px 0 30px;
    margin-bottom: 30px;
    background-image: url('https://brazilminingdesk.com/wp-content/uploads/2026/06/projects-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

 .op-archive-header h1 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 50px;
    letter-spacing: 0;
    text-align: center;
    color: var(--op-primary);
    margin: 0 0 0px;
    color: #fff;
}

.op-archive-header p {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 30px;
    letter-spacing: 0;
    text-align: center;
    color: var(--op-muted);
    margin: auto 25%;
    color: #fff;
}

.op-archive-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    align-items: start;
}

/* Sidebar filter panel */
.op-sidebar-filters { position:sticky; top:24px; }
.op-filter-panel { background:var(--op-white); border:1px solid var(--op-border); border-radius:var(--op-radius); box-shadow:var(--op-shadow); overflow:hidden; }
.op-filter-panel-header { display:flex; align-items:center; justify-content:space-between; padding:16px 18px 12px; border-bottom:1px solid var(--op-border); }
.op-filter-panel-header h3 { font-size:.9rem; font-weight:700; color:var(--op-primary); margin:0; text-transform:uppercase; letter-spacing:.6px; }
.op-clear-link { background:none; border:none; color:var(--op-accent); font-size:.8rem; cursor:pointer; padding:0; text-decoration:underline; }
.op-clear-link:hover { color:var(--op-accent-h); }
.op-filter-section { padding:14px 18px; border-bottom:1px solid var(--op-border); }
.op-filter-section:last-child { border-bottom:none; }
.op-filter-heading { font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.5px; color:var(--op-muted); margin:0 0 10px; }
.op-commodity-list { list-style:none; margin:0; padding:0; }
.op-commodity-list li { margin-bottom:2px; }
.op-commodity-item { display:flex; align-items:center; gap:8px; padding:5px 8px; border-radius:6px; cursor:pointer; transition:background var(--op-tr); user-select:none; }
.op-commodity-item:hover { background:var(--op-light); }
.op-commodity-item input[type=checkbox] { display:none; }
.op-commodity-abbr { font-size:.76rem; font-weight:700; min-width:26px; background:var(--op-light); color:var(--op-primary); border:1px solid var(--op-border); border-radius:4px; padding:2px 5px; text-align:center; transition:background var(--op-tr),color var(--op-tr),border-color var(--op-tr); }
.op-commodity-name { font-size:.85rem; color:var(--op-text); }
.op-commodity-item.is-checked .op-commodity-abbr { background:var(--op-accent); color:var(--op-white); border-color:var(--op-accent); }
.op-commodity-item.is-checked .op-commodity-name { font-weight:600; }
.op-filter-select { width:100%; padding:8px 32px 8px 10px; border:1px solid var(--op-border); border-radius:6px; background:var(--op-white); font-size:.88rem; color:var(--op-text); cursor:pointer; outline:none; appearance:none; background-image: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='%2364748b'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 10px center; transition:border-color var(--op-tr); }
.op-filter-select:focus { border-color:var(--op-accent); }
.op-results-bar { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; min-height:28px; color:var(--op-muted); font-size:.88rem; }
.op-btn { display:inline-flex; align-items:center; gap:6px; padding:9px 20px; border-radius:7px; font-size:.85rem; font-weight:600; letter-spacing:.4px; cursor:pointer; border:2px solid transparent; transition:background var(--op-tr),color var(--op-tr),border-color var(--op-tr); text-decoration:none; }
.op-btn-outline { background:transparent; color:var(--op-muted); border-color:var(--op-border); }
.op-btn-outline:hover { background:var(--op-light); }
.op-mobile-only { display:none; }

/* Grid */
.op-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.op-project-card { display:flex; flex-direction:column; background:var(--op-white); border:1px solid var(--op-border); border-radius:var(--op-radius); overflow:hidden; box-shadow:var(--op-shadow); text-decoration:none; color:inherit; transition:box-shadow var(--op-tr),transform var(--op-tr); cursor:pointer; }
.op-project-card:hover { box-shadow:var(--op-shadow-h); transform:translateY(-4px); text-decoration:none; }
.op-card-image { position:relative; aspect-ratio:4/3; overflow:hidden; background:var(--op-light); }
.op-card-image img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s ease; }
.op-project-card:hover .op-card-image img { transform:scale(1.05); }
.op-no-image { width:100%; height:100%; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#e8edf3,#d0d9e8); color:var(--op-muted); }
.op-card-overlay { position:absolute; inset:0; background:linear-gradient(to top,rgba(10,24,48,.4) 0%,transparent 55%); transition:opacity var(--op-tr); }
.op-project-card:hover .op-card-overlay { opacity:.7; }
.op-card-body { padding:16px 18px 20px; display:flex; flex-direction:column; gap:10px; flex:1; }
.op-card-title { font-size:1rem; font-weight:700; color:var(--op-primary); margin:0; line-height:1.35; }
.op-card-meta { display:flex; flex-wrap:wrap; gap:6px; }
.op-tag { display:inline-flex; align-items:center; gap:4px; font-size:.75rem; font-weight:600; padding:3px 9px; border-radius:20px; border:1px solid transparent; }
.op-tag-commodity { background:#fef3c7; color:#92400e; border-color:#fde68a; letter-spacing:.3px; }
.op-tag-state     { background:#dbeafe; color:#1e40af; border-color:#bfdbfe; }
.op-tag-stage     { background:var(--op-light); color:var(--op-primary); border-color:var(--op-border); }

/* Status badges (archive cards) */
.op-status-badge { display:inline-flex; align-items:center; padding:4px 11px; border-radius:20px; font-size:.73rem; font-weight:700; letter-spacing:.4px; text-transform:uppercase; }
.badge-active       { background:#d1fae5; color:#065f46; }
.badge-negotiation  { background:#fef3c7; color:#92400e; }
.badge-closed       { background:#fee2e2; color:#991b1b; }
.badge-coming-soon  { background:#dbeafe; color:#1e40af; }
.badge-confidential { background:#ede9fe; color:#5b21b6; }
.badge-default      { background:#f1f5f9; color:#475569; }

.op-no-results { grid-column:1/-1; padding:60px 20px; text-align:center; color:var(--op-muted); }
.op-no-results p { margin:8px 0; }
.op-loading { grid-column:1/-1; text-align:center; padding:48px; color:var(--op-muted); }
.op-spinner-ring { width:36px; height:36px; border:3px solid var(--op-border); border-top-color:var(--op-accent); border-radius:50%; animation:op-spin .7s linear infinite; margin:0 auto 12px; }
@keyframes op-spin { to { transform:rotate(360deg); } }

/* ════════════════════════════════════════════════════════════
   SINGLE PROJECT PAGE
════════════════════════════════════════════════════════════ */

.op-single-wrap { max-width:100%; }

/* ── HERO ─────────────────────────────────────────────────── */
.op-hero {
    position: relative;
    min-height: 380px;
    background: var(--op-primary);
    overflow: hidden;
    display: flex;
    align-items: stretch;
}
.op-hero-bg {
    position: absolute;
    inset: 0;
}
.op-hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .3;
}
.op-hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(
        160deg,
        rgba(6,16,32,.15) 0%,
        rgba(6,16,32,.7) 50%,
        rgba(6,16,32,.92) 100%
    );
}
.op-hero-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 36px 48px;
}

/* Back button — icon only, no text */
.op-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    color: rgba(255,255,255,.8);
    text-decoration: none;
    margin-bottom: 20px;
    transition: background var(--op-tr), color var(--op-tr);
}
.op-back-btn:hover { background: rgba(255,255,255,.22); color: var(--op-white); }

/* Project name — LARGEST element in hero */
.op-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--op-white);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 22px;
    letter-spacing: -.5px;
    font-family: 'Inter';
}

/* ── HERO TAGS — Bigger and prominent ──────────────────────── */
.op-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 28px;
}

/* Base hero tag — significantly larger than archive card tags */
.op-htag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px !important;  
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .3px;
    line-height: 1;
    backdrop-filter: blur(6px);
    border: 1.5px solid transparent;
    transition: opacity var(--op-tr);
}

.op-htag--commodity {
    background: rgba(200,144,42,.22);
    color: #ffe9a8;
    border-color: rgba(200,144,42,.45);
    font-size: 14px; /* extra-large for commodity abbreviation */
    letter-spacing: .6px;
}
.op-htag-icon { font-size:.75em; opacity:.7; }

.op-htag--location {
    background: rgba(59,130,246,.2);
    color: #bfdbfe;
    border-color: rgba(59,130,246,.35);
}
.op-htag--stage {
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.9);
    border-color: rgba(255,255,255,.18);
}
.op-htag--opptype {
    background: rgba(167,139,250,.15);
    color: #ddd6fe;
    border-color: rgba(167,139,250,.3);
}

/* Status badge in hero — also larger */
.op-hero .op-status-badge {
    font-size: .82rem;
    padding: 6px 14px;
    border-radius: 6px;
}

/* ── REQUEST BUTTON ──────────────────────────────────────── */
.op-request-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #c8902a3d !important;
    color: #D3AF37 !important;
    border: 1px solid #D3AF37 !important;
    border-radius: 5px !important;
    padding: 12px 15px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: .9px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--op-tr), transform var(--op-tr), box-shadow var(--op-tr);
}
button.op-request-btn:hover { 
    color: #fff !important;
    background: var(--op-accent-h) !important;
    transform: translateY(-2px) !important;
}
.op-request-btn--sidebar {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: .88rem;
    margin-top: 18px;
}

/* ── BODY LAYOUT ─────────────────────────────────────────── */
.op-body-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 36px 80px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

/* ── MAIN CONTENT ────────────────────────────────────────── */
.op-main-col { min-width: 0; }

.op-section {
    margin-bottom: 44px;
    padding-bottom: 44px;
    border-bottom: 1px solid var(--op-border);
}
.op-section:last-child { border-bottom:none; margin-bottom:0; padding-bottom:0; }

.op-section-title {
    font-size: 1.22rem;
    color: var(--op-primary);
    font-weight: 700;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2.5px solid var(--op-accent);
    display: inline-block;
}

.op-prose { color: var(--op-text); line-height: 1.75; font-size: .97rem; }
.op-prose p { margin: 0 0 14px; }
.op-prose p:last-child { margin-bottom: 0; }

/* Project Highlights */
.op-section--highlights { background: linear-gradient(135deg, #fffbf0 0%, #fef9ec 100%); border: 1.5px solid #f6e8b8; border-radius: 10px; padding: 28px 32px; margin-bottom: 44px; }
.op-section--highlights .op-section-title { border-bottom-color: var(--op-accent); }
.op-highlights-list {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 10px;
}
.op-highlights-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .95rem;
    color: var(--op-text);
    line-height: 1.5;
}
.op-highlights-list li::before {
    content: '';
    display: block;
    width: 8px; height: 8px;
    min-width: 8px;
    background: var(--op-accent);
    border-radius: 50%;
    margin-top: 7px;
}

/* Image Gallery */
.op-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}
.op-gallery-item {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--op-border);
    aspect-ratio: 4/3;
}
.op-gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover; display:block;
    transition: transform .35s ease;
}
.op-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6,16,32,.45);
    display: flex; align-items:center; justify-content:center;
    color: var(--op-white);
    opacity: 0;
    transition: opacity var(--op-tr);
}
.op-gallery-item:hover img { transform: scale(1.04); }
.op-gallery-item:hover .op-gallery-overlay { opacity: 1; }

/* Technical Reports */
.op-reports-list { display: flex; flex-direction: column; gap: 10px; }
.op-report-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--op-white);
    border: 1px solid var(--op-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--op-text);
    transition: background var(--op-tr), border-color var(--op-tr), box-shadow var(--op-tr);
}
.op-report-item:hover { background: #f8faff; border-color: var(--op-accent); box-shadow: 0 2px 10px rgba(200,144,42,.15); }
.op-report-icon { color: var(--op-accent); flex-shrink:0; }
.op-report-info { flex: 1; }
.op-report-label { display:block; font-weight:600; font-size:.93rem; color:var(--op-primary); }
.op-report-meta { display:block; font-size:.78rem; color:var(--op-muted); margin-top:2px; }
.op-report-dl { color:var(--op-accent); flex-shrink:0; }

/* CTA block */
.op-cta-block {
    background: linear-gradient(135deg, var(--op-primary) 0%, #0d2d50 100%);
    border-radius: 12px;
    padding: 32px 36px;
    text-align: center;
    margin-top: 48px;
}
.op-cta-block p {
    color: rgba(255,255,255,.75);
    margin: 0 0 20px;
    font-size: .97rem;
    line-height: 1.6;
}

/* ── SIDEBAR ──────────────────────────────────────────────── */
.op-sidebar-col { position: sticky; top: 24px; }

.op-sidebar-card {
    background: var(--op-white);
    border: 1px solid var(--op-border);
    border-radius: var(--op-radius);
    box-shadow: var(--op-shadow);
    overflow: hidden;
}

.op-sidebar-card-head {
    background: var(--op-primary);
    padding: 16px 20px;
}
.op-sidebar-card-head h3 {
    color: var(--op-white);
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin: 0;
    font-weight: 700;
}

/* Dynamic sidebar rows */
.op-sidebar-list {
    list-style: none;
    margin: 0; padding: 0;
}
.op-sidebar-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 8px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--op-border);
    font-size: .88rem;
    align-items: start;
}
.op-sidebar-item:last-child { border-bottom: none; }
.op-sidebar-label {
    color: var(--op-muted);
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 600;
    padding-top: 1px;
}
.op-sidebar-value {
    color: var(--op-text);
    font-weight: 600;
    font-size: .9rem;
    word-break: break-word;
}

/* Optional info box */
.op-sidebar-infobox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0;
    padding: 14px 20px;
    background: #fffbeb;
    border-top: 1px solid #fde68a;
    font-size: .84rem;
    color: #7d4f00;
    line-height: 1.5;
}
.op-sidebar-infobox svg { flex-shrink:0; margin-top:1px; }
.op-sidebar-infobox p { margin:0; }

/* NDA notice */
.op-sidebar-nda {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px 20px;
    background: #f0fdf4;
    border-top: 1px solid #bbf7d0;
    font-size: .82rem;
    color: #166534;
    line-height: 1.5;
}
.op-sidebar-nda svg { flex-shrink:0; margin-top:1px; }
.op-sidebar-nda p { margin:0; }

/* Sidebar REQUEST button wrapper */
.op-sidebar-card .op-request-btn--sidebar {
    border-radius: 0;
    border-top: none;
    box-shadow: none;
    margin-top: 0;
}
.op-sidebar-card .op-request-btn--sidebar:hover { box-shadow: none; transform:none; filter:brightness(1.08); }

/* ════════════════════════════════════════════════════════════
   INQUIRY MODAL
════════════════════════════════════════════════════════════ */
.op-modal {
    position: fixed; inset: 0; z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.op-modal.is-open { opacity:1; visibility:visible; }
.op-modal-backdrop {
    position:absolute; inset:0;
    background:rgba(5,14,28,.72);
    backdrop-filter:blur(4px);
    cursor:pointer;
}
.op-modal-box {
    position:relative; z-index:1;
    background:var(--op-white); border-radius:14px;
    box-shadow:0 20px 60px rgba(0,0,0,.3);
    width:min(700px,95vw); max-height:92vh;
    display:flex; flex-direction:column;
    transform:translateY(18px) scale(.97);
    transition:transform .25s ease;
}
.op-modal.is-open .op-modal-box { transform:translateY(0) scale(1); }
.op-modal-close {
    position:absolute; top:14px; right:14px;
    background:var(--op-light); border:1px solid var(--op-border);
    border-radius:50%; width:34px; height:34px;
    font-size:1.2rem; line-height:1; cursor:pointer; color:var(--op-muted);
    display:flex; align-items:center; justify-content:center;
    transition:background var(--op-tr); z-index:2;
}
.op-modal-close:hover { background:#e2e8f0; color:var(--op-text); }
.op-modal-header { padding:28px 28px 18px; border-bottom:1px solid var(--op-border); }
.op-modal-header h2 { font-size:1.35rem; color:var(--op-primary); margin:0 0 6px; }
.op-modal-header p { font-size:.9rem; color:var(--op-muted); margin:0; }
.op-modal-body { overflow-y:auto; padding:24px 28px 28px; flex:1; }

/* Form fields */
.op-fg-row { display:grid; gap:14px; margin-bottom:14px; }
.op-fg-col2 { grid-template-columns:1fr 1fr; }
.op-fg { display:flex; flex-direction:column; gap:5px; margin-bottom:14px; }
.op-fg label { font-size:.83rem; font-weight:600; color:var(--op-text); }
.req { color:#dc2626; margin-left:2px; }
.op-fg input, .op-fg select, .op-fg textarea {
    padding:10px 13px; border:1px solid var(--op-border);
    border-radius:7px; font-size:.9rem; color:var(--op-text);
    background:var(--op-white); outline:none; font-family:inherit;
    transition:border-color var(--op-tr);
}
.op-fg input:focus, .op-fg select:focus, .op-fg textarea:focus { border-color:var(--op-accent); }
.op-fg textarea { resize:vertical; min-height:100px; }
.op-fg select { appearance:none; background-image: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='%2364748b'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 12px center; padding-right:32px; }
.op-submit-btn {
    width:100%; margin-top:6px; padding:14px;
    background:var(--op-accent); color:var(--op-white); border:none;
    border-radius:8px; font-size:1rem; font-weight:700; letter-spacing:.5px;
    cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px;
    transition:background var(--op-tr);
}
.op-submit-btn:hover { background:var(--op-accent-h); }
.op-submit-btn:disabled { opacity:.65; cursor:not-allowed; }
@keyframes op-spin-a { to { transform:rotate(360deg); } }
.op-spin-icon { animation:op-spin-a .8s linear infinite; }

.op-form-success {
    display:flex; align-items:flex-start; gap:14px;
    padding:18px; background:#d1fae5; border:1px solid #6ee7b7;
    border-radius:9px; color:#065f46; margin-bottom:18px;
}
.op-form-success svg { flex-shrink:0; margin-top:2px; }
.op-form-success p { margin:4px 0 0; font-size:.9rem; }
.op-form-error {
    padding:12px 16px; background:#fee2e2; border:1px solid #fca5a5;
    border-radius:7px; color:#991b1b; font-size:.88rem; margin-bottom:12px;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width:1080px) {
    .op-archive-layout { grid-template-columns:210px 1fr; }
    .op-grid { grid-template-columns:repeat(2,1fr); }
    .op-body-wrap { grid-template-columns:1fr 280px; gap:32px; padding:36px 24px 60px; }
}
@media (max-width:860px) {
    .op-archive-layout { grid-template-columns:1fr; }
    .op-sidebar-filters { position:static; display:none; }
    .op-sidebar-filters.is-mobile-open { display:block; }
    .op-mobile-only { display:inline-flex !important; }
    .op-grid { grid-template-columns:repeat(2,1fr); }
    .op-body-wrap { grid-template-columns:1fr; padding:24px 20px 60px; }
    .op-sidebar-col { position:static; order:-1; }
    .op-hero-inner { padding:20px 20px 36px; }
    .op-hero-title { font-size:clamp(1.6rem,5vw,2.4rem); }
    .op-htag { padding:7px 13px; font-size:.88rem; }
}
@media (max-width:560px) {
    .op-grid { grid-template-columns:1fr; }
    .op-fg-col2 { grid-template-columns:1fr; }
    .op-modal-body, .op-modal-header { padding-left:16px; padding-right:16px; }
    .op-highlights-list { grid-template-columns:1fr; }
    .op-gallery-grid { grid-template-columns:repeat(2,1fr); }
}



/* ============================================================
   FILTER LISTS v5.1
   Commodity  = original abbr-badge + name pill design
   Stage / Opportunity Type / State = clean text list
   All scroll after ~10 items
   ============================================================ */

/* ── Shared: kill browser bullets on all filter lists ────── */
.op-commodity-list,
.op-text-list {
    list-style: none !important;
    margin:  0;
    padding: 0;
}

/* ── Shared scroll container ─────────────────────────────── */
.op-flist-scroll {
    max-height: 290px;        /* ~10 rows visible */
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--op-accent) #edf0f4;
}
.op-flist-scroll::-webkit-scrollbar       { width: 4px; }
.op-flist-scroll::-webkit-scrollbar-track { background: #edf0f4; border-radius: 10px; }
.op-flist-scroll::-webkit-scrollbar-thumb { background: var(--op-accent); border-radius: 10px; }

/* ════════════════════════════════════
   COMMODITY — abbr badge + name
════════════════════════════════════ */
.op-commodity-list li {
    list-style: none !important;  /* belt-and-braces for theme overrides */
}

.op-commodity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background var(--op-tr);
    user-select: none;
}
.op-commodity-item:hover {
    background: var(--op-light);
}

/* Abbreviation badge (Au, Cu, Fe…) */
.op-commodity-abbr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    padding: 2px 6px;
    background: var(--op-light);
    color: var(--op-primary);
    border: 1px solid var(--op-border);
    border-radius: 4px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .4px;
    flex-shrink: 0;
    transition: background var(--op-tr), color var(--op-tr), border-color var(--op-tr);
}

/* Full name */
.op-commodity-name {
    font-size: .875rem;
    color: var(--op-text);
    transition: font-weight var(--op-tr);
}

/* ── Selected state — gold fill ──────────────────────────── */
.op-commodity-item.is-active {
    background: var(--op-accent-lt);
}
.op-commodity-item.is-active .op-commodity-abbr {
    background: var(--op-accent);
    color: var(--op-white);
    border-color: var(--op-accent);
}
.op-commodity-item.is-active .op-commodity-name {
    font-weight: 600;
    color: var(--op-primary);
}

/* ════════════════════════════════════
   STAGE / OPPORTUNITY TYPE / STATE
   — clean text rows, same height
════════════════════════════════════ */
.op-text-list li {
    list-style: none !important;
}

.op-text-item {
    padding: 7px 10px;
    border-radius: 6px;
    font-size: .875rem;
    color: var(--op-text);
    cursor: pointer;
    user-select: none;
    transition: background var(--op-tr), color var(--op-tr);
    line-height: 1.35;
}
.op-text-item:hover {
    background: var(--op-light);
    color: var(--op-primary);
}

/* Selected state — matches commodity gold fill */
.op-text-item.is-active {
    background: var(--op-accent);
    color: var(--op-white);
    font-weight: 600;
}
.op-text-item.is-active:hover {
    background: var(--op-accent-h);
    color: var(--op-white);
}

/* ============================================================
   PROJECT CARD REDESIGN — Matches design mockup
   Image + badge, title, icon rows, divider, summary
   ============================================================ */

/* Override the old card styles completely */
.op-project-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.08);
    text-decoration: none !important;
    color: inherit;
    transition: box-shadow var(--op-tr), transform var(--op-tr);
    cursor: pointer;
}
.op-project-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.1), 0 16px 40px rgba(0,0,0,.12);
    transform: translateY(-4px);
    color: inherit;
    text-decoration: none !important;
}

/* ── Image area ───────────────────────────────────────────── */
.op-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #1a1a1a;
    flex-shrink: 0;
}
.op-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}
.op-project-card:hover .op-card-image img {
    transform: scale(1.04);
}
.op-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
}

/* ── Commodity abbreviation badge — top-right of image ───── */
.op-card-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--op-accent);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .5px;
    padding: 8px 14px 10px 16px;
    border-bottom-left-radius: 10px;
    line-height: 1;
    /* Slight shadow for depth over the image */
    box-shadow: -2px 2px 8px rgba(0,0,0,.25);
    /* Support multi-commodity e.g. "Au / Sn" */
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Card body ────────────────────────────────────────────── */
.op-card-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ── Title ────────────────────────────────────────────────── */
.op-card-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #111111;
    margin: 0 0 16px;
    line-height: 1.35;
    letter-spacing: -.2px;
}

/* ── Field rows (icon + label + value) ───────────────────── */
.op-card-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 4px;
}

.op-card-field-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.op-card-field-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--op-accent);
    margin-top: 1px;
    width: 22px;
}
.op-card-field-icon svg {
    display: block;
}

.op-card-field-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.op-card-field-text strong {
    font-size: .78rem;
    font-weight: 700;
    color: #111111;
    letter-spacing: .2px;
    line-height: 1.3;
    display: block;
}
.op-card-field-text span {
    font-size: .85rem;
    color: #444444;
    line-height: 1.4;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Gold divider line ────────────────────────────────────── */
.op-card-divider {
    height: 1.5px;
    background: var(--op-accent);
    margin: 16px 0 14px;
    opacity: .5;
    border-radius: 2px;
}

/* ── Summary text ─────────────────────────────────────────── */
.op-card-summary {
    font-size: .875rem;
    color: #555555;
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Remove old card-meta tags (archive used different approach) */
.op-card-meta { display: none; }
