/* MarineCraft News Desk — brand-matched frontend (spec §7 tokens) */

/* ---------- page intro (optional block above the shortcode) ---------- */
.mcnd-intro { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: 17px; line-height: 1.65; color: #4a4440; border-left: 3px solid #0b3d6e; padding-left: 1.2rem; margin: 0 0 1.75rem; max-width: 46em; }
.mcnd-intro strong { color: #0b3d6e; font-style: normal; }

/* ---------- feed grid ---------- */
.mcnd-feed { display: grid; gap: 22px; margin: 1.5rem 0; }
.mcnd-cards { grid-template-columns: repeat(var(--mcnd-cols, 2), 1fr); }
.mcnd-list { grid-template-columns: 1fr; }
@media (max-width: 700px) { .mcnd-cards { grid-template-columns: 1fr; } }

/* ---------- card ---------- */
.mcnd-card { background: #fff; border: 1px solid rgba(11,61,110,.15); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s ease, background .15s ease; }
.mcnd-card:hover { background: #f0f5fa; box-shadow: 0 2px 10px rgba(11,61,110,.12); }
.mcnd-card-media img { display: block; width: 100%; height: 180px; object-fit: cover; }
.mcnd-card-placeholder { display: flex; align-items: center; justify-content: center; height: 120px; background: linear-gradient(135deg, #0b3d6e 0%, #14538e 100%); }
.mcnd-card-placeholder span { font-family: Georgia, serif; font-weight: 700; font-size: 1.3rem; color: #fff; }
.mcnd-card-placeholder span span { color: #7ec8e3; }
.mcnd-card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .55rem; }
.mcnd-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mcnd-badge { font-family: sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #b8290e; background: #f5ece9; padding: 3px 9px; border-radius: 2px; }
.mcnd-card-date { font-family: sans-serif; font-size: 14px; color: #8a8078; }
.mcnd-card-title { font-family: Georgia, 'Times New Roman', serif; font-size: 1.35rem; line-height: 1.32; margin: 0; }
.mcnd-card-title a { color: #0b3d6e; text-decoration: none; }
.mcnd-card-title a:hover { text-decoration: underline; }
.mcnd-card-excerpt { font-family: sans-serif; font-size: 14px; line-height: 1.55; color: #4a4440; margin: 0; }
.mcnd-readmore { font-family: sans-serif; font-size: 13px; font-weight: 700; color: #b8290e; text-decoration: none; margin-top: auto; }
.mcnd-readmore:hover { text-decoration: underline; }
.mcnd-empty { font-family: sans-serif; color: #8a8078; }

/* ---------- list layout variant ---------- */
.mcnd-list .mcnd-card { flex-direction: row; }
.mcnd-list .mcnd-card-media img, .mcnd-list .mcnd-card-placeholder { width: 200px; height: 100%; min-height: 130px; }
@media (max-width: 700px) { .mcnd-list .mcnd-card { flex-direction: column; } .mcnd-list .mcnd-card-media img { width: 100%; } }

/* ---------- single news post body (.mcnd-post, spec §7) ---------- */
.mcnd-post { font-family: Georgia, 'Times New Roman', serif; line-height: 1.75; color: #1a1614; }
.mcnd-pub-header { display: flex; align-items: center; gap: 10px; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(26,22,20,.12); }
.mcnd-pub-logo { font-family: Georgia, serif; font-size: 1rem; font-weight: 700; color: #0b3d6e; }
.mcnd-pub-logo span { color: #b8290e; }
.mcnd-pub-divider { color: rgba(26,22,20,.25); }
.mcnd-section-label { font-family: sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #b8290e; background: #f5ece9; padding: 3px 9px; border-radius: 2px; }
.mcnd-deck { font-style: italic; font-size: 16px; color: #4a4440; line-height: 1.65; border-left: 3px solid #b8290e; padding-left: 1.2rem; margin: 0 0 1.25rem; }
.mcnd-meta { font-family: sans-serif; font-size: 14px; color: #8a8078; margin: 0 0 1.5rem; }
.mcnd-meta strong { color: #0b3d6e; }
.mcnd-attribution { border: 1px solid rgba(11,61,110,.2); border-left: 4px solid #0b3d6e; border-radius: 0 4px 4px 0; background: #f0f5fa; padding: 1.1rem 1.2rem; margin: 1.5rem 0; }
.mcnd-attribution p { font-family: sans-serif; font-size: 14px; color: #4a4440; margin: 0 0 .7rem; }
.mcnd-outlink { display: inline-block; font-family: sans-serif; font-size: 14px; font-weight: 700; color: #fff; background: #0b3d6e; padding: .55rem 1rem; border-radius: 3px; text-decoration: none; }
.mcnd-outlink:hover { background: #b8290e; color: #fff; }
.mcnd-sources { font-family: sans-serif; font-size: 13px; color: #8a8078; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(26,22,20,.08); }
.mcnd-sources strong { color: #4a4440; }

/* ---------- AI brief + full-text bodies (v1.1.0) ---------- */
.mcnd-brief-p { font-family: Georgia, 'Times New Roman', serif; font-size: 17px; line-height: 1.75; color: #1a1614; margin: 0 0 1.2rem; }
.mcnd-fulltext { font-family: Georgia, 'Times New Roman', serif; font-size: 17px; line-height: 1.75; color: #1a1614; }
.mcnd-fulltext p { margin: 0 0 1.2rem; }
.mcnd-fulltext img { max-width: 100%; height: auto; }
.mcnd-fulltext h2, .mcnd-fulltext h3 { font-family: Georgia, serif; color: #0b3d6e; margin: 1.75rem 0 .6rem; }
