/*
Theme Name: Cocoon Child
Template: cocoon-master
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Inter:wght@300;400;500&display=swap');

/* ===== VARIABLES ===== */
:root {
  --kpop-black: #0d0d0d;
  --kpop-dark: #111111;
  --kpop-card: #1a1a1a;
  --kpop-pink: #e91e8c;
  --kpop-pink-light: #ff4db2;
  --kpop-purple: #a87fdd;
  --kpop-teal: #1eb4b4;
  --kpop-white: #ffffff;
  --kpop-gray: rgba(255,255,255,0.6);
  --kpop-gray-dim: rgba(255,255,255,0.25);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== BASE ===== */
html, body {
  background: var(--kpop-dark) !important;
  color: rgba(255,255,255,0.85) !important;
  font-family: 'Noto Sans KR', 'Noto Sans JP', sans-serif !important;
}

*, *::before, *::after { box-sizing: border-box; }

a { color: var(--kpop-pink-light) !important; text-decoration: none !important; }
a:hover { color: var(--kpop-pink) !important; }

img { display: block; width: 100%; height: auto; }

/* 1px トラッキングピクセルは非表示 */
img[width="1"], img[height="1"] { display: none !important; width: auto !important; height: auto !important; }

/* sns_center: 中央揃え、内部画像はautoサイズに戻す */
.sns_center {
  text-align: center;
}
.sns_center img:not([width="1"]):not([height="1"]) {
  display: inline-block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
}

/* Cocoon wrapper overrides */
#wrapper,
#container,
#contents,
#main,
.contents-in,
.main-container,
#wrap,
.wrap,
.site-content {
  background: var(--kpop-dark) !important;
  color: rgba(255,255,255,0.85) !important;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--kpop-black); }
::-webkit-scrollbar-thumb { background: var(--kpop-pink); border-radius: 2px; }

/* ===== HEADER ===== */
#header,
.header-container,
.header-container-in,
.site-header,
.header-in {
  background: var(--kpop-black) !important;
  border-bottom: 0.5px solid rgba(233,30,140,0.25) !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* ヘッダー全体をflex・ロゴ左ナビ右 */
#header-container,
#header-container-in,
.header-container,
.header-container-in {
  background: var(--kpop-black) !important;
  text-align: left !important;
}

#header,
.header-in {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 40px !important;
  height: 64px !important;
  max-width: 100% !important;
  text-align: left !important;
}

#site-info,
.site-info,
#site-info-in {
  display: flex !important;
  align-items: center !important;
  text-align: left !important;
  padding: 0 !important;
  margin: 0 !important;
  justify-content: flex-start !important;
  flex: 0 0 auto !important;
}

#site-title,
#site-title a,
.site-name,
.logo-text {
  text-align: left !important;
  display: block !important;
  float: none !important;
  margin: 0 !important;
}

#navi,
.navi,
#navi-in,
.navi-in {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  flex: 0 0 auto !important;
}

.navi-in > ul {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.navi-in > ul > li {
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

@media (max-width: 768px) {
  #header, .header-in {
    padding: 0 20px !important;
    height: 56px !important;
  }
}

#site-title,
#site-title a,
.site-name,
.logo-text {
  color: var(--kpop-white) !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  font-size: 18px !important;
  text-shadow: none !important;
}

/* サイト説明文は非表示 */
#site-description,
.site-description,
.header-description {
  display: none !important;
}

/* ナビゲーション */
#navi,
#nav,
.navi,
.global-navi,
.navi-in,
.header-navi {
  background: var(--kpop-black) !important;
  border-top: none !important;
  border-bottom: none !important;
}

#navi a,
#nav a,
.navi-in > ul > li > a,
.global-navi a,
.menu-item a {
  color: rgba(255,255,255,0.65) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  letter-spacing: 0.05em !important;
  transition: color 0.3s !important;
  background: transparent !important;
  border: none !important;
}

#navi a:hover,
#nav a:hover,
.navi-in > ul > li > a:hover,
.global-navi a:hover {
  color: var(--kpop-pink) !important;
  background: transparent !important;
}

/* ナビの下線・区切り削除 */
.navi-in > ul > li {
  border: none !important;
}

/* モバイルハンバーガー */
.menu-toggle,
.navi-toggle {
  color: var(--kpop-white) !important;
  background: transparent !important;
  border: 0.5px solid rgba(255,255,255,0.2) !important;
}

/* ===== MARQUEE ===== */
.kpop-marquee {
  background: #110009;
  border-top: 0.5px solid rgba(233,30,140,0.35);
  border-bottom: 0.5px solid rgba(233,30,140,0.35);
  padding: 9px 0;
  overflow: hidden;
  white-space: nowrap;
}

.kpop-marquee-track {
  display: inline-flex;
  animation: kpopMarquee 60s linear infinite;
}

.kpop-marquee-track span {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: rgba(233,30,140,0.85);
}

@keyframes kpopMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== CONTAINER ===== */
.kpop-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 60px 40px;
}

/* ===== HERO ===== */
.kpop-hero {
  background: var(--kpop-black);
  padding: 80px 40px 60px;
  position: relative;
  overflow: hidden;
}

.kpop-hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.kpop-hero-glow--pink {
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(233,30,140,0.15) 0%, transparent 70%);
}

.kpop-hero-glow--purple {
  bottom: -80px;
  left: 200px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(168,127,221,0.1) 0%, transparent 70%);
}

.kpop-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
}

.kpop-hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--kpop-pink);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.kpop-hero-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--kpop-white);
  margin-bottom: 16px;
}

.kpop-hero-title span {
  color: var(--kpop-pink);
}

.kpop-hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}

.kpop-hero-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.kpop-hero-tag {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  padding: 6px 16px;
  border-radius: 20px;
  border: 0.5px solid rgba(233,30,140,0.5);
  color: var(--kpop-pink);
  letter-spacing: 0.05em;
}

.kpop-hero-tag--purple {
  border-color: rgba(168,127,221,0.5);
  color: var(--kpop-purple);
}

/* ===== SECTION LABEL ===== */
.kpop-section-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--kpop-pink);
  margin-bottom: 20px;
}

/* ===== FEATURED ===== */
.kpop-featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: #1a1a1a;
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  color: inherit !important;
}

.kpop-featured-card:hover {
  border-color: rgba(233,30,140,0.4);
  transform: translateY(-2px);
}

.kpop-featured-thumb {
  position: relative;
  min-height: 220px;
  background: linear-gradient(135deg, #0d0d1a, #1a0a18);
  overflow: hidden;
}

.kpop-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kpop-no-thumb {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d0d1a, #1a0a18);
}

.kpop-no-thumb span {
  font-family: 'Inter', sans-serif;
  font-size: 80px;
  font-weight: 700;
  color: rgba(233,30,140,0.15);
}

.kpop-pickup-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--kpop-pink);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.1em;
}

.kpop-featured-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kpop-featured-cat {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--kpop-pink);
  margin-bottom: 12px;
}

.kpop-featured-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--kpop-white);
  line-height: 1.7;
  margin-bottom: 16px;
}

.kpop-featured-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  font-family: 'Inter', sans-serif;
}

/* ===== POSTS GRID ===== */
.kpop-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.kpop-post-card {
  background: #1a1a1a;
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  outline: none !important;
  box-shadow: none !important;
}

.kpop-post-card:hover {
  border-color: rgba(233,30,140,0.4);
  transform: translateY(-4px);
  outline: none !important;
  box-shadow: none !important;
}

/* Cocoonのarticleデフォルトボーダーを無効化 */
.kpop-posts-grid article,
.kpop-posts-grid .kpop-post-card {
  box-shadow: none !important;
  outline: none !important;
}

.kpop-post-card-link {
  display: block;
  color: inherit !important;
}

.kpop-post-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #111120, #1a0d18);
  overflow: hidden;
}

.kpop-post-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.kpop-post-card:hover .kpop-post-img {
  transform: scale(1.05);
}

.kpop-no-thumb-sm {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #111120, #1a0d18);
}

.kpop-post-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(233,30,140,0.25);
  color: var(--kpop-pink);
  border: 0.5px solid rgba(233,30,140,0.4);
  letter-spacing: 0.05em;
}

.kpop-post-body {
  padding: 14px 16px 16px;
}

.kpop-post-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--kpop-white);
  line-height: 1.7;
  margin-bottom: 8px;
}

.kpop-post-meta {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

/* ===== SNSボタン ===== */
.sns-share-buttons a,
.share-button,
.share-btn,
.btn-x,
.btn-twitter,
.btn-facebook,
.btn-line,
.btn-pinterest,
.btn-copy,
.btn-hatebu,
.share-link {
  background: #1a1a1a !important;
  border: 0.5px solid rgba(255,255,255,0.12) !important;
  color: rgba(255,255,255,0.6) !important;
  border-radius: 6px !important;
  transition: border-color 0.3s, color 0.3s !important;
}

.sns-share-buttons a:hover,
.share-button:hover,
.share-btn:hover {
  background: #222 !important;
  border-color: rgba(233,30,140,0.4) !important;
  color: var(--kpop-pink) !important;
}

.sns-share-buttons .button-caption,
.share-button .caption,
.share-label {
  color: rgba(255,255,255,0.6) !important;
}

/* Cocoon SNS buttons specific */
.twitter-button,
.x-button,
.facebook-button,
.line-button,
.pinterest-button,
.copy-button,
.hatebu-button,
.pocket-button,
.feedly-button {
  background-color: #1a1a1a !important;
  border: 0.5px solid rgba(255,255,255,0.12) !important;
  color: rgba(255,255,255,0.6) !important;
}

.twitter-button:hover,
.x-button:hover,
.facebook-button:hover,
.line-button:hover,
.pinterest-button:hover,
.copy-button:hover,
.hatebu-button:hover {
  background-color: #222 !important;
  border-color: rgba(233,30,140,0.4) !important;
  color: #fff !important;
}

/* ===== 記事ページ ===== */

/* 記事タイトル */
.entry-title,
.article-title {
  color: var(--kpop-white) !important;
  font-family: 'Noto Sans KR', sans-serif !important;
  line-height: 1.6 !important;
}

/* 記事本文テキスト */
.entry-content,
.entry-content p,
.entry-content li,
.entry-content td,
.entry-content th,
.entry-content span {
  color: rgba(255,255,255,0.8) !important;
  line-height: 2.1 !important;
}

/* 見出しh2 */
.entry-content h2 {
  border-left: 3px solid var(--kpop-pink) !important;
  background: rgba(233,30,140,0.07) !important;
  padding: 12px 16px !important;
  color: var(--kpop-white) !important;
  border-radius: 0 8px 8px 0 !important;
  margin: 2em 0 1em !important;
}

/* 見出しh3 */
.entry-content h3 {
  border-bottom: 1px solid rgba(233,30,140,0.3) !important;
  color: var(--kpop-white) !important;
  padding-bottom: 8px !important;
  margin: 1.8em 0 0.8em !important;
}

/* 見出しh4〜 */
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: rgba(255,255,255,0.9) !important;
}

/* テーブル */
.entry-content table {
  border-collapse: collapse !important;
  width: 100% !important;
}

.entry-content th {
  background: rgba(233,30,140,0.1) !important;
  color: var(--kpop-white) !important;
  border: 0.5px solid rgba(255,255,255,0.15) !important;
  padding: 10px 14px !important;
}

.entry-content td {
  border: 0.5px solid rgba(255,255,255,0.1) !important;
  padding: 10px 14px !important;
  background: #1a1a1a !important;
}

/* 引用 */
.entry-content blockquote {
  border-left: 3px solid var(--kpop-pink) !important;
  background: rgba(255,255,255,0.04) !important;
  padding: 16px 20px !important;
  border-radius: 0 8px 8px 0 !important;
  color: rgba(255,255,255,0.6) !important;
}

/* 目次 */
#toc,
.toc {
  background: #1a1a1a !important;
  border: 0.5px solid rgba(233,30,140,0.2) !important;
  border-radius: 12px !important;
  padding: 20px !important;
}

.toc-title { color: var(--kpop-white) !important; }
.toc a { color: rgba(255,255,255,0.6) !important; }
.toc a:hover { color: var(--kpop-pink) !important; }

/* 画像・YouTube・埋め込みの中央揃え */
.entry-content figure,
.entry-content .wp-block-image,
.entry-content .wp-block-embed,
.entry-content iframe,
.entry-content .youtube {
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
}

/* 記事背景 */
.article,
#article {
  background: #1a1a1a !important;
  border-radius: 16px !important;
  padding: 24px 32px !important;
}

/* ① テキスト全般（ふきだし・白背景ボックスは除外） */
.entry-content,
.entry-content *:not(a):not(.cat-label):not(.btn):not(button):not(.speech-balloon):not(.speech-name) {
  color: rgba(255,255,255,0.85) !important;
  line-height: 1.75 !important;
  font-size: 14px !important;
}

/* ふきだし内の子要素を白テキストから除外 */
.entry-content .speech-wrap .speech-balloon * {
  color: inherit !important;
}

.entry-content strong,
.entry-content b {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* 見出しサイズ調整 */
.entry-content h2 { font-size: 1.25rem !important; line-height: 1.45 !important; }
.entry-content h3 { font-size: 1.1rem !important; line-height: 1.45 !important; }
.entry-content h4,
.entry-content h5,
.entry-content h6 { font-size: 1rem !important; line-height: 1.45 !important; }

/* ② 白背景ボックス：背景白・テキスト黒を維持 */
.entry-content div[style*="background:#fff"],
.entry-content div[style*="background: #fff"],
.entry-content div[style*="background:white"],
.entry-content div[style*="background: white"],
.entry-content div[style*="background:#ffffff"],
.entry-content div[style*="background: #ffffff"] {
  background: #ffffff !important;
  border-radius: 10px !important;
  padding: 16px !important;
  color: #111111 !important;
}

.entry-content div[style*="background:#fff"] *:not(a),
.entry-content div[style*="background: #fff"] *:not(a),
.entry-content div[style*="background:white"] *:not(a),
.entry-content div[style*="background:#ffffff"] *:not(a),
.speech-wrap .speech-balloon,
.speech-wrap .speech-balloon *:not(a) {
  color: #111111 !important;
}

/* アフィリエイトボックス内画像の中央揃え */
.entry-content .wp-block-html img,
.entry-content .custom-html-block img {
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
  display: block !important;
}

/* ③ テーブルヘッダー：水色半透明 */
.entry-content th {
  background: rgba(30,180,220,0.18) !important;
  color: #e0f7ff !important;
  border: 1px solid rgba(30,180,220,0.4) !important;
  font-weight: 500 !important;
}

.entry-content tr {
  background: rgba(30,180,220,0.15) !important;
}

.entry-content td {
  background: #1a1a1a !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: rgba(255,255,255,0.75) !important;
}

/* テーブル横スクロール */
.entry-content table {
  display: block !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(30,180,220,0.5) rgba(30,180,220,0.1) !important;
}

.entry-content table::-webkit-scrollbar {
  height: 6px !important;
}

.entry-content table::-webkit-scrollbar-track {
  background: rgba(30,180,220,0.1) !important;
  border-radius: 3px !important;
}

.entry-content table::-webkit-scrollbar-thumb {
  background: rgba(30,180,220,0.5) !important;
  border-radius: 3px !important;
}

.entry-content table th,
.entry-content table td {
  white-space: normal !important;
  min-width: 100px !important;
}

/* ④ YouTube・iframe 中央寄せ */
.entry-content iframe,
.entry-content .wp-block-embed,
.entry-content .wp-block-embed__wrapper,
.entry-content .youtube,
.entry-content .video-container {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
}

.entry-content .wp-block-embed__wrapper iframe {
  width: 100% !important;
  aspect-ratio: 16/9 !important;
  height: auto !important;
}

/* ⑤ 付箋・ボックス系のデザイン修正 */
.blank-box,
.bb-sticky,
.bb-memo,
.bb-point,
.bb-check,
.bb-caution,
.bb-warning,
.simple-box,
.yellow-box,
.red-box,
.blue-box,
.green-box,
.orange-box,
.pink-box,
.gray-box,
.info-box,
.alert-box,
[class*="box-"] {
  background: #1e1e1e !important;
  border-color: rgba(255,255,255,0.15) !important;
  color: rgba(255,255,255,0.82) !important;
  border-radius: 8px !important;
}

.blank-box *,
.bb-sticky *,
.bb-memo *,
.bb-point *,
.bb-check *,
.simple-box *,
[class*="box-"] * {
  color: rgba(255,255,255,0.82) !important;
  background: transparent !important;
}

/* ボックスのタイトル部分 */
.blank-box .box-title,
.simple-box .box-title,
[class*="box-"] .box-title {
  background: rgba(233,30,140,0.15) !important;
  color: var(--kpop-pink) !important;
  border-bottom: 0.5px solid rgba(233,30,140,0.2) !important;
}

/* ⑥ 記事下部のSNSフォロー・シェアボタン非表示 */
.sf-bottom,
.sns-share.ss-bottom {
  display: none !important;
}

/* ふきだし（speech balloon）：水色フラット */
.speech-wrap .speech-balloon {
  background: rgba(30,180,220,0.15) !important;
  border: 1px solid rgba(30,180,220,0.35) !important;
  border-radius: 10px !important;
  color: rgba(255,255,255,0.85) !important;
}

.speech-wrap .speech-balloon::before {
  border-right-color: rgba(30,180,220,0.35) !important;
}

.speech-wrap .speech-balloon::after {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  width: 0 !important;
  height: 0 !important;
  left: -13px !important;
  top: 10px !important;
  border-right-width: 12px !important;
  border-right-style: solid !important;
  border-right-color: rgba(30,180,220,0.15) !important;
  border-top: 12px solid transparent !important;
  border-bottom: 12px solid transparent !important;
}

.speech-wrap.sbs-think .speech-balloon::before,
.speech-wrap.sbs-think .speech-balloon::after {
  background: rgba(30,180,220,0.2) !important;
  border-color: rgba(30,180,220,0.35) !important;
}

/* ブログカード（内部・外部リンクカード）：案Bデザイン */
.blogcard-wrap {
  border: 1px solid rgba(233,30,140,0.3) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  margin: 1.5rem 0 !important;
}

.blogcard {
  background: linear-gradient(135deg, #1a0a12, #1e1e1e) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  border: none !important;
  padding: 16px 20px !important;
}

.blogcard-label {
  font-size: 11px !important;
  letter-spacing: 0.2em !important;
  color: #e91e8c !important;
  font-family: 'Inter', sans-serif !important;
  margin-bottom: 6px !important;
}

.blogcard-title {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

.blogcard-snippet {
  color: rgba(255,255,255,0.45) !important;
  font-size: 12px !important;
}

.blogcard-date {
  color: rgba(255,255,255,0.3) !important;
  font-size: 11px !important;
}

.blogcard-site-name,
.blogcard-domain {
  color: rgba(233,30,140,0.7) !important;
  font-size: 11px !important;
}

.blogcard-thumb img {
  border-radius: 8px 0 0 8px !important;
}

/* カスタムHTMLの「あわせて読みたい」ボックス */
.entry-content div[style*="border-left"][style*="#e91e8c"],
.entry-content div[style*="border-left"][style*="e91e8c"] {
  background: linear-gradient(135deg, #1a0a12, #1e1e1e) !important;
  border: 1px solid rgba(233,30,140,0.3) !important;
  border-radius: 10px !important;
}

.entry-content div[style*="border-left"][style*="#e91e8c"] *:not(a),
.entry-content div[style*="border-left"][style*="e91e8c"] *:not(a) {
  color: rgba(255,255,255,0.85) !important;
}

.entry-content div[style*="border-left"][style*="#e91e8c"] a,
.entry-content div[style*="border-left"][style*="e91e8c"] a {
  color: rgba(255,255,255,0.85) !important;
}

/* ===== SIDEBAR ===== */
#sidebar,
.sidebar {
  background: transparent !important;
}

/* モバイルフッターウィジェット非表示 */
@media (max-width: 834px) {
  .footer-widgets-mobile {
    display: none !important;
  }
}

/* ハイライト（マーカー）色 */
::selection {
  background: rgba(233,30,140,0.3) !important;
  color: inherit !important;
}

.entry-content .marker,
.entry-content mark,
.entry-content [style*="background-color:yellow"],
.entry-content [style*="background-color: yellow"],
.entry-content [style*="background-color:#ffff00"],
.entry-content [style*="background-color: #ffff00"] {
  background: rgba(233,30,140,0.25) !important;
  color: inherit !important;
  padding: 0 2px !important;
  border-radius: 2px !important;
}

.widget,
.widget-area .widget {
  background: #1a1a1a !important;
  border: 0.5px solid rgba(255,255,255,0.08) !important;
  border-radius: 12px !important;
  padding: 20px !important;
  margin-bottom: 20px !important;
  color: rgba(255,255,255,0.75) !important;
}

.widget-title,
.widgettitle,
.widget-title-in,
.sidebar .widget_categories .widgettitle,
.sidebar .widget_archive .widgettitle,
.sidebar .widget_search .widgettitle {
  color: var(--kpop-white) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid rgba(233,30,140,0.3) !important;
  border-left: 2px solid var(--kpop-pink) !important;
  padding: 0 0 10px 10px !important;
  margin-bottom: 16px !important;
  background: transparent !important;
}

/* カテゴリーリストをスッキリ */
.widget_categories ul,
.widget_categories li {
  background: transparent !important;
  border: none !important;
}

.widget_categories ul {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  padding: 0 !important;
  list-style: none !important;
}

.widget_categories li a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 13px !important;
  color: rgba(255,255,255,0.6) !important;
  padding: 6px 0 !important;
  border-bottom: 0.5px solid rgba(255,255,255,0.06) !important;
  transition: color 0.3s !important;
}

.widget_categories li a:hover {
  color: var(--kpop-pink) !important;
}

.widget_categories li a::before {
  content: '—' !important;
  color: rgba(233,30,140,0.4) !important;
  font-size: 10px !important;
  margin-right: 8px !important;
}

/* ===== サイドバー プロフィール ===== */
.widget_author_info,
.author-box,
.author-content-box {
  background: #111111 !important;
  border: 0.5px solid rgba(233,30,140,0.2) !important;
  border-radius: 16px !important;
  padding: 28px 20px !important;
  text-align: center !important;
}

/* アバター画像 */
.author-box .author-thumb,
.author-box .author-avatar,
.author-content-box img,
.widget_author_info img {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(233,30,140,0.5) !important;
  margin: 0 auto 16px !important;
  display: block !important;
  object-fit: cover !important;
}

/* 名前 */
.author-box .author-name,
.author-name-box,
.widget_author_info .author-name {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--kpop-pink) !important;
  letter-spacing: 0.2em !important;
  margin-bottom: 10px !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

/* 説明文 */
.author-box .author-description,
.author-info-box,
.widget_author_info .author-bio {
  font-size: 12px !important;
  line-height: 1.9 !important;
  color: rgba(255,255,255,0.45) !important;
  font-family: 'Noto Sans KR', sans-serif !important;
  margin-bottom: 16px !important;
  text-align: center !important;
}

/* SNSアイコンエリア */
.author-box .sns-follow-buttons,
.author-box .follow-button,
.sns-follow-box {
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.author-box .sns-follow-buttons a,
.sns-follow-box a,
.follow-button a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #1a1a1a !important;
  border: 0.5px solid rgba(255,255,255,0.1) !important;
  color: rgba(255,255,255,0.5) !important;
  font-size: 13px !important;
  transition: border-color 0.3s, color 0.3s !important;
}

.author-box .sns-follow-buttons a:hover,
.sns-follow-box a:hover {
  border-color: var(--kpop-pink) !important;
  color: var(--kpop-pink) !important;
  background: rgba(233,30,140,0.08) !important;
}

/* ===== 検索ウィジェット ===== */
.widget_search .widgettitle,
.search-box label,
.widget_search label {
  font-size: 11px !important;
  letter-spacing: 0.2em !important;
  color: rgba(255,255,255,0.4) !important;
}

.search-edit,
.search-form,
.widget_search form {
  padding: 11px !important;
}

.search-field,
.widget_search input[type="search"],
input[type="search"] {
  background: #1a1a1a !important;
  border: 0.5px solid rgba(255,255,255,0.1) !important;
  color: rgba(255,255,255,0.7) !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  padding: 8px 12px !important;
  width: 100% !important;
}

.search-field:focus,
.widget_search input[type="search"]:focus {
  border-color: rgba(233,30,140,0.4) !important;
  outline: none !important;
}

.search-submit {
  position: absolute !important;
  right: 15px !important;
  top: calc(50% - 12px) !important;
  font-size: 20px !important;
  cursor: pointer !important;
  border: none !important;
  color: rgba(255,255,255,0.3) !important;
  padding: 0 8px !important;
  background-color: rgba(255,255,255,0) !important;
}

.search-field::placeholder,
.widget_search input[type="search"]::placeholder,
input[type="search"]::placeholder {
  font-size: 11px !important;
  color: rgba(255,255,255,0.25) !important;
  letter-spacing: 0.05em !important;
  opacity: 1 !important;
}

/* ===== FOOTER ===== */
#footer,
.footer,
.site-footer,
#footer-container {
  background: var(--kpop-black) !important;
  border-top: 0.5px solid rgba(255,255,255,0.06) !important;
  color: rgba(255,255,255,0.2) !important;
  padding: 24px 0 !important;
}

#footer a,
.footer a {
  color: rgba(255,255,255,0.2) !important;
  font-size: 12px !important;
  transition: color 0.3s !important;
}

#footer a:hover,
.footer a:hover {
  color: rgba(255,255,255,0.5) !important;
}

.footer-logo,
#footer .site-name,
#footer #site-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  letter-spacing: 0.15em !important;
  color: rgba(255,255,255,0.2) !important;
}

.copyright,
.footer-copyright {
  font-size: 11px !important;
  color: rgba(255,255,255,0.15) !important;
  letter-spacing: 0.05em !important;
}

/* フッター縦線・区切り線を削除 */
#footer-sub-info-list {
  font-size: 0 !important;
  display: flex !important;
  gap: 20px !important;
  align-items: center !important;
  list-style: none !important;
  padding: 0 !important;
  justify-content: center !important;
}

#footer-sub-info-list li {
  font-size: 12px !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#footer-sub-info-list li::before,
#footer-sub-info-list li::after {
  display: none !important;
  content: none !important;
}

#footer-sub-info-list li a {
  font-size: 12px !important;
  color: rgba(255,255,255,0.2) !important;
}

.footer-widget,
.footer-left,
.footer-center,
.footer-right {
  border: none !important;
  border-left: none !important;
  border-right: none !important;
}

/* フッターナビの縦線削除 */
.navi-footer-in > .menu-footer li,
.navi-footer-in .menu-footer li,
.menu-footer li {
  border-left: none !important;
  border-right: none !important;
  width: auto !important;
}

/* ===== 人気記事ウィジェット ===== */
.popular-entry-cards,
.widget-entry-cards {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.popular-entry-cards .a-wrap,
.widget-entry-cards .a-wrap {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  display: block !important;
}

.popular-entry-cards .entry-card,
.widget-entry-cards .entry-card {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  box-shadow: none !important;
}

/* ホバー時に子要素が白くならないよう上書き */
.popular-entry-cards .a-wrap:hover *,
.widget-entry-cards .a-wrap:hover *,
.popular-entry-cards .entry-card:hover * {
  color: inherit !important;
  background: transparent !important;
}

.popular-entry-cards .entry-card-thumb,
.widget-entry-cards .entry-card-thumb {
  width: 72px !important;
  min-width: 72px !important;
  height: 60px !important;
  overflow: hidden !important;
  border-radius: 8px 0 0 8px !important;
  flex-shrink: 0 !important;
  background: #1a1a1a !important;
}

.popular-entry-cards .entry-card-thumb img,
.widget-entry-cards .entry-card-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  display: block !important;
}

.popular-entry-cards .entry-card-content,
.widget-entry-cards .entry-card-content {
  padding: 8px 12px !important;
  flex: 1 !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
}

.popular-entry-cards .entry-card-title,
.widget-entry-cards .entry-card-title {
  font-size: 11px !important;
  line-height: 1.6 !important;
  color: rgba(255,255,255,0.7) !important;
  font-weight: 400 !important;
  margin: 0 !important;
  background: transparent !important;
}

.popular-entry-cards .a-wrap:hover .entry-card-title,
.widget-entry-cards .a-wrap:hover .entry-card-title,
.popular-entry-cards .entry-card:hover .entry-card-title {
  color: var(--kpop-pink) !important;
}

/* Cocoon実クラス上書き */
.widget-entry-card {
  font-size: 12px !important;
  background: #111111 !important;
  border: 0.5px solid rgba(255,255,255,0.08) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  transition: border-color 0.3s, transform 0.3s !important;
  box-shadow: none !important;
}

.widget-entry-card:hover {
  border-color: rgba(233,30,140,0.4) !important;
  background: #1a1a1a !important;
  transform: translateY(-4px) !important;
  box-shadow: none !important;
}

.widget-entry-card:hover * {
  background: transparent !important;
}

.widget-entry-card .entry-card-title,
.popular-entry-card-title,
.widget-entry-card-title,
.card-title {
  font-size: 12px !important;
  color: rgba(255,255,255,0.7) !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
}

.widget-entry-card:hover .entry-card-title {
  color: var(--kpop-pink) !important;
}

/* ===== アーカイブ非表示 ===== */
.widget_archive {
  display: none !important;
}

/* ===== PAGINATION ===== */
.pagination .current,
.page-numbers.current {
  background: var(--kpop-pink) !important;
  border-color: var(--kpop-pink) !important;
  color: #fff !important;
}

.pagination a,
.page-numbers:not(.current) {
  color: var(--kpop-gray) !important;
  border-color: rgba(255,255,255,0.15) !important;
  background: transparent !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .kpop-hero { padding: 60px 24px 48px; }
  .kpop-container { padding: 40px 24px; }
  .kpop-featured-card { grid-template-columns: 1fr; }
  .kpop-posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .kpop-hero { padding: 48px 20px 40px; }
  .kpop-container { padding: 32px 20px; }
  .kpop-posts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .entry-content,
  .entry-content *:not(a):not(.cat-label):not(.btn):not(button) {
    font-size: 13px !important;
    line-height: 1.65 !important;
  }

  .entry-content h2 { font-size: 1.1rem !important; line-height: 1.35 !important; }
  .entry-content h3 { font-size: 1rem !important;   line-height: 1.35 !important; }
  .entry-content h4,
  .entry-content h5,
  .entry-content h6 { font-size: 0.9rem !important; line-height: 1.35 !important; }
}
