/* Quick news follows BlogFlow's editorial typography and navy rules. */
body.single-hb_ai_brief .site-content { padding: 0; }

body.single-hb_ai_brief #primary {
  float: none;
  width: min(100%, 780px);
  margin-inline: auto;
  padding: 0 24px;
}

body.single-hb_ai_brief #primary .site-main {
  margin: 0;
  padding: 48px 0 64px;
}

body.single-hb_ai_brief #primary .inside-article {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.single-hb_ai_brief #right-sidebar,
body.single-hb_ai_brief #secondary,
body.post-type-archive-hb_ai_brief #right-sidebar,
body.post-type-archive-hb_ai_brief #secondary { display: none; }

body.single-hb_ai_brief .entry-header {
  width: 100%;
  margin: 0 0 28px;
  padding: 0 0 24px;
  border: 0;
  border-bottom: 1px solid var(--bf-line, #dfe3e8);
  border-radius: 0;
  background: none;
}

body.single-hb_ai_brief .entry-header::before {
  display: block;
  margin-bottom: 14px;
  color: var(--bf-navy, #17305f);
  content: '빠른 소식';
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

body.single-hb_ai_brief .entry-title {
  max-width: none;
  margin: 0 0 16px;
  color: var(--bf-ink, #172033);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -.035em;
  overflow-wrap: break-word;
}

body.single-hb_ai_brief .bf-single-meta {
  color: var(--bf-muted, #5f6877);
  font-size: 13px;
}

body.single-hb_ai_brief .entry-content {
  width: 100%;
  margin: 0;
  color: var(--bf-ink, #172033);
  font-size: 17px;
  line-height: 1.85;
}

body.single-hb_ai_brief .hb-ai-brief > p { margin: 0 0 20px; }

body.single-hb_ai_brief .hb-ai-brief > p:first-child {
  padding: 0;
  border: 0;
  background: none;
}

body.single-hb_ai_brief .hb-ai-brief h2 {
  display: block;
  margin: 32px 0 12px;
  padding: 0;
  border: 0;
  color: var(--bf-ink, #172033);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.025em;
}

body.single-hb_ai_brief .hb-ai-brief h2::before,
body.single-hb_ai_brief .hb-ai-brief li::before { content: none; }

body.single-hb_ai_brief .hb-ai-brief ul {
  display: block;
  margin: 0 0 24px;
  padding: 0 0 0 1.25em;
  list-style: disc outside;
}

body.single-hb_ai_brief .hb-ai-brief li {
  margin: 0 0 8px;
  padding: 0 0 0 3px;
  border: 0;
  border-radius: 0;
  background: none;
}

body.single-hb_ai_brief .hb-ai-brief li::marker {
  color: var(--bf-muted, #5f6877);
  font-size: .75em;
}

body.single-hb_ai_brief .hb-ai-brief small {
  display: block;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--bf-line, #dfe3e8);
  color: var(--bf-muted, #5f6877);
  font-size: 12px;
  line-height: 1.8;
}

body.single-hb_ai_brief .entry-content .hb-ai-brief-source { margin: 20px 0 28px; }

body.single-hb_ai_brief .entry-content .hb-ai-brief-source-link {
  display: inline-block;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  color: var(--bf-navy, #17305f);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.single-hb_ai_brief .entry-content .hb-ai-brief-source-link:hover { text-decoration-thickness: 2px; }
body.single-hb_ai_brief .entry-content .hb-ai-brief-source-link:focus-visible {
  outline: 2px solid var(--bf-navy, #17305f);
  outline-offset: 4px;
}

body.single-hb_ai_brief .entry-content > .related-posts:empty { display: none; }

/* The theme appends its RSS prompt immediately after related posts. */
body.single-hb_ai_brief .entry-content > .related-posts + div {
  margin-top: 32px !important;
  padding: 16px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--bf-line, #dfe3e8) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left !important;
}

body.single-hb_ai_brief .entry-content > .related-posts + div h4 {
  margin: 0 0 4px;
  color: var(--bf-muted, #5f6877);
  font-size: 13px;
  font-weight: 400;
}

body.single-hb_ai_brief .entry-content > .related-posts + div a {
  color: var(--bf-navy, #17305f);
  font-size: 13px;
  font-weight: 600;
}

/* Archive: date column and compact headlines, without thumbnail card space. */
body.post-type-archive-hb_ai_brief .site-content {
  width: 100%;
  max-width: 1080px;
  padding: 0 24px;
}

body.post-type-archive-hb_ai_brief #primary {
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

body.post-type-archive-hb_ai_brief #primary .site-main {
  margin: 0;
  padding: 40px 0 64px;
}

body.post-type-archive-hb_ai_brief .bf-archive-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0;
  padding: 0 0 22px;
  border: 0;
}

body.post-type-archive-hb_ai_brief .bf-archive-title {
  font-size: 32px;
  letter-spacing: -.035em;
}

body.post-type-archive-hb_ai_brief .bf-archive-count {
  margin: 0;
  color: var(--bf-muted, #5f6877);
  font-size: 13px;
}

body.post-type-archive-hb_ai_brief .bf-listing { margin: 0; padding: 0; }

body.post-type-archive-hb_ai_brief .bf-editorial-list {
  display: block;
  border-top: 2px solid var(--bf-navy, #17305f);
}

body.post-type-archive-hb_ai_brief .bf-editorial-list .bf-editorial-post {
  display: block;
  min-height: 0;
  margin: 0;
  padding: 19px 0;
  border: 0;
  border-bottom: 1px solid var(--bf-line, #dfe3e8);
  background: none;
}

body.post-type-archive-hb_ai_brief .bf-editorial-post__image { display: none; }

body.post-type-archive-hb_ai_brief .bf-editorial-post__body {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 5px 24px;
  padding: 0;
}

body.post-type-archive-hb_ai_brief .bf-editorial-post__meta {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding-top: 2px;
  color: var(--bf-muted, #5f6877);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

body.post-type-archive-hb_ai_brief .bf-editorial-post__meta time {
  order: -1;
  color: var(--bf-ink, #172033);
  font-size: 13px;
}

body.post-type-archive-hb_ai_brief .bf-editorial-post__title {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: -.02em;
}

body.post-type-archive-hb_ai_brief .bf-editorial-post__title a {
  color: var(--bf-ink, #172033);
  text-decoration: none;
}

body.post-type-archive-hb_ai_brief .bf-editorial-post__title a:hover,
body.post-type-archive-hb_ai_brief .bf-editorial-post__title a:focus-visible {
  color: var(--bf-navy, #17305f);
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.post-type-archive-hb_ai_brief .bf-editorial-post__excerpt {
  grid-column: 2;
  grid-row: 2;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  margin: 0;
  color: var(--bf-muted, #5f6877);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  body.post-type-archive-hb_ai_brief .site-content { padding-inline: 22px; }
  body.post-type-archive-hb_ai_brief #primary .site-main { padding-block: 28px 48px; }
  body.post-type-archive-hb_ai_brief .bf-archive-title { font-size: 28px; }
  body.post-type-archive-hb_ai_brief .bf-editorial-post__body { display: flex; flex-direction: column; gap: 6px; }
  body.post-type-archive-hb_ai_brief .bf-editorial-post__meta { flex-direction: row; gap: 12px; padding: 0; }
  body.post-type-archive-hb_ai_brief .bf-editorial-post__title { font-size: 17px; }
  body.single-hb_ai_brief #primary { padding-inline: 22px; }
  body.single-hb_ai_brief #primary .site-main { padding-block: 32px 48px; }
  body.single-hb_ai_brief .entry-content { font-size: 16px; line-height: 1.8; }
  body.single-hb_ai_brief .hb-ai-brief h2 { font-size: 20px; }
}
