/* PECB Roadmap Public Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

.pecb-rmap *, .pecb-rmap *::before, .pecb-rmap *::after { box-sizing: border-box; margin: 0; padding: 0; }

.pecb-rmap {
    font-family: 'Poppins', sans-serif;
    color: #12203A;
    -webkit-font-smoothing: antialiased;
    background: #F2F4F8;
}

/* ── HERO ── */
.pecb-rmap-hero {
    background: #fff;
    border-bottom: 1px solid #E2E7F0;
    padding: 150px 40px 36px;
}
.pecb-rmap-hero-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: flex-end;
    justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.pecb-rmap-badge {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
    color: #C8102E; background: #FEF0F2;
    border: 1px solid rgba(200,16,46,.2);
    padding: 4px 12px; border-radius: 20px; margin-bottom: 14px;
}
.pecb-rmap-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #C8102E; animation: pecbBlink 2s infinite;
}
@keyframes pecbBlink { 0%,100%{opacity:1} 50%{opacity:.2} }

.pecb-rmap-title {
    font-size: clamp(22px,2.8vw,34px);
    font-weight: 800; letter-spacing: -.022em; line-height: 1.1;
    color: #12203A; margin-bottom: 8px;
}
.pecb-rmap-title em { color: #C8102E; font-style: normal; }
.pecb-rmap-sub { font-size: 13px; color: #8C97B0; line-height: 1.65; max-width: 420px; }
.pecb-rmap-updated {
    display: flex; align-items: center; gap: 7px;
    font-size: 11px; font-weight: 500; color: #8C97B0;
    background: #F2F4F8; border: 1px solid #E2E7F0;
    padding: 6px 14px; border-radius: 20px; white-space: nowrap; flex-shrink: 0;
}
.pecb-rmap-updated strong { color: #435070; font-weight: 600; }

/* ── BODY ── */
.pecb-rmap-body {
    max-width: 1200px; margin: 0 auto;
    padding: 28px 40px 60px;
    display: grid; grid-template-columns: 210px 1fr;
    gap: 24px; align-items: start;
}

/* ── SIDEBAR ── */
.pecb-rmap-sidebar {
    position: sticky; top: 24px;
    background: #fff; border: 1px solid #E2E7F0;
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 1px 3px rgba(18,32,58,.07), 0 4px 14px rgba(18,32,58,.05);
}
.pecb-rmap-mob-toggle {
    display: none; width: 100%; padding: 12px 16px;
    background: #fff; border: none; border-bottom: 1px solid #E2E7F0;
    font-family: 'Poppins',sans-serif; font-size: 13px; font-weight: 600;
    color: #12203A; cursor: pointer;
    align-items: center; justify-content: space-between;
}
.pecb-rmap-mob-toggle svg { transition: transform .2s; }
.pecb-rmap-mob-toggle.open svg { transform: rotate(180deg); }

.pecb-rmap-sb-block { padding: 14px 16px; border-bottom: 1px solid #E2E7F0; }
.pecb-rmap-sb-block:last-of-type { border-bottom: none; }
.pecb-rmap-sb-label {
    font-size: 9px; font-weight: 700; letter-spacing: .15em;
    text-transform: uppercase; color: #8C97B0; display: block; margin-bottom: 9px;
}

.pecb-rmap-search-wrap { position: relative; }
.pecb-rmap-search-wrap svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: #8C97B0; pointer-events: none; }
.pecb-rmap-search {
    font-family: 'Poppins',sans-serif; font-size: 12px;
    width: 100%; background: #F2F4F8; border: 1.5px solid #E2E7F0;
    border-radius: 8px; color: #12203A; padding: 7px 10px 7px 32px; outline: none;
}
.pecb-rmap-search:focus { border-color: #C8102E; background: #fff; }

.pecb-rmap-flt-list { display: flex; flex-direction: column; gap: 3px; }
.pecb-rmap-flt {
    display: flex; align-items: center; justify-content: space-between;
    padding: 7px 9px; border-radius: 8px; border: 1.5px solid transparent;
    cursor: pointer; background: transparent;
    font-family: 'Poppins',sans-serif; width: 100%; text-align: left;
    transition: background .13s;
}
.pecb-rmap-flt:hover { background: #F2F4F8; }
.pecb-rmap-flt-l { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: #435070; }
.pecb-rmap-flt-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.pecb-rmap-flt-c { font-size: 10px; font-weight: 600; color: #8C97B0; background: #F2F4F8; padding: 1px 7px; border-radius: 20px; min-width: 22px; text-align: center; }

/* category on states */
#pecb-cat-list .pecb-rmap-flt[data-v="all"].on      { background: #12203A; }
#pecb-cat-list .pecb-rmap-flt[data-v="Software"].on { background: #F0F9FF; border-color: #BAE6FD; }
#pecb-cat-list .pecb-rmap-flt[data-v="Services"].on { background: #FFF7ED; border-color: #FED7AA; }
#pecb-cat-list .pecb-rmap-flt[data-v="Courses"].on  { background: #ECFDF5; border-color: #A7F3D0; }
/* status on states */
#pecb-stat-list .pecb-rmap-flt[data-v="all"].on      { background: #12203A; }
#pecb-stat-list .pecb-rmap-flt[data-v="Released"].on { background: #ECFDF5; border-color: #A7F3D0; }
#pecb-stat-list .pecb-rmap-flt[data-v="Upcoming"].on { background: #EFF6FF; border-color: #BFDBFE; }
#pecb-stat-list .pecb-rmap-flt[data-v="Planned"].on  { background: #F5F3FF; border-color: #DDD6FE; }

#pecb-cat-list .pecb-rmap-flt[data-v="all"].on .pecb-rmap-flt-l,
#pecb-stat-list .pecb-rmap-flt[data-v="all"].on .pecb-rmap-flt-l { color: #fff; }
#pecb-cat-list .pecb-rmap-flt[data-v="all"].on .pecb-rmap-flt-c,
#pecb-stat-list .pecb-rmap-flt[data-v="all"].on .pecb-rmap-flt-c { background: rgba(255,255,255,.2); color: #fff; }
.pecb-rmap-flt.on .pecb-rmap-flt-l { color: #12203A; }

.pecb-rmap-reset {
    display: block; width: 100%; padding: 11px;
    font-family: 'Poppins',sans-serif; font-size: 11px; font-weight: 600;
    color: #C8102E; background: transparent; border: none; cursor: pointer;
    text-align: center; transition: background .13s;
}
.pecb-rmap-reset:hover { background: #FEF0F2; }

/* ── MAIN ── */
.pecb-rmap-main {}
.pecb-rmap-main-top { display: flex; align-items: center; justify-content: flex-end; margin-bottom: 18px; }
.pecb-rmap-count { font-size: 12px; font-weight: 500; color: #8C97B0; }
.pecb-rmap-count strong { color: #12203A; font-weight: 700; }

/* ── 3 COLUMN GRID ── */
.pecb-rmap-grid {
    display: grid; grid-template-columns: repeat(3,1fr);
    gap: 16px; align-items: start;
}
.pecb-rmap-col-head {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px;
    border-radius: 12px 12px 0 0;
    border: 1px solid transparent; border-bottom: none;
}
.pecb-rmap-col[data-s="Released"] .pecb-rmap-col-head { background: #ECFDF5; border-color: #A7F3D0; }
.pecb-rmap-col[data-s="Upcoming"] .pecb-rmap-col-head { background: #EFF6FF; border-color: #BFDBFE; }
.pecb-rmap-col[data-s="Planned"]  .pecb-rmap-col-head { background: #F5F3FF; border-color: #DDD6FE; }

.pecb-rmap-col-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.pecb-rmap-col[data-s="Released"] .pecb-rmap-col-dot { background: #047857; }
.pecb-rmap-col[data-s="Upcoming"] .pecb-rmap-col-dot { background: #1D4ED8; }
.pecb-rmap-col[data-s="Planned"]  .pecb-rmap-col-dot { background: #6D28D9; }

.pecb-rmap-col-title { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; flex: 1; }
.pecb-rmap-col[data-s="Released"] .pecb-rmap-col-title { color: #047857; }
.pecb-rmap-col[data-s="Upcoming"] .pecb-rmap-col-title { color: #1D4ED8; }
.pecb-rmap-col[data-s="Planned"]  .pecb-rmap-col-title { color: #6D28D9; }

.pecb-rmap-col-count { font-size: 10px; font-weight: 700; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.pecb-rmap-col[data-s="Released"] .pecb-rmap-col-count { background: rgba(4,120,87,.13);   color: #047857; }
.pecb-rmap-col[data-s="Upcoming"] .pecb-rmap-col-count { background: rgba(29,78,216,.13);  color: #1D4ED8; }
.pecb-rmap-col[data-s="Planned"]  .pecb-rmap-col-count { background: rgba(109,40,217,.13); color: #6D28D9; }

.pecb-rmap-col-body {
    border: 1px solid; border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 10px; display: flex; flex-direction: column; gap: 10px; min-height: 60px;
}
.pecb-rmap-col[data-s="Released"] .pecb-rmap-col-body { border-color: #A7F3D0; background: rgba(236,253,245,.3); }
.pecb-rmap-col[data-s="Upcoming"] .pecb-rmap-col-body { border-color: #BFDBFE; background: rgba(239,246,255,.3); }
.pecb-rmap-col[data-s="Planned"]  .pecb-rmap-col-body { border-color: #DDD6FE; background: rgba(245,243,255,.3); }

/* ── CARD ── */
.pecb-rmap-card {
    background: #fff; border: 1px solid #E2E7F0;
    border-radius: 12px; padding: 14px 14px 12px;
    box-shadow: 0 1px 3px rgba(18,32,58,.07), 0 4px 14px rgba(18,32,58,.05);
    position: relative; overflow: hidden; cursor: default;
    transition: box-shadow .18s, transform .18s;
    animation: pecbFadeUp .28s ease both;
}
@keyframes pecbFadeUp { from{opacity:0;transform:translateY(7px)} to{opacity:1;transform:none} }
.pecb-rmap-card:hover { box-shadow: 0 4px 12px rgba(18,32,58,.10), 0 16px 36px rgba(18,32,58,.08); transform: translateY(-2px); }
.pecb-rmap-card.pecb-rmap-hidden { display: none; }

/* Left accent uses border-left driven by inline style on the card */
.pecb-rmap-card {
    border-left-width: 3px !important;
}
.pecb-rmap-card::before { display: none; }

.pecb-rmap-card-cat {
    font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    padding: 2px 7px; border-radius: 4px; border: 1px solid transparent;
    display: inline-block; margin-bottom: 7px;
}
/* Category chip colors are set dynamically via inline styles */

.pecb-rmap-card-title { font-size: 13px; font-weight: 700; color: #12203A; line-height: 1.35; margin-bottom: 5px; }
.pecb-rmap-card-desc  { font-size: 11.5px; color: #435070; line-height: 1.6; margin-bottom: 10px; }
.pecb-rmap-card-tags  { display: flex; gap: 4px; flex-wrap: wrap; }
.pecb-rmap-tag { font-size: 9px; font-weight: 500; color: #8C97B0; background: #F2F4F8; border: 1px solid #E2E7F0; border-radius: 4px; padding: 2px 6px; }

.pecb-rmap-col-empty { font-size: 11px; color: #8C97B0; text-align: center; padding: 16px 8px; display: none; }
.pecb-rmap-col-empty.show { display: block; }
.pecb-rmap-no-results { grid-column: 1/-1; text-align: center; padding: 60px 20px; font-size: 13px; color: #8C97B0; display: none; }
.pecb-rmap-no-results.show { display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
    .pecb-rmap-body { grid-template-columns: 1fr; padding: 20px 24px 48px; gap: 16px; }
    .pecb-rmap-sidebar { position: static; }
    .pecb-rmap-mob-toggle { display: flex; }
    .pecb-rmap-sidebar-inner { display: none; }
    .pecb-rmap-sidebar-inner.open { display: block; }
    .pecb-rmap-grid { grid-template-columns: 1fr; gap: 16px; }
    .pecb-rmap-col-head { border-radius: 12px; border-bottom: 1px solid transparent; cursor: pointer; }
    .pecb-rmap-col[data-s="Released"] .pecb-rmap-col-head { border-color: #A7F3D0; }
    .pecb-rmap-col[data-s="Upcoming"] .pecb-rmap-col-head { border-color: #BFDBFE; }
    .pecb-rmap-col[data-s="Planned"]  .pecb-rmap-col-head { border-color: #DDD6FE; }
    .pecb-rmap-col-head.open { border-radius: 12px 12px 0 0; border-bottom: none; }
    .pecb-rmap-col-body { display: none; }
    .pecb-rmap-col-body.open { display: flex; }
    .pecb-rmap-col-head::after { content: '▾'; margin-left: auto; font-size: 12px; color: #8C97B0; transition: transform .2s; }
    .pecb-rmap-col-head.open::after { transform: rotate(180deg); }
}
@media (max-width: 640px) {
    .pecb-rmap-hero { padding: 80px 20px 28px; }
    .pecb-rmap-hero-inner { flex-direction: column; align-items: flex-start; }
    .pecb-rmap-body { padding: 16px 16px 40px; }
    .pecb-rmap-flt-list { flex-direction: row; flex-wrap: wrap; gap: 5px; }
    .pecb-rmap-flt { width: auto; padding: 5px 10px; }
    .pecb-rmap-flt-c { display: none; }
}
