.mapleforge-brand,
.mapleforge-footer-logo {
  display: inline-block;
  color: #111111;
  font-family: "Raleway", sans-serif;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.mapleforge-brand:hover,
.mapleforge-footer-logo:hover {
  color: #ef1b48;
}

.classynav ul li a.active-source {
  color: #ef1b48;
}

.mapleforge-status {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 150px;
  padding-left: 24px;
  font-family: "Raleway", sans-serif;
  text-align: right;
  text-transform: uppercase;
}

.mapleforge-status span {
  color: #858585;
  font-size: 11px;
  font-weight: 700;
}

.mapleforge-status strong {
  color: #111111;
  font-size: 13px;
  font-weight: 900;
}

.single-blog-post .blog-thumbnail img {
  width: 100%;
  object-fit: cover;
}

.single-blog-post.style-1 .blog-thumbnail img {
  height: 100%;
}

.single-blog-post.style-2 .blog-thumbnail img {
  aspect-ratio: 16 / 10;
}

.single-blog-post.style-3 .blog-thumbnail img {
  aspect-ratio: 16 / 10;
}

.single-blog-post.style-4 .blog-thumbnail img {
  width: 120px;
  height: 90px;
}

.single-blog-post.style-1 .blog-content .post-title,
.single-blog-post.style-2 .blog-content .post-title,
.single-blog-post.style-3 .blog-content .post-title,
.single-blog-post.style-4 .blog-content .post-title {
  overflow-wrap: anywhere;
}

.mapleforge-summary {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 10px;
  color: #858585;
  font-size: 14px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.mapleforge-summary p {
  margin-bottom: 0;
}

.status-content {
  width: 100%;
  margin-left: 0 !important;
}

.source-card {
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 18px;
  padding-bottom: 18px;
}

.source-card a {
  display: block;
  color: #111111;
  font-size: 16px;
  font-weight: 800;
}

.source-card span {
  display: block;
  margin-top: 4px;
  color: #858585;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.article-inline-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.rss-body,
.rss-body p {
  color: #4c4c4c;
  font-size: 17px;
  line-height: 1.9;
}

.rss-body a {
  color: #ef1b48;
  text-decoration: underline;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.article-tags span {
  background: #f4f4f4;
  color: #111111;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  text-transform: uppercase;
}

.ai-masthead {
  background: #111111;
  color: #ffffff;
  padding: 90px 0 70px;
}

.ai-masthead .tag span {
  background: #ef1b48;
  color: #ffffff;
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  text-transform: uppercase;
}

.ai-masthead h1 {
  color: #ffffff;
  font-family: "Raleway", sans-serif;
  font-size: 46px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 12px 0 14px;
  text-transform: uppercase;
}

.ai-masthead p {
  color: #cfcfcf;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 0;
}

.ai-status-box {
  border-left: 4px solid #ef1b48;
  padding: 14px 0 14px 18px;
  text-align: left;
}

.ai-status-box span,
.ai-status-box strong {
  display: block;
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
}

.ai-status-box span {
  color: #cfcfcf;
  font-size: 12px;
  font-weight: 800;
}

.ai-status-box strong {
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
}

.ai-section {
  padding-top: 70px;
}

.ai-section-deck {
  color: #858585;
  font-size: 14px;
  margin: 8px 0 0;
}

.ai-api-link {
  color: #ef1b48;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-card .blog-thumbnail {
  position: relative;
}

.ai-score {
  background: #ef1b48;
  color: #ffffff;
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  font-weight: 900;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 10px;
  text-align: center;
  top: 10px;
  width: 44px;
}

.ai-rationale {
  color: #666666;
  font-size: 14px;
  line-height: 1.7;
  margin-top: 10px;
}

.personal-flag {
  background: #111111;
  color: #ffffff;
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  margin-top: 10px;
  padding: 4px 8px;
  text-transform: uppercase;
}

.ai-empty {
  border-top: 4px solid #111111;
  padding: 24px 0;
}

.ai-empty strong,
.ai-empty span {
  display: block;
}

.ai-empty strong {
  color: #111111;
  font-size: 18px;
  font-weight: 900;
}

.ai-empty span {
  color: #858585;
  margin-top: 6px;
}

.brief-block {
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 54px;
  padding-bottom: 32px;
}

.brief-row .blog-content {
  padding-left: 18px;
}

.cluster-card,
.busy-summary,
.ai-article-panel,
.admin-panel {
  border-top: 4px solid #111111;
  margin-bottom: 30px;
  padding: 22px 0 0;
}

.cluster-card h4,
.busy-summary h4,
.ai-article-panel h4,
.admin-panel h4 {
  color: #111111;
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.cluster-card span {
  color: #858585;
  display: block;
  font-size: 12px;
  margin-bottom: 12px;
}

.cluster-card a {
  border-bottom: 1px solid #eeeeee;
  color: #111111;
  display: block;
  font-weight: 800;
  padding: 10px 0;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.mini-action,
.search-panel button,
.admin-panel button {
  background: #111111;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  font-weight: 900;
  min-height: 38px;
  padding: 9px 14px;
  text-transform: uppercase;
}

.mini-action.danger {
  background: #ef1b48;
}

.busy-summary strong {
  color: #111111;
  display: block;
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.busy-summary p,
.ai-article-panel p {
  color: #555555;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.busy-summary span {
  color: #111111;
  font-weight: 900;
}

.signal-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  margin: 14px 0;
}

.signal-grid span {
  background: #f4f4f4;
  color: #111111;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
  text-transform: uppercase;
}

.search-panel {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(180px, 2fr) repeat(3, minmax(130px, 1fr)) auto;
  margin-top: 28px;
}

.search-panel input,
.search-panel select,
.admin-panel input {
  background: #ffffff;
  border: 0;
  color: #111111;
  min-height: 42px;
  padding: 9px 12px;
  width: 100%;
}

.admin-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
}

.admin-panel label {
  color: #111111;
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.admin-panel input {
  border: 1px solid #dddddd;
  display: block;
  margin-top: 6px;
}

.admin-panel .check-row {
  align-items: center;
  display: flex;
  gap: 10px;
}

.admin-panel .check-row input {
  min-height: 0;
  width: auto;
}

.footer-logo {
  margin-bottom: 50px !important;
}

@media only screen and (max-width: 991px) {
  .mapleforge-status {
    align-items: flex-start;
    padding: 15px 0;
    text-align: left;
  }
}

@media only screen and (max-width: 767px) {
  .mapleforge-brand,
  .mapleforge-footer-logo {
    font-size: 22px;
  }

  .intro-news-filter {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 14px;
  }

  .ai-masthead {
    padding: 60px 0 50px;
  }

  .ai-masthead h1 {
    font-size: 32px;
  }

  .search-panel,
  .admin-grid {
    grid-template-columns: 1fr;
  }
}
