/*
Theme Name: arrowfield-custom
Theme URI: ★ テーマの公式サイトなどのURL（空欄でも可） ★
Template: arrowfield
Description: arrowfield custom theme
Author: ★ Two-WinS★
Tags: 
Version: 0.5.1
*/

/* News archive / single post: softer look to match top page */
body.blog,
body.archive,
body.single-post {
	background: #faf7f7;
}

body.blog .siteContent,
body.archive .siteContent,
body.single-post .siteContent {
	padding-top: 1.25rem;
	padding-bottom: 2rem;
}

body.blog .mainSection,
body.archive .mainSection,
body.single-post .mainSection {
	background: #fff;
	border: 1px solid rgba(184, 90, 120, 0.15);
	border-radius: 18px;
	box-shadow: 0 10px 28px rgba(80, 40, 55, 0.06);
	padding: clamp(1rem, 2.2vw, 2rem);
}

body.blog .mainSection-title,
body.archive .mainSection-title,
body.single-post .mainSection-title,
body.blog .entry-title,
body.archive .entry-title,
body.single-post .entry-title {
	color: #8f3f5a;
	letter-spacing: 0.02em;
}

body.blog .subSection-title,
body.archive .subSection-title,
body.single-post .subSection-title {
	color: #8f3f5a;
}

body.blog .entry-meta,
body.archive .entry-meta,
body.single-post .entry-meta {
	color: #7a6d72;
}

body.blog .vk_postList .item,
body.archive .vk_postList .item {
	background: #fff;
	border: 1px solid rgba(184, 90, 120, 0.15);
	border-radius: 14px;
	padding: 0.85rem 1rem;
	box-shadow: 0 4px 14px rgba(80, 40, 55, 0.05);
}

body.blog .vk_postList .item + .item,
body.archive .vk_postList .item + .item {
	margin-top: 0.8rem;
}

body.blog .page-link,
body.archive .page-link,
body.blog .pagination a,
body.archive .pagination a,
body.blog .pagination span,
body.archive .pagination span {
	border-radius: 999px;
	border-color: rgba(184, 90, 120, 0.25);
}

/* Strong fallback: keep news/post pages soft even with theme skin overrides */
body.blog,
body.archive,
body.single-post,
body.home.blog {
	background: #faf7f7 !important;
}

body.blog .siteContent,
body.archive .siteContent,
body.single-post .siteContent,
body.home.blog .siteContent,
body.blog .mainSection-base,
body.archive .mainSection-base,
body.single-post .mainSection-base,
body.home.blog .mainSection-base {
	background: transparent !important;
}

body.blog .mainSection,
body.archive .mainSection,
body.single-post .mainSection,
body.home.blog .mainSection,
body.blog .entry-body,
body.archive .entry-body,
body.single-post .entry-body {
	background: #fff !important;
	border: 1px solid rgba(184, 90, 120, 0.15) !important;
	border-radius: 18px !important;
	box-shadow: 0 10px 28px rgba(80, 40, 55, 0.06) !important;
}

body.blog .vk_postList .item,
body.archive .vk_postList .item,
body.home.blog .vk_postList .item,
body.blog .postList .item,
body.archive .postList .item {
	background: #fff !important;
	border: 1px solid rgba(184, 90, 120, 0.15) !important;
	border-radius: 14px !important;
	box-shadow: 0 4px 14px rgba(80, 40, 55, 0.05) !important;
}

/* Header tone + typography alignment */
.page-header {
	background-color: #b85a78 !important;
	color: #fff !important;
}

.page-header *,
body.blog,
body.archive,
body.single-post,
body.home.blog {
	font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
}

.news-single {
	max-width: 48rem;
	margin: 1.25rem auto 0;
}

.news-single__head {
	padding: 1rem 1.25rem;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(184, 90, 120, 0.18);
	border-radius: 14px;
	box-shadow: 0 4px 14px rgba(80, 40, 55, 0.05);
}

.news-single__cats {
	margin: 0 0 0.45rem;
	font-size: 0.85rem;
	color: #8f3f5a;
}

.news-single__cats a {
	color: #8f3f5a;
	text-decoration: none;
}

.news-single__title {
	margin: 0;
	font-size: clamp(1.2rem, 2.1vw, 1.6rem);
	line-height: 1.55;
	color: #5c5250;
}

.news-single__date {
	margin: 0.55rem 0 0;
	font-size: 0.84rem;
	color: #7a6d72;
}

.news-single__content {
	max-width: 48rem;
	margin: 1.25rem auto 0;
	padding: 1.25rem 1.35rem;
	background: #fff;
	border: 1px solid rgba(184, 90, 120, 0.15);
	border-radius: 14px;
	box-shadow: 0 4px 14px rgba(80, 40, 55, 0.05);
	color: #5c5250;
	line-height: 1.85;
}

.news-single__content > *:first-child {
	margin-top: 0;
}

.news-single__content > *:last-child {
	margin-bottom: 0;
}

.news-single__next {
	max-width: 48rem;
	margin: 0.9rem auto 0;
	text-align: right;
}

.news-single__next-link {
	display: inline-block;
	padding: 0.45rem 0.9rem;
	font-size: 0.88rem;
	background: #fff;
	border: 1px solid rgba(184, 90, 120, 0.22);
	border-radius: 999px;
	color: #8f3f5a;
	text-decoration: none;
}

.news-single__next-link:hover {
	background: rgba(184, 90, 120, 0.08);
	text-decoration: none;
}

.news-empty {
	margin-top: 1.25rem;
	text-align: center;
	color: #7a6d72;
}

.news-pagination-wrap .page-numbers {
	display: inline-flex;
	gap: 0.45rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

/* News cards layout (archive/index) */
body.blog .section--news .news-grid,
body.archive .section--news .news-grid,
body.home.blog .section--news .news-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	max-width: 64rem;
	margin: 1.5rem auto 0;
	padding: 0;
	border: 0;
}

body.blog .section--news .news-grid > li,
body.archive .section--news .news-grid > li,
body.home.blog .section--news .news-grid > li {
	margin: 0;
	border: 0;
}

body.blog .section--news .news-card,
body.archive .section--news .news-card,
body.home.blog .section--news .news-card {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	height: 100%;
	padding: 1rem 1.1rem;
	background: #fff;
	border: 1px solid rgba(184, 90, 120, 0.16);
	border-radius: 14px;
	box-shadow: 0 8px 22px rgba(80, 40, 55, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.blog .section--news .news-card:hover,
body.archive .section--news .news-card:hover,
body.home.blog .section--news .news-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(80, 40, 55, 0.1);
	opacity: 1;
	background: #fff;
}

body.blog .section--news .news-card__meta,
body.archive .section--news .news-card__meta,
body.home.blog .section--news .news-card__meta {
	font-size: 0.82rem;
	min-width: 0;
	color: #8f3f5a;
}

body.blog .section--news .news-card__title,
body.archive .section--news .news-card__title,
body.home.blog .section--news .news-card__title {
	font-size: 1rem;
	line-height: 1.65;
	font-weight: 700;
	color: #5c5250;
}

@media (max-width: 767px) {
	body.blog .section--news .news-grid,
	body.archive .section--news .news-grid,
	body.home.blog .section--news .news-grid {
		grid-template-columns: 1fr;
	}
}

/* single.php / index.php buttons */
body.blog .section--news .btn.btn--outline,
body.archive .section--news .btn.btn--outline,
body.single-post .section--news .btn.btn--outline,
body.home.blog .section--news .btn.btn--outline {
	border: 1px solid #b85a78 !important;
	color: #8f3f5a !important;
	background: #fff !important;
}

body.blog .section--news .btn.btn--outline:hover,
body.archive .section--news .btn.btn--outline:hover,
body.single-post .section--news .btn.btn--outline:hover,
body.home.blog .section--news .btn.btn--outline:hover {
	background: rgba(184, 90, 120, 0.08) !important;
	border-color: #8f3f5a !important;
	color: #8f3f5a !important;
}
