/* --- 1. タイトルエリア全体 --- */
.entry-header {
    margin-bottom: 20px;
}

/* タイトルタグ自体に付いている擬似要素（今回のバグの正体）を全ページでリセット */
.entry-title::after {
    display: none !important;
    content: none !important;
}

/* ついでにヘッダーコンテナの擬似要素も念のため封印 */
.entry-header::after {
    display: none !important;
    content: none !important;
}

.entry-title {
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    color: #eee;
    margin-top: 15px !important;
    margin-bottom: 20px !important;
    /* 万が一 inline-block とかになっていたら::afterが出るので block 指定 */
    display: block !important; 
}

/* --- 2. GP標準のアイキャッチ --- */
.featured-image {
    margin-bottom: 25px !important;
}

/* --- 3. カスタムメタ情報コンテナ --- */
.custom-entry-meta-container {
    margin-top: 20px !important;
    font-family: var(--font-family-base);
}

.meta-row.taxonomy-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.meta-cat-badge {
    background: #333;
    color: #eee !important;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    border: 1px solid #444;
    text-decoration: none !important;
}

.meta-tag-item {
    font-size: 12px;
    color: #888 !important;
    text-decoration: none !important;
}

.meta-row.date-author {
    font-size: 13px;
    color: #888;
}

.author-name {
    margin-left: 10px;
    color: #ff2d55;
    font-weight: 600;
}

/* --- 4. ピンクの下線（限定公開） --- */
/* .single を付与することで、トップページ等のカード内では発動させない */
.single .custom-entry-meta-container::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: #E9967A;
    margin-top: 25px;
}

/* --- 5. 不要なメタ情報を消去（最終防衛ライン） --- */

/* 1. タイトル下の「標準メタ（日付・著者）」を非表示（カスタムメタは残る） */
.entry-header .entry-meta {
    display: none !important;
}

/* 2. 記事下（footer）に漏れ出した「カスタムメタの複製」を非表示 */
/* footer の中の meta-row だけを狙い撃ちして、ナビゲーションは生かす */
footer.entry-meta .meta-row {
    display: none !important;
}

/* 3. footer 内の標準パーツ（カテゴリー、タグ、謎の日付）を徹底排除 */
footer.entry-meta .cat-links,
footer.entry-meta .tags-links,
footer.entry-meta .posted-on {
    display: none !important;
}

/* 4. ページナビ (#nav-below) は絶対表示 */
#nav-below.post-navigation {
    display: block !important;
    visibility: visible !important;
}

/* 5. ページナビ内のアイコンのみ非表示 */
.post-navigation .gp-icon {
    display: none !important;
}