/**
 * Corporate News Archive Page Styles (企業情報 お知らせ一覧)
 *
 * Extends page-news.css by overriding portal CSS variables
 * with corporate green theme colors.
 *
 *
 * @package Okayama
 */

/* ========================================
   Corporate Variable Overrides
   ======================================== */

.corp-news {
	--portal-white: #ffffff;
	--portal-blue: #6bb529;
	--portal-text: #333333;
	--portal-gray: #d9d9d9;
	--portal-radius-md: 24px;
	--portal-radius-sm: 18px;
	--portal-radius-pill: 400px;

	background-color: #f3f8e7;
	font-family: 'Noto Sans JP', sans-serif;
	color: #333;
}

/* ========================================
   Page Title Section
   ======================================== */

.corp-news-title {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 40px 20px 0;
}

.corp-news-title__heading {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.6;
	color: #333;
	margin: 0;
	text-align: center;
}

.corp-news-title__sub {
	font-family: 'Reddit Sans', sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.6;
	color: #6bb529;
	text-transform: uppercase;
}

/* ========================================
   News Archive Overrides
   ======================================== */

/* Adjust top padding for corporate layout */
.corp-news .news-archive {
	padding-top: 60px;
}

/* Tag hover stays green (already green via variable) */
.corp-news .news-archive__item:hover .news-archive__item-tag {
	background-color: #5a9a22;
}

.corp-news .news-archive__item-tag--emergency {
	background-color: #e52c2c;
}

.corp-news .news-archive__item:hover .news-archive__item-tag--emergency {
	background-color: #c92525;
}

/* ========================================
   Contact CTA Spacing
   ======================================== */

.corp-news .corp-contact {
	padding: 100px 20px 80px;
}

/* ========================================
   Desktop Overrides (min-width: 768px)
   ======================================== */

@media (min-width: 768px) {

	/* Page Title */
	.corp-news-title {
		padding: 80px 40px 0;
		gap: 6px;
	}

	.corp-news-title__heading {
		font-size: 40px;
	}

	/* News archive spacing */
	.corp-news .news-archive {
		padding-top: 100px;
	}

	/* Contact CTA */
	.corp-news .corp-contact {
		padding: 100px var(--corp-pad-side) 100px;
	}
}
