/*
 Theme Name: Astra Child
 Template: astra
*/

/* ===== コンテナ幅を強制的に広げて中央配置 ===== */
body.single-katakana #primary,
body.single-katakana #content,
body.single-katakana .ast-article-single,
body.single-katakana .entry-content,
body.single-katakana .entry-content.clear,
body.single-katakana .ast-container {
    max-width: 800px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

/* サイドバーを非表示にして幅を確保 */
body.single-katakana #secondary {
    display: none !important;
}

/* ===== タイトル・英語（中央配置） ===== */
body.single-katakana .dict-header {
    text-align: center;
    margin-bottom: 30px;
}
body.single-katakana .dict-header h1 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #222;
    margin-bottom: 6px;
}
body.single-katakana .dict-english {
    font-size: 1.2rem;
    color: #777;
    font-style: italic;
}

/* ===== カード共通 ===== */
body.single-katakana .dict-box,
body.single-katakana .dict-category {
    width: 100% !important;
    max-width: 100% !important;
	
	
	
/* 一覧ページの著者名・日付を非表示 */
.post-type-archive-katakana .ast-blog-single-element.posted-by,
.post-type-archive-katakana .ast-blog-single-element.posted-on,
.post-type-archive-katakana .entry-meta,
.post-type-archive-katakana .ast-author-meta,
.post-type-archive-katakana .post-meta,
.post-type-archive-katakana span.posted-by,
.post-type-archive-katakana span.posted-on {
    display: none !important;
}
	
/* 検索結果ページの著者名・日付を非表示 */
.search-results .posted-by,
.search-results .posted-on,
.search-results .entry-meta,
.search-results .ast-blog-single-element {
    display: none !important;
}