/* WordPress化にあたっての追加スタイル（モックCSSには手を入れない） */

/* 管理バー表示時にstickyヘッダーが被らないように */
body.admin-bar .site-header{top:32px}
@media(max-width:782px){body.admin-bar .site-header{top:46px}}

/* 一覧・詳細ページ共通レイアウト */
.mk-page{padding:36px 0 64px}
.mk-page-head{margin-bottom:26px}
.mk-page-head h1{margin:10px 0 8px;font-size:clamp(1.8rem,3vw,2.8rem);line-height:1.25}
.mk-page-head .lead{margin:0}

/* 記事カードグリッド（アーカイブ用） */
.mk-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
@media(max-width:1120px){.mk-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.mk-grid{grid-template-columns:1fr}}
.mk-grid .tile-img img{width:100%;height:100%;object-fit:cover}
.mk-grid time{display:block;color:var(--muted);font-size:.76rem;font-weight:800;margin-top:6px}

/* 記事本文 */
.mk-entry{max-width:820px;margin:auto}
.mk-entry .card{padding:28px}
@media(max-width:640px){.mk-entry .card{padding:18px}}
.mk-entry-thumb{border-radius:22px;overflow:hidden;margin-bottom:20px}
.mk-entry-thumb img{width:100%;height:auto}
.mk-entry-title{margin:0 0 6px;font-size:clamp(1.6rem,2.6vw,2.4rem);line-height:1.3}
.mk-entry-meta{color:var(--muted);font-weight:800;font-size:.85rem;margin-bottom:18px}
.mk-entry-content{font-weight:550}
.mk-entry-content p{line-height:1.9}
.mk-entry-content img{border-radius:18px}
.mk-entry-content h2{font-size:1.4rem;margin:1.6em 0 .6em;padding-left:12px;border-left:5px solid var(--yellow)}
.mk-entry-content h3{font-size:1.15rem;margin:1.4em 0 .5em}
.mk-entry-content a{color:#8b6600;text-decoration:underline}
.mk-entry-content blockquote{margin:1.2em 0;padding:14px 18px;border-radius:18px;background:#fff8d7;border:1px dashed var(--line);font-weight:700}

/* ページネーション */
.mk-pagination{display:flex;gap:8px;justify-content:center;margin-top:30px;flex-wrap:wrap}
.mk-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.86);border:1px solid var(--line);font-weight:900}
.mk-pagination .page-numbers.current{background:linear-gradient(180deg,#ffe887,var(--yellow));color:#5a4000}

/* 「今日の黄色」最新セクション（フロント） */
.mk-daily-latest .tile-copy .mood{display:inline-flex;margin-top:6px;padding:4px 10px;border-radius:999px;background:#fff8d7;border:1px solid var(--line);font-size:.74rem;font-weight:900;color:#735900}

/* コンテンツが無いときの案内 */
.mk-empty{padding:26px;text-align:center;color:var(--muted);font-weight:700}

/* きいろのポスト準備中バッジ（F4実装まで） */
.nav-cta-soon{opacity:.85;display:inline-flex;align-items:center;gap:6px}
.soon-badge{font-size:.62rem;font-weight:900;padding:2px 7px;border-radius:999px;background:#fff3a3;color:#8a6500;border:1px solid rgba(201,154,46,.4)}

/* PCヘッダーナビの現在地 */
.nav a[aria-current]:after{width:100%}
.nav .nav-cta[aria-current]{box-shadow:0 0 0 3px rgba(201,154,46,.3),0 14px 28px rgba(247,198,0,.24)}
.nav .nav-cta[aria-current]:after{display:none}

/* 761〜860pxは本文をタブレットのまま、ナビだけモバイル方式にする */
@media(max-width:860px){
	body{padding-bottom:78px}
	.site-header{position:static}
	.header-shell{border-radius:26px;min-height:auto;padding:14px 16px;align-items:flex-start;flex-direction:column}
	.site-header .nav{display:none}
	.bottom-nav{position:fixed;left:10px;right:10px;bottom:calc(8px + env(safe-area-inset-bottom));z-index:120;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:7px;border-radius:24px;background:rgba(255,253,244,.92);border:1px solid rgba(226,203,116,.72);box-shadow:0 16px 42px rgba(94,72,0,.18);backdrop-filter:blur(16px)}
	.bottom-nav a{display:flex;min-width:0;flex-direction:column;align-items:center;gap:2px;padding:6px 2px;border-radius:18px;font-size:.68rem;font-weight:900;color:#665638}
	.bottom-nav a span{font-size:1.05rem;line-height:1}
	.bottom-nav .active{background:linear-gradient(180deg,#fff1a8,var(--yellow));color:#5a4000}
	.footer{padding-bottom:96px}
}
