/* os-author-posts: byline row, share, author box, more from this author, profile Articles section, join page, Premium label. */
.os-ap-byline{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px;color:#3b4452;margin:0 0 1.4em}
.os-ap-byline img{width:32px;height:32px;border-radius:50%;display:block}
.os-ap-byline__name{font-weight:600}
.os-ap-byline a{color:#026b7f}
.os-ap-byline__date{color:#5b6270}
/* The byline row carries the date, so the theme's own date is hidden, but only on a page that has the byline row. */
.single-post:has(.os-ap-byline) .entry-header .posted-on,.single-post:has(.os-ap-bar) .entry-header .posted-on{display:none}
/* Trainer posts: no "Posted in" line (the parent theme prints it, usually Uncategorized) */
.single-post:has(.os-ap-bar) .entry-meta .cat-links{display:none}
.os-ap-share{margin:24px 0}
.os-ap-share .os-ap-btn{cursor:pointer}
.os-ap-more-from{margin:28px 0}
.os-ap-more-from h2{font-size:18px;margin:0 0 8px}
.os-ap-btn{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:8px;border:1px solid #026b7f;color:#026b7f;font-weight:600;text-decoration:none;background:#fff}
.os-ap-btn--primary{background:#026b7f;color:#fff;cursor:pointer}
.os-ap-card-by{font-size:14px;color:#3b4452;margin:0 0 6px}
.os-ap-more{display:inline-flex;align-items:center;min-height:44px;margin-top:8px;font-weight:600}
.os-ap-join{max-width:640px;margin:40px auto;padding:0 16px}
/* The Premium label (premium.php, os_ap_premium_label()) on the byline, /blog/ cards and More from this author. premium.css carries the same two rules for single premium posts. */
.os-ap-label{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:999px;background:#ede9fe;color:#6d28d9;font-size:12px;font-weight:700;line-height:1.5;vertical-align:middle}
[data-tutor-theme="dark"] .os-ap-label{background:rgba(196,181,253,.14);color:#c4b5fd}
/* The byline row spaces its items itself; the two lists style every span as their date. */
.os-ap-byline .os-ap-label{margin-left:0}
.os-ap-more-from .os-ap-label{font-size:12px;color:#6d28d9;opacity:1}
[data-tutor-theme="dark"] .os-ap-more-from .os-ap-label{color:#c4b5fd}
/* Profile bar under the title of a trainer's post */
.os-ap-bar{display:flex;align-items:center;gap:14px 16px;flex-wrap:wrap;margin:0 0 1.6em;padding:14px 16px;border:1px solid #dde2e8;border-radius:14px;background:linear-gradient(180deg,#f9fbfc,#f1f5f7)}
.os-ap-bar__pic{flex:none;display:block;line-height:0}
.os-ap-bar__pic img{width:56px;height:56px;border-radius:50%;display:block;box-shadow:0 0 0 3px #fff,0 0 0 4px #dde2e8}
.os-ap-bar__who{flex:1 1 180px;min-width:0}
.os-ap-bar__name{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:17px;font-weight:700;line-height:1.3}
.os-ap-bar__name a{color:#16202b;text-decoration:none}
.os-ap-bar__meta{display:flex;flex-wrap:wrap;gap:2px 10px;font-size:13px;color:#4a5663;margin-top:2px}
.os-ap-bar__meta span:before{content:"\00b7";margin-right:10px}
.os-ap-bar__act{display:flex;gap:8px;flex-wrap:wrap}
.os-ap-chip{display:inline-block;padding:2px 8px;border-radius:999px;background:#e0f2f5;color:#025a6b;font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;line-height:1.5}
.os-ap-btn--ghost{border-color:#cfd6de;color:#16202b}
.os-ap-btn--solid{background:#026b7f;color:#fff}
@media (max-width:560px){.os-ap-bar__act{width:100%}.os-ap-bar__act .os-ap-btn{flex:1;justify-content:center}}
/* Author card at the end of a trainer's post */
.os-ap-author{display:flex;gap:18px;align-items:flex-start;margin:32px 0;padding:22px;border-radius:16px;background:#0e2a33;color:#fff;font-size:15px;line-height:1.55}
.os-ap-author__pic{flex:none}
.os-ap-author__pic img{width:76px;height:76px;border-radius:50%;display:block}
.os-ap-author__body{flex:1;min-width:0}
.os-ap-author__label{font-size:12px;color:#9cc3cc;text-transform:uppercase;letter-spacing:.06em}
.os-ap-author__name{font-weight:700;font-size:20px;color:#fff}
.os-ap-author__bio{color:#d3e6ea;margin:4px 0 12px}
.os-ap-author__links{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}
.os-ap-author .os-ap-btn{background:transparent;border-color:#6aa6b3;color:#fff}
.os-ap-author .os-ap-btn--solid{background:#fff;border-color:#fff;color:#0e2a33}
@media (max-width:560px){.os-ap-author{flex-direction:column;padding:18px}}
/* More from this author: the divider list (staff posts), cards on a trainer post */
.os-ap-more-from ul{list-style:none;margin:0;padding:0}
.os-ap-more-from li{padding:10px 0;border-top:1px solid #e2e5ea}
.os-ap-more-from a{display:block;font-weight:600;text-decoration:none}
.os-ap-more-from span{font-size:13px;color:#5b6270}
.single-post:has(.os-ap-bar) .os-ap-more-from ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.single-post:has(.os-ap-bar) .os-ap-more-from li{padding:12px 14px;border:1px solid #dde2e8;border-radius:10px}
.single-post:has(.os-ap-bar) .os-ap-more-from span{color:#4a5663}
@media (max-width:560px){.single-post:has(.os-ap-bar) .os-ap-more-from ul{grid-template-columns:1fr}}
/* Trainer profile Articles section (UX review PA, DEV-593): /blog/ cards from hub.css with the hub's tokens, a stats row, topic chips and a closing band. Card columns follow the section's own width; the phone rules follow the screen. The public profile has no dark mode (data-tutor-theme is on dashboards only). */
.os-p-posts{container-type:inline-size;--os-hub-blue:#2f62af;--os-hub-text:#1e293b;--os-hub-muted:#64748b;--os-hub-line:#e5e7eb;--os-hub-shadow:0 1px 3px rgba(15,23,42,.06);--os-hub-shadow-lg:0 6px 24px rgba(15,23,42,.10)}
.os-p-posts .os-ap-pa-sub{margin:2px 0 0;color:#64748b;font-size:14px} /* beats the profile's .os-p-section > p */
.os-ap-pa-stats{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:10px;margin:14px 0}
.os-ap-pa-stat{border:1px solid #e5e7eb;border-radius:12px;padding:12px 14px;background:linear-gradient(180deg,#f8fafc,#f1f5f9)}
.os-ap-pa-stat .v{display:block;font-size:26px;font-weight:800;line-height:1.1;color:#2f62af;font-variant-numeric:tabular-nums}
.os-ap-pa-stat .l{display:block;margin-top:4px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#64748b}
.os-ap-pa-topics{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.os-p-posts .os-ap-pa-chip{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;border-radius:999px;border:1px solid #dbe3ef;background:#fff;color:#1e293b;font-size:13px;font-weight:600;text-decoration:none}
.os-p-posts a.os-ap-pa-chip:hover{border-color:#2f62af;text-decoration:none}
.os-ap-pa-chip b{color:#2f62af}
.os-p-posts .os-ap-pa-chip--more{color:#64748b}
.os-p-posts .os-ap-pa-chip.os-ap-pa-narrow{display:none}
.os-p-posts .os-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.os-p-posts .os-hub-card__title{margin:0;font-size:17px;font-weight:600;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.os-p-posts .os-hub-card__title a{color:var(--os-hub-text);text-decoration:none}
.os-p-posts .os-hub-card__topic,.os-p-posts .os-hub-card__more{color:var(--os-hub-blue)}
.os-ap-pa-band{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 24px;margin:20px 0 0;padding:22px 24px;border-radius:14px;color:#fff;background:radial-gradient(600px 240px at 90% -20%,rgba(252,185,0,.28),transparent 60%),linear-gradient(135deg,#0f2347,#1d3f7a)}
.os-ap-pa-band h3{margin:0;color:#fff;font-size:20px;line-height:1.25}
.os-ap-pa-band p{margin:4px 0 0;max-width:52ch;color:#dbe6fb;font-size:14px}
.os-ap-pa-band__act{display:flex;flex-wrap:wrap;gap:10px}
.os-p-posts .os-ap-pa-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:999px;font-weight:800;text-decoration:none;white-space:nowrap}
.os-p-posts .os-ap-pa-btn:hover{text-decoration:none}
.os-p-posts .os-ap-pa-btn:focus-visible{outline:3px solid #fcb900;outline-offset:2px}
.os-p-posts .os-ap-pa-btn--gold{background:#fcb900;color:#1b1500}
.os-p-posts .os-ap-pa-btn--ghost{border:1px solid rgba(255,255,255,.6);color:#fff}
@container (max-width:760px){.os-p-posts .os-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (max-width:480px){.os-p-posts .os-hub-grid{grid-template-columns:1fr}}
@media (max-width:600px){
.os-p-posts .os-hub-card:nth-child(n+4){display:none}
.os-ap-pa-stats{gap:6px}
.os-ap-pa-stat{padding:10px 8px}
.os-ap-pa-stat .v{font-size:20px}
.os-ap-pa-stat .l{font-size:11px;letter-spacing:.03em}
.os-p-posts .os-ap-pa-chip:nth-child(n+4):not(.os-ap-pa-chip--more),.os-p-posts .os-ap-pa-chip.os-ap-pa-wide{display:none}
.os-p-posts .os-ap-pa-chip.os-ap-pa-narrow{display:inline-flex}
.os-ap-pa-band{padding:18px}
.os-ap-pa-band__act{flex-direction:column;width:100%}
.os-p-posts .os-ap-pa-btn{width:100%}
}
