/* =====================================================
   BLN Insights — Page-specific styles
   Loaded AFTER css/style.css. Inherits all design tokens.
   Used by: haberler.html, haberler-detay.html, admin.html
   ===================================================== */

/* ---------------------------------------------------
   Category filter nav (haberler.html)
   --------------------------------------------------- */
.cat-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem;
  padding: 2rem 0;
  max-width: 1180px;
  margin: 0 auto;
}
.cat-nav__btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  flex: 1 1 220px;
  max-width: 280px;
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  color: var(--text-secondary);
  padding: .95rem 1.1rem;
  min-height: 66px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--bg-white);
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease),
              background .2s var(--ease), transform .2s var(--ease),
              box-shadow .2s var(--ease);
}
.cat-nav__btn:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -10px rgba(26,54,34,.35);
}
.cat-nav__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.cat-nav__btn.active {
  background: var(--primary);
  color: var(--accent);
  border-color: var(--primary);
  box-shadow: 0 10px 28px -14px rgba(26,54,34,.55);
}
.cat-nav__freq {
  display: inline-block;
  font-size: .62rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: .35rem;
  padding: .15rem .55rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  white-space: nowrap;
}
.cat-nav__btn.active .cat-nav__freq {
  color: var(--accent);
  background: rgba(212,255,0,.12);
  border-color: rgba(212,255,0,.35);
}
@media (max-width: 768px) {
  .cat-nav { gap: .75rem; padding: 1.25rem 0; }
  .cat-nav__btn { flex: 1 1 calc(50% - .4rem); min-height: 58px; padding: .75rem .9rem; font-size: .74rem; }
}
@media (max-width: 480px) {
  .cat-nav__btn { flex: 1 1 100%; max-width: 100%; }
}

/* ---------------------------------------------------
   Featured article (haberler.html — pinned first post)
   --------------------------------------------------- */
.featured-article {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-white);
  transition: box-shadow .3s var(--ease);
}
.featured-article:hover { box-shadow: var(--shadow-md); }
.featured-article__img { position: relative; overflow: hidden; min-height: 320px; }
.featured-article__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.featured-article:hover .featured-article__img img { transform: scale(1.03); }
.featured-article__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,54,34,.5) 0%, rgba(26,54,34,.1) 100%);
  mix-blend-mode: multiply;
}
.featured-article__body {
  padding: 3rem;
  display: flex; flex-direction: column; justify-content: center;
}
.featured-article__cat { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.featured-article__body h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); line-height: 1.25; margin-bottom: 1rem; }
.featured-article__body h2 a { color: inherit; transition: color .2s; }
.featured-article__body h2 a:hover { color: var(--primary); }
.featured-article__excerpt { font-size: .9rem; line-height: 1.7; color: var(--text-secondary); margin-bottom: 1.5rem; }
.featured-article__meta { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.featured-article__author { display: flex; align-items: center; gap: .6rem; }
.featured-article__avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem; font-weight: 800;
}
.featured-article__author-name { font-size: .8rem; font-weight: 600; color: var(--text); }
.meta-dot { color: var(--border); }
.meta-item { font-size: .78rem; color: var(--text-muted); display: flex; align-items: center; gap: .3rem; }

/* ---------------------------------------------------
   Articles grid (3-up cards)
   --------------------------------------------------- */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.article-card {
  background: var(--bg-white); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.article-card__img { position: relative; height: 200px; overflow: hidden; background: var(--bg); }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.article-card:hover .article-card__img img { transform: scale(1.04); }
.article-card__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,54,34,.4) 0%, transparent 60%);
  mix-blend-mode: multiply;
}
.article-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.article-card__cat-row { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; flex-wrap: wrap; }
.article-card__title { font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: .65rem; }
.article-card__title a { color: inherit; transition: color .2s; }
.article-card__title a:hover { color: var(--primary); }
.article-card__excerpt { font-size: .84rem; line-height: 1.6; color: var(--text-secondary); margin-bottom: 1rem; flex: 1; }
.article-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: .75rem; border-top: 1px solid var(--border); gap: .5rem;
}
.article-card__read {
  font-size: .82rem; font-weight: 600; color: var(--primary);
  display: flex; align-items: center; gap: .3rem;
  transition: gap .2s var(--ease);
  white-space: nowrap;
}
.article-card__read:hover { gap: .5rem; }
.article-card__read:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* Empty / loading / error states for the dynamic grid */
.insight-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
  font-size: .92rem;
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.insight-state--error { color: #b34141; border-color: rgba(179,65,65,.35); background: rgba(179,65,65,.05); }
.insight-state__hint { font-size: .8rem; color: var(--text-muted); margin-top: .5rem; }

/* ---------------------------------------------------
   Premium reports (lead gate)
   --------------------------------------------------- */
.report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.report-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex; flex-direction: column;
}
.report-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.report-card__icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: rgba(26,54,34,.06); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; color: var(--primary);
}
.report-card__icon svg { width: 24px; height: 24px; }
.report-card h4 { font-size: .95rem; margin-bottom: .5rem; }
.report-card p { font-size: .82rem; line-height: 1.6; margin-bottom: 1.25rem; flex: 1; }
.report-card__format {
  display: inline-block; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--primary); background: rgba(26,54,34,.06);
  padding: .25rem .7rem; border-radius: var(--radius-pill); margin-bottom: 1rem;
}

/* ---------------------------------------------------
   Newsletter band
   --------------------------------------------------- */
.newsletter-band {
  background: var(--bg); border-radius: var(--radius);
  padding: 3rem; display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.newsletter-band h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.newsletter-band p { font-size: .88rem; color: var(--text-secondary); margin: 0; }
.newsletter-form { display: flex; gap: .5rem; flex-wrap: wrap; align-items: stretch; }
.newsletter-form input[type="email"] {
  padding: .75rem 1.1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-family: var(--font);
  font-size: .88rem; width: 280px; outline: none; transition: border-color .2s;
}
.newsletter-form input[type="email"]:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,54,34,.1);
}
.newsletter-form__consent {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .72rem; color: var(--text-muted); width: 100%; margin-top: .5rem;
  line-height: 1.5;
}
.newsletter-form__consent input[type="checkbox"] { margin-top: .15rem; flex-shrink: 0; }
.newsletter-form__consent a { color: var(--primary); font-weight: 600; text-decoration: underline; }
.newsletter-form__msg { width: 100%; font-size: .82rem; margin-top: .5rem; }
.newsletter-form__msg--ok { color: #3a8a3a; }
.newsletter-form__msg--err { color: #b34141; }

/* ---------------------------------------------------
   Detail page (haberler-detay.html)
   --------------------------------------------------- */
.insight-detail { max-width: 760px; margin: 0 auto; padding: 3rem 0; }
.insight-detail__header { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.insight-detail__cat-row { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.insight-detail__title { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; margin-bottom: 1rem; color: var(--text); font-weight: 800; }
.insight-detail__meta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: var(--text-muted); }
.insight-detail__meta strong { color: var(--text); font-weight: 600; }

.insight-detail__tldr {
  background: rgba(212,255,0,.12);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: .95rem; line-height: 1.7; color: var(--text);
}
.insight-detail__tldr-label {
  display: inline-block; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--primary); background: var(--accent);
  padding: .2rem .6rem; border-radius: var(--radius-pill);
  margin-bottom: .65rem;
}

.insight-detail__body {
  font-size: 1rem; line-height: 1.85; color: var(--text-secondary);
}
.insight-detail__body h2 {
  font-size: 1.5rem; margin: 2.5rem 0 1rem; color: var(--text);
  padding-top: 1rem; border-top: 1px solid var(--border-light);
}
.insight-detail__body h3 { font-size: 1.2rem; margin: 2rem 0 .75rem; color: var(--text); }
.insight-detail__body h4 { font-size: 1rem; margin: 1.5rem 0 .5rem; color: var(--text); font-weight: 700; }
.insight-detail__body p { margin-bottom: 1.25rem; }
.insight-detail__body ul,
.insight-detail__body ol { margin: 1rem 0 1.5rem 1.5rem; }
.insight-detail__body ul { list-style: disc; }
.insight-detail__body ol { list-style: decimal; }
.insight-detail__body li { margin-bottom: .5rem; }
.insight-detail__body blockquote {
  border-left: 3px solid var(--primary);
  padding: .5rem 0 .5rem 1.5rem;
  margin: 1.5rem 0;
  color: var(--text); font-style: italic;
}
.insight-detail__body code {
  background: var(--bg); padding: .15rem .4rem;
  border-radius: 4px; font-size: .9em;
  font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
}
.insight-detail__body pre {
  background: var(--primary-dark); color: var(--text-on-dark);
  padding: 1.25rem; border-radius: var(--radius-sm);
  overflow-x: auto; margin: 1.5rem 0; font-size: .85rem; line-height: 1.6;
}
.insight-detail__body pre code { background: none; padding: 0; color: inherit; }
.insight-detail__body a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.insight-detail__body a:hover { color: var(--primary-dark); }
.insight-detail__body table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0;
  font-size: .9rem;
}
.insight-detail__body th,
.insight-detail__body td { padding: .65rem .85rem; border-bottom: 1px solid var(--border); text-align: left; }
.insight-detail__body th { background: var(--bg); font-weight: 700; color: var(--text); }

/* Risks + Opportunities blocks */
.insight-detail__panels { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2.5rem 0; }
.insight-panel {
  border-radius: var(--radius); padding: 1.5rem;
  border: 1px solid var(--border); background: var(--bg-white);
}
.insight-panel__head {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border);
}
.insight-panel--risks .insight-panel__head { color: #b34141; }
.insight-panel--opps  .insight-panel__head { color: #2f7a4d; }
.insight-panel__list { display: flex; flex-direction: column; gap: 1rem; }
.insight-panel__item { font-size: .88rem; line-height: 1.6; }
.insight-panel__item strong { color: var(--text); font-weight: 700; display: block; margin-bottom: .25rem; }
.insight-panel__tags { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .35rem; }
.insight-panel__tag {
  font-size: .65rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
  padding: .12rem .55rem; border-radius: var(--radius-pill);
  background: var(--bg); color: var(--text-secondary); border: 1px solid var(--border);
}

/* Uncertainty callout */
.insight-detail__uncertainty {
  background: rgba(255,193,7,.1);
  border: 1px solid rgba(255,193,7,.4);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem; margin: 2rem 0;
  font-size: .88rem; line-height: 1.6; color: var(--text);
}
.insight-detail__uncertainty-label {
  display: inline-block; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: #856404; margin-bottom: .5rem;
}
.insight-detail__uncertainty ul { list-style: disc; margin-left: 1.5rem; }

/* Citations */
.insight-detail__citations { margin: 2.5rem 0; padding: 1.5rem; background: var(--bg); border-radius: var(--radius); }
.insight-detail__citations h3 { font-size: .95rem; margin-bottom: 1rem; color: var(--text); text-transform: uppercase; letter-spacing: .06em; }
.insight-detail__citations ol { list-style: decimal; margin-left: 1.5rem; font-size: .85rem; line-height: 1.6; }
.insight-detail__citations li { margin-bottom: .65rem; color: var(--text-secondary); }
.insight-detail__citations a { color: var(--primary); word-break: break-word; }

/* Source attribution + disclaimer */
.insight-detail__source {
  font-size: .82rem; color: var(--text-muted);
  margin: 1.5rem 0; padding: 1rem 1.25rem;
  background: var(--bg); border-radius: var(--radius-sm);
}
.insight-detail__source a { color: var(--primary); }
.insight-detail__disclaimer {
  font-size: .78rem; color: var(--text-muted);
  font-style: italic; line-height: 1.6;
  padding: 1rem 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light);
  margin: 2rem 0;
}

/* Related posts */
.insight-detail__related { margin: 3rem 0 2rem; }
.insight-detail__related-title {
  font-size: 1.15rem; margin-bottom: 1.25rem;
  padding-bottom: .5rem; border-bottom: 2px solid var(--primary);
  display: inline-block;
}

/* 404 / not-found state for detail page */
.insight-not-found {
  text-align: center; padding: 4rem 1.5rem;
  max-width: 600px; margin: 0 auto;
}
.insight-not-found h1 { font-size: 2rem; margin-bottom: 1rem; color: var(--text); }
.insight-not-found p { font-size: 1rem; color: var(--text-secondary); margin-bottom: 2rem; }

/* Detail page responsive */
@media (max-width: 768px) {
  .insight-detail__panels { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------
   Modal (lead-gate for premium reports + reject form)
   --------------------------------------------------- */
.insight-modal {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(18,30,20,.7);
  display: none; align-items: center; justify-content: center;
  padding: 1.5rem;
  animation: insight-modal-fade .2s ease;
}
.insight-modal.open { display: flex; }
@keyframes insight-modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.insight-modal__panel {
  background: var(--bg-white); border-radius: var(--radius);
  width: 100%; max-width: 500px; max-height: 90vh; overflow-y: auto;
  padding: 2rem; position: relative; box-shadow: var(--shadow-md);
}
.insight-modal__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text); cursor: pointer; font-size: 1.1rem;
  transition: background .2s;
}
.insight-modal__close:hover { background: var(--border); }
.insight-modal h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.insight-modal__lead { font-size: .85rem; color: var(--text-secondary); margin-bottom: 1.5rem; }
.insight-modal .form-group { margin-bottom: 1rem; }
.insight-modal label {
  display: block; font-size: .8rem; font-weight: 600;
  color: var(--text); margin-bottom: .35rem;
}
.insight-modal input[type="text"],
.insight-modal input[type="email"],
.insight-modal input[type="tel"],
.insight-modal select,
.insight-modal textarea {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: .88rem;
  color: var(--text); background: var(--bg-white);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.insight-modal input:focus,
.insight-modal select:focus,
.insight-modal textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,54,34,.1);
}
.insight-modal textarea { min-height: 100px; resize: vertical; }
.insight-modal__consent {
  display: flex; gap: .5rem; align-items: flex-start;
  font-size: .78rem; color: var(--text-muted); line-height: 1.5; margin-bottom: .75rem;
}
.insight-modal__consent input[type="checkbox"] { margin-top: .2rem; flex-shrink: 0; }
.insight-modal__consent a { color: var(--primary); font-weight: 600; text-decoration: underline; }
.insight-modal__actions { display: flex; gap: .5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.insight-modal__actions .btn { flex: 1; justify-content: center; }
.insight-modal__msg { font-size: .82rem; margin-top: .75rem; }
.insight-modal__msg--ok { color: #3a8a3a; }
.insight-modal__msg--err { color: #b34141; }

/* ---------------------------------------------------
   Admin panel (admin.html)
   --------------------------------------------------- */
.admin-gate {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--bg);
}
.admin-gate__panel {
  background: var(--bg-white); padding: 2.5rem;
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  max-width: 400px; width: 100%;
}
.admin-gate__panel h1 { font-size: 1.4rem; margin-bottom: .5rem; }
.admin-gate__panel p { font-size: .85rem; color: var(--text-secondary); margin-bottom: 1.5rem; }
.admin-gate__form { display: flex; flex-direction: column; gap: 1rem; }
.admin-gate__form input[type="password"] {
  padding: .85rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-family: var(--font); font-size: .95rem;
  outline: none;
}
.admin-gate__form input[type="password"]:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,54,34,.1);
}
.admin-gate__msg { font-size: .8rem; color: #b34141; min-height: 1em; }

.admin-shell { background: var(--bg); min-height: 100vh; padding: 0 0 4rem; }
.admin-header {
  background: var(--primary); color: var(--text-on-dark);
  padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; box-shadow: var(--shadow);
}
.admin-header h1 { color: var(--text-on-dark); font-size: 1.05rem; margin: 0; font-weight: 700; }
.admin-header__logout {
  background: none; border: 1px solid rgba(255,255,255,.3); color: var(--text-on-dark);
  padding: .5rem 1rem; border-radius: var(--radius-sm); font-size: .82rem;
  cursor: pointer; transition: background .2s;
}
.admin-header__logout:hover { background: rgba(255,255,255,.1); }

.admin-tabs {
  display: flex; gap: 0; border-bottom: 2px solid var(--border);
  background: var(--bg-white); padding: 0 1.5rem;
}
.admin-tab {
  background: none; border: none; padding: 1rem 1.25rem;
  font-family: var(--font); font-size: .88rem; font-weight: 600;
  color: var(--text-secondary); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: color .2s, border-color .2s;
  display: inline-flex; align-items: center; gap: .5rem;
}
.admin-tab:hover { color: var(--primary); }
.admin-tab.active { color: var(--primary); border-color: var(--primary); }
.admin-tab__count {
  background: var(--accent); color: var(--primary-dark);
  font-size: .68rem; font-weight: 700;
  padding: .1rem .5rem; border-radius: var(--radius-pill);
  min-width: 1.5rem; text-align: center;
}

.admin-list { padding: 1.5rem; max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.admin-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.admin-card__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: .75rem;
}
.admin-card__title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 0; }
.admin-card__meta {
  font-size: .78rem; color: var(--text-muted); display: flex; gap: .5rem; flex-wrap: wrap;
  align-items: center; margin-top: .35rem;
}
.admin-card__meta-tag {
  background: var(--bg); border: 1px solid var(--border);
  padding: .15rem .55rem; border-radius: var(--radius-pill);
  font-size: .7rem; font-weight: 600; color: var(--text);
}
.admin-card__summary { font-size: .88rem; color: var(--text-secondary); line-height: 1.6; margin: .75rem 0 1rem; }
.admin-card__warn {
  font-size: .78rem; color: #856404;
  background: rgba(255,193,7,.1); border-left: 3px solid #ffc107;
  padding: .5rem .75rem; margin: .75rem 0; border-radius: 0 4px 4px 0;
}
.admin-card__source {
  font-size: .75rem; color: var(--text-muted); margin: .5rem 0;
}
.admin-card__source a { color: var(--primary); word-break: break-word; }
.admin-card__actions { display: flex; gap: .5rem; flex-wrap: wrap; padding-top: 1rem; border-top: 1px solid var(--border-light); }
.admin-card__actions .btn { font-size: .82rem; padding: .55rem 1rem; }
.btn--danger {
  background: #b34141; color: var(--text-on-dark);
}
.btn--danger:hover { background: #952d2d; transform: translateY(-1px); }
.btn--success {
  background: #2f7a4d; color: var(--text-on-dark);
}
.btn--success:hover { background: #226137; transform: translateY(-1px); }

.admin-empty {
  text-align: center; padding: 4rem 1.5rem;
  color: var(--text-muted); font-size: .92rem;
}

/* Edit modal — reuses .insight-modal but wider */
.insight-modal__panel--wide { max-width: 720px; }
.insight-modal__panel--wide textarea[name="body_md"] {
  min-height: 320px; font-family: 'Menlo', 'Monaco', 'Courier New', monospace; font-size: .85rem;
}
.insight-modal__row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (max-width: 600px) {
  .insight-modal__row { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------
   Responsive — listing page
   --------------------------------------------------- */
@media (max-width: 1024px) {
  .featured-article { grid-template-columns: 1fr; }
  .featured-article__img { min-height: 240px; }
  .featured-article__body { padding: 2rem; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .report-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .articles-grid { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: 1fr; }
  .newsletter-band { flex-direction: column; text-align: center; padding: 2rem; }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-form input[type="email"] { width: 100%; }
}
