/* World Assessment Council: the offer to edtech companies and startups (_deploy/tools/company_offer.py).
   Used on /edtech-directory/ (#featured-listing) and /join/ (#companies). */
.co-section { --co-ink: #0a1628; --co-blue: #2563eb; --co-blue-d: #1d4ed8; --co-muted: #5b6577; --co-line: #e3e8ef; --co-soft: #f6f8fb; }
.page-news section.co-section.alt { background: var(--co-soft); }
.co-kicker { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--co-blue); margin-bottom: 0.5rem; }
.page-news .post-content .co-h2, .co-h2 { font-family: var(--wn-font, inherit); font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.9rem; color: var(--co-ink); text-transform: none; }
.page-news .post-content p.co-lede, p.co-lede { font-size: 1.08rem; line-height: 1.6; color: #334155; margin: 0 0 1.4rem; max-width: 38em; }

/* head: text + example cards */
.co-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; align-items: center; margin-bottom: 2.5rem; }
.co-why { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.co-why li { margin: 0; padding: 0 0 0 1rem; border-left: 3px solid var(--co-blue); }
.co-why b { display: block; color: var(--co-ink); font-size: 1rem; }
.co-why span { color: var(--co-muted); font-size: 0.92rem; }
.co-preview { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 1rem; align-items: end; }
.co-ex-label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--co-muted); margin-bottom: 0.4rem; }
.co-card { padding: 1rem; border-radius: 14px; background: #fff; border: 1px solid var(--co-line); }
.co-card.is-member { border: 2px solid var(--co-blue); box-shadow: 0 18px 40px rgba(37, 99, 235, 0.16); }
.co-badges { display: flex; gap: 0.35rem; margin-bottom: 0.55rem; }
.co-badges span { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.18rem 0.45rem; border-radius: 6px; background: #eef3fb; color: #1a4b8c; }
.co-badges span.m { background: var(--co-blue); color: #fff; }
.co-card-top { display: flex; gap: 0.7rem; align-items: center; margin-bottom: 0.5rem; }
.co-logo { flex: none; width: 46px; height: 46px; border-radius: 10px; background: linear-gradient(135deg, #dbe6fb, #b9cdf5); color: #1a4b8c; font-size: 0.66rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.page-news .post-content .co-card h4, .co-card h4 { font-size: 1.02rem; font-weight: 800; margin: 0; color: var(--co-ink); text-transform: none; }
.page-news .post-content p.co-meta, p.co-meta { font-size: 0.78rem; color: var(--co-muted); margin: 0.15rem 0 0.45rem; }
.page-news .post-content p.co-desc, p.co-desc { font-size: 0.85rem; line-height: 1.45; color: #1f2937; margin: 0 0 0.6rem; }
.co-cats, .co-prods { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem; }
.co-cats li, .co-prods li { margin: 0; font-size: 0.7rem; padding: 0.15rem 0.5rem; border-radius: 999px; border: 1px solid var(--co-line); color: var(--co-muted); }
.co-prods li { background: #eef3fb; border-color: #d6e2f7; color: #1a4b8c; font-weight: 600; }
.page-news .post-content p.co-contact, p.co-contact { margin: 0.6rem 0 0; font-size: 0.76rem; font-weight: 700; color: var(--co-blue); }
.page-news .post-content p.co-latest, p.co-latest { margin: 0.5rem 0 0; padding-top: 0.5rem; border-top: 1px solid var(--co-line); font-size: 0.76rem; color: var(--co-muted); }
.page-news .post-content p.co-ex-note, p.co-ex-note { grid-column: 1 / -1; margin: 0.2rem 0 0; font-size: 0.78rem; color: var(--co-muted); font-style: italic; }

/* the three plans */
.co-plans { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.25rem; align-items: stretch; }
.co-plan { position: relative; display: flex; flex-direction: column; padding: 1.6rem 1.5rem; border-radius: 18px; background: #fff; border: 1px solid var(--co-line); }
.co-plan.co-main { border: 2px solid var(--co-blue); box-shadow: 0 24px 50px rgba(37, 99, 235, 0.16); }
.co-flag { position: absolute; top: -0.8rem; left: 1.5rem; padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--co-blue); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.co-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--co-blue); }
.page-news .post-content .co-plan h3, .co-plan h3 { font-size: 1.4rem; font-weight: 800; line-height: 1.2; margin: 0.35rem 0 0.35rem; color: var(--co-ink); text-transform: none; }
.page-news .post-content p.co-who, p.co-who { font-size: 0.92rem; line-height: 1.45; color: var(--co-muted); margin: 0 0 1rem; }
.page-news .post-content p.co-price, p.co-price { margin: 0; display: flex; align-items: baseline; gap: 0.4rem; }
.co-price b { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.02em; color: var(--co-ink); line-height: 1; }
.co-price span { color: var(--co-muted); font-size: 0.92rem; }
.page-news .post-content p.co-price-note, p.co-price-note { font-size: 0.84rem; line-height: 1.5; color: var(--co-muted); margin: 0.5rem 0 1.1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--co-line); }
.co-price-note b { color: #0f5132; background: #e7f6ee; padding: 0.05rem 0.35rem; border-radius: 5px; }
.page-news .post-content p.co-lead, p.co-lead { font-weight: 700; font-size: 0.92rem; margin: 0 0 0.6rem; color: var(--co-ink); }
.co-plan ul { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 0.6rem; flex: 1; align-content: start; }
.co-plan li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 0.55rem; margin: 0; font-size: 0.92rem; line-height: 1.45; color: #1f2937; }
.co-plan li svg { width: 18px; height: 18px; color: var(--co-blue); margin-top: 0.1rem; }
.co-plan li b { color: var(--co-ink); }
.co-plan .news-btn { align-self: flex-start; }
.page-news .co-plan .news-btn.ghost { background: #fff; color: var(--co-blue) !important; border: 1.5px solid var(--co-blue); }
.page-news .co-plan .news-btn.ghost:hover { background: #eef3fb; }

/* add-ons */
.co-addons { margin-top: 2rem; padding: 1.5rem; border-radius: 18px; background: #fff; border: 1px solid var(--co-line); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 2rem; }
.page-news .post-content .co-addons h3, .co-addons h3 { font-size: 1.2rem; font-weight: 800; margin: 0 0 0.4rem; color: var(--co-ink); text-transform: none; }
.page-news .post-content .co-addons-head p, .co-addons-head p { font-size: 0.9rem; line-height: 1.5; color: var(--co-muted); margin: 0; }
.page-news .co-addons-head a { color: var(--co-blue); font-weight: 700; text-decoration: underline; }
.co-addons ul { list-style: none; margin: 0; padding: 0; }
.co-addons li { display: grid; grid-template-columns: minmax(0, 1fr) 90px 90px; gap: 1rem; align-items: center; margin: 0; padding: 0.65rem 0; border-bottom: 1px solid var(--co-line); }
.co-addons li:last-child { border-bottom: 0; }
.co-addons li b { display: block; color: var(--co-ink); font-size: 0.95rem; }
.co-addons li div span { font-size: 0.82rem; color: var(--co-muted); }
.page-news .post-content .co-addons li p, .co-addons li p { margin: 0; text-align: right; line-height: 1.2; }
.co-addons li p b { font-size: 0.95rem; }
.co-addons li p small { display: block; font-size: 0.7rem; color: var(--co-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.co-addons li p:nth-child(3) b { color: var(--co-muted); font-weight: 600; }

/* founding strip */
.co-founding { margin-top: 1.25rem; padding: 1.1rem 1.4rem; border-radius: 14px; background: #0a1628; color: #dbe6fb; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.page-news .post-content .co-founding p, .co-founding p { margin: 0; font-size: 0.95rem; line-height: 1.5; color: #dbe6fb; }
.co-founding p b { color: #fbbf24; }
.page-news .co-founding .news-btn { flex: none; background: #fff; color: #0a1628 !important; }
.co-founding .news-btn svg { width: 16px; height: 16px; margin-left: 0.3rem; vertical-align: -3px; }

/* compare */
.co-compare { margin-top: 2rem; }
.page-news .post-content .co-compare h3, .co-compare h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 0.8rem; color: var(--co-ink); text-transform: none; }
.co-table table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--co-line); font-size: 0.92rem; }
.co-table th, .co-table td { padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--co-line); text-align: left; }
.co-table thead th { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--co-muted); background: #fbfcfe; }
.co-table td, .co-table thead th:nth-child(n+2) { text-align: center; width: 18%; }
.page-news .co-table tbody th, .co-table tbody th { font-weight: 500; color: #1f2937; text-transform: none; letter-spacing: 0; font-size: 0.92rem; }
.co-yes { display: inline-flex; color: var(--co-blue); }
.co-yes svg { width: 18px; height: 18px; }
.co-yes i { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.co-no { color: #a0aab8; }

/* strip above the directory listings */
.co-strip { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; margin: 0 0 1.2rem; padding: 0.9rem 1.1rem; border-radius: 14px; background: linear-gradient(90deg, #eef3fb, #f6f8fb); border: 1px solid #d6e2f7; }
.page-news .post-content .co-strip p, .co-strip p { margin: 0; font-size: 0.92rem; line-height: 1.5; color: #1f2937; }
.co-strip > div { display: flex; gap: 0.5rem; flex: none; }
.page-news .co-strip .news-btn { padding: 0.55rem 1rem; font-size: 0.88rem; }
.page-news .co-strip .news-btn.ghost { background: #fff; color: #2563eb !important; border: 1px solid #2563eb; }

@media (max-width: 1100px) {
  .co-head { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .co-plans { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .co-plan.co-main { order: -1; }
  .co-addons { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .co-strip { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .co-preview { grid-template-columns: minmax(0, 1fr); }
  .co-addons li { grid-template-columns: minmax(0, 1fr) 70px 70px; gap: 0.5rem; }
  .co-founding { flex-direction: column; align-items: flex-start; }
  .co-strip > div { flex-wrap: wrap; }
  .co-table { overflow-x: auto; }
}

/* ---------- directory: cards of organizations with a full profile, and the profile pages (/edtech-directory/<id>/) ---------- */
.dir-prods { list-style: none; margin: 0.7rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem; }
.dir-prods li { margin: 0; font-size: 0.74rem; font-weight: 600; padding: 0.18rem 0.55rem; border-radius: 6px; background: #f1f4f9; color: #334155; }
.page-news a.dir-profile { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.8rem; font-size: 0.86rem; font-weight: 700; color: #2563eb; }
.page-news a.dir-profile::after { content: "→"; }
.pf-top { display: flex; gap: 1.25rem; align-items: center; }
.pf-logo { flex: none; width: 84px; height: 84px; border-radius: 18px; background: #fff; color: #0a1628; font-size: 1.9rem; font-weight: 800; display: flex; align-items: center; justify-content: center; letter-spacing: -0.02em; }
.pf-badges { display: flex; gap: 0.4rem; margin-bottom: 0.5rem; }
.pf-badges span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 6px; background: rgba(255, 255, 255, 0.14); color: #fff; }
.pf-badges span.t { background: #fff4d6; color: #8a5a00; }
.pf-badges span.m { background: #2563eb; }
.pf-hero .news-title { margin: 0 0 0.4rem; }
.pf-hero .news-btn svg { width: 14px; height: 14px; margin-left: 0.35rem; vertical-align: -2px; }
.pf-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
.page-news .post-content .pf-h2, .pf-h2 { font-size: 1.35rem; font-weight: 800; margin: 2.2rem 0 0.8rem; color: #0a1628; text-transform: none; letter-spacing: -0.01em; }
.pf-main > .pf-h2:first-child { margin-top: 0; }
.page-news .post-content p.pf-about, p.pf-about { font-size: 1.08rem; line-height: 1.7; color: #1f2937; margin: 0; }
.page-news .post-content p.pf-note, p.pf-note { margin: 1rem 0 0; padding: 0.7rem 0.9rem; border-radius: 10px; background: #f6f8fb; border: 1px solid #e3e8ef; font-size: 0.9rem; color: #475569; }
.pf-prods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.pf-prods li { margin: 0; padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid #e3e8ef; background: #fff; }
.page-news .post-content .pf-prods h3, .pf-prods h3 { font-size: 1.02rem; font-weight: 800; margin: 0 0 0.3rem; color: #0a1628; text-transform: none; }
.page-news .post-content .pf-prods p, .pf-prods p { margin: 0; font-size: 0.92rem; line-height: 1.5; color: #475569; }
.pf-serves { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pf-serves li { margin: 0; padding: 0.45rem 0.9rem; border-radius: 999px; background: #eef3fb; color: #1a4b8c; font-weight: 600; font-size: 0.9rem; }
.pf-news { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e3e8ef; }
.pf-news li { margin: 0; border-bottom: 1px solid #e3e8ef; }
.page-news .pf-news a { display: block; padding: 0.8rem 0; color: #0a1628; font-weight: 700; line-height: 1.4; }
.page-news .pf-news a:hover { color: #2563eb; }
.pf-news span { display: block; font-size: 0.78rem; font-weight: 600; color: #64748b; margin-bottom: 0.2rem; }
.page-news .post-content p.pf-how, p.pf-how { margin: 2.2rem 0 0; font-size: 0.85rem; color: #64748b; line-height: 1.6; }
.pf-aside { position: sticky; top: 96px; }
.pf-box { padding: 1.3rem; border-radius: 16px; border: 1px solid #e3e8ef; background: #fff; box-shadow: 0 12px 30px rgba(16, 38, 73, 0.06); }
.page-news .post-content .pf-box h2, .pf-box h2 { font-size: 1rem; font-weight: 800; margin: 0 0 0.8rem; color: #0a1628; text-transform: none; }
.page-news .post-content .pf-box h3, .pf-box h3 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #64748b; margin: 1.2rem 0 0.5rem; }
.pf-box dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.45rem 1rem; margin: 0 0 1rem; font-size: 0.9rem; }
.pf-box dt { color: #64748b; margin: 0; }
.pf-box dd { margin: 0; font-weight: 600; color: #0a1628; }
.pf-links { list-style: none; margin: 0; padding: 0; }
.pf-links li { margin: 0; border-top: 1px solid #eef1f5; }
.page-news .pf-links a { display: flex; justify-content: space-between; align-items: center; padding: 0.55rem 0; font-weight: 600; color: #2563eb; font-size: 0.92rem; }
.pf-links svg { width: 14px; height: 14px; }
.pf-cta { margin-top: 0; }
.page-news .post-content p.pf-back, p.pf-back { margin: 1.5rem 0 0; font-weight: 600; }
@media (max-width: 900px) {
  .pf-wrap { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .pf-aside { position: static; }
  .pf-prods { grid-template-columns: minmax(0, 1fr); }
  .pf-logo { width: 64px; height: 64px; font-size: 1.4rem; border-radius: 14px; }
}
/* logos (directory cards and profile pages) */
.dir-logo { display: block; width: 52px; height: 52px; border-radius: 12px; border: 1px solid #e3e8ef; object-fit: cover; margin: 0 0 0.6rem; background: #fff; }
img.pf-logo-img { display: block; object-fit: cover; padding: 0; border: 0; }
