/*
Theme Name: Kadence Child
Template: kadence
Version: 1.0.0
*/

/* Category label badge style */
.entry-taxonomies a {
	display: inline-block;
	background-color: #B71C1C;
	color: #fff !important;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 0.75em;
	text-decoration: none;
	line-height: 1.4;
}

.entry-taxonomies a:hover {
	background-color: #8b1212;
	color: #fff !important;
}

/* Hide separator (/) between categories */
.entry-taxonomies .sep {
	display: none;
}

/* Per-category badge colors */
.entry-taxonomies a.category-link-travel       { background-color: #B71C1C !important; }
.entry-taxonomies a.category-link-travel:hover { background-color: #8b1212 !important; }

.entry-taxonomies a.category-link-food       { background-color: #2E7D32 !important; }
.entry-taxonomies a.category-link-food:hover { background-color: #1b5e20 !important; }

.entry-taxonomies a.category-link-k-culture       { background-color: #8B26FF !important; }
.entry-taxonomies a.category-link-k-culture:hover { background-color: #6a1bcc !important; }

.entry-taxonomies a.category-link-lifestyle       { background-color: #F57C00 !important; }
.entry-taxonomies a.category-link-lifestyle:hover { background-color: #bf6000 !important; }

.entry-taxonomies a.category-link-social-cues       { background-color: #00AB89 !important; }
.entry-taxonomies a.category-link-social-cues:hover { background-color: #007d65 !important; }

.entry-taxonomies a.category-link-uncategorized       { background-color: #6B7280 !important; }
.entry-taxonomies a.category-link-uncategorized:hover { background-color: #4b5563 !important; }

.entry-content h2 {
  position: relative;
  background: #FCEBEB;
  border-left: 5px solid #B71C1C;
  border-radius: 0;
  padding: 14px 18px 14px 22px;
  margin: 2rem 0 1rem;
  color: #1a1a1a;
  font-weight: 500;
  font-size: 1.4em;
}
.entry-content h2::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #F09595;
}
.entry-content h3 {
  position: relative;
  background: none;
  border-left: 3px solid #E24B4A;
  border-radius: 0;
  padding: 4px 0 4px 14px;
  margin: 1.5rem 0 0.8rem;
  color: inherit;
  font-weight: 500;
  font-size: 1.15em;
}
.entry-content h3::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #F09595;
}

/* Read More button */
.post-more-link {
  display: inline-block;
  background: #1a1a1a;
  color: #ffffff !important;
  padding: 9px 20px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
}
.post-more-link:hover {
  background: #333333;
  color: #ffffff !important;
}
.post-more-link svg,
.post-more-link svg * {
  fill: #ffffff;
  stroke: #ffffff;
}

/* Sidebar widget title — 공통 */
.widget-area .widget-title,
.widget-area .widget_block h2.wp-block-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 14px;
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1a1a1a;
  border-bottom: 3px solid #e2e8f0; /* 기본값, 위젯별로 덮어씀 */
}

/* 제목 왼쪽 정사각형 블록 — 공통 */
.widget-area .widget-title::before,
.widget-area .widget_block h2.wp-block-heading::before {
  content: "";
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  display: inline-block;
  background: #e2e8f0; /* 기본값, 위젯별로 덮어씀 */
}

/* 위젯별 색 — #block-3: Recent Posts → #00AB89 */
#block-3 h2.wp-block-heading {
  border-bottom-color: #00AB89;
}
#block-3 h2.wp-block-heading::before {
  background: #00AB89;
}

/* 위젯별 색 — #block-4: Recent Comments → #8B26FF */
#block-4 h2.wp-block-heading {
  border-bottom-color: #8B26FF;
}
#block-4 h2.wp-block-heading::before {
  background: #8B26FF;
}

/* 위젯별 색 — #block-5: Archives → #F57C00 */
#block-5 h2.wp-block-heading {
  border-bottom-color: #F57C00;
}
#block-5 h2.wp-block-heading::before {
  background: #F57C00;
}

/* 위젯별 색 — #block-6: Categories → #B71C1C */
#block-6 h2.wp-block-heading {
  border-bottom-color: #B71C1C;
}
#block-6 h2.wp-block-heading::before {
  background: #B71C1C;
}

/* Sidebar widget list items */
.widget-area .widget ul li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  list-style: none;
}
.widget-area .widget ul li:last-child {
  border-bottom: none;
}

/* Archive card style */
.entry.loop-entry {
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	margin-bottom: 24px;
}
