@charset "utf-8";

/* ============================================================
   공감그리고 main02
   ============================================================ */

/* ============================================================
   ① 히어로 배너 (Figma node 299:210)
   ============================================================ */
.m2-hero {
	background: #baefff;
	height: 680px;
	overflow: hidden;
}

.m2-hero-inner {
	max-width: 1680px;
	margin: 0 auto;
	height: 100%;
	display: flex;
	align-items: center;
	padding: 0 clamp(20px, 8vw, 220px);
	gap: 40px;
}

.m2-hero-content {
	flex: 1;
	min-width: 0;
}

.m2-hero-vol {
	font-family: "GMarketSans", sans-serif;
	font-size: clamp(14px, calc(10px + 0.8vw), 18px);
	color: #333;
	margin-bottom: 20px;
}
.m2-hero-vol-date {
	font-weight: 500;
}
.m2-hero-vol strong {
	font-weight: 700;
}

.m2-hero-tit {
	font-family: "NanumSquareNeoHeavy", "NanumSquareNeoExtraBold", "NanumSquareNeo", sans-serif;
	font-size: clamp(48px, calc(20px + 5vw), 82px);
	font-weight: 900;
	color: #005694;
	margin-bottom: 28px;
	line-height: 1.18;
}

.m2-hero-sub {
	font-size: clamp(14px, calc(8px + 1.2vw), 20px);
	font-weight: 500;
	color: #005694;
}

/* 우측 사진 그리드 */
.m2-hero-photos {
	flex: 0 0 44%;
	display: flex;
	gap: 16px;
	align-self: stretch;
	padding: clamp(40px, 7%, 90px) 0 clamp(24px, 4%, 50px);
}

.m2-hero-photo {
	overflow: hidden;
	background: #d9d9d9;
}

.m2-hero-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
}

.m2-hero-photo--tall {
	flex: 0 0 58%;
}

.m2-hero-photo-stack {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.m2-hero-photo--sq {
	flex: 1;
}

/* ── 반응형 ── */
@media (max-width: 1399px) {
	.m2-hero {
		height: 560px;
	}
}

@media (max-width: 999px) {
	.m2-hero {
		height: auto;
		padding: 50px 0 40px;
	}
	.m2-hero-inner {
		flex-direction: column;
		align-items: flex-start;
		padding: 0 30px;
		gap: 28px;
	}
	.m2-hero-photos {
		flex: none;
		width: 100%;
		height: 220px;
		padding: 0;
	}
}

@media (max-width: 768px) {
	.m2-hero {
		padding: 40px 0 32px;
	}
	.m2-hero-inner {
		padding: 0 20px;
		gap: 20px;
	}
	.m2-hero-photos {
		height: 170px;
		gap: 10px;
	}
	.m2-hero-photo-stack {
		gap: 10px;
	}
	.m2-hero-tit {
		margin-bottom: 16px;
	}
	.m2-hero-sub br {
		display: none;
	}
}

@media (max-width: 499px) {
	.m2-hero {
		padding: 32px 0;
	}
	.m2-hero-inner {
		padding: 0 16px;
	}
	.m2-hero-photos {
		height: 130px;
	}
}

/* ============================================================
   ② 공감노트 피처드
   ============================================================ */
.m1-feature {
	display: flex;
	max-height: 596px;
}

.m1-feature-img {
	flex: 0 0 49.4%;
	position: relative;
	background: #c0d8e8;
	overflow: hidden;
	clip-path: inset(0 0 0 0);
}

.m1-feature-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
}

.m1-feature:hover .m1-feature-img img {
	transform: scale(1.04);
}

.m1-feature-content {
	flex: 1;
	background: #c9f3ff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(40px, 5vw, 80px) clamp(60px, 8vw, 148px);
}

.m1-feature-cate {
	font-size: clamp(14px, calc(11px + 0.7vw), 18px);
	font-weight: 700;
	color: #999;
	margin-bottom: 18px;
}

.m1-feature-tit {
	font-size: clamp(20px, calc(10px + 2.5vw), 34px);
	font-weight: 700;
	color: #333;
	margin-bottom: 28px;
	line-height: 1.3;
}

.m1-feature-desc {
	font-size: clamp(14px, calc(11px + 0.7vw), 18px);
	color: #666;
	margin-bottom: 40px;
}

.m1-feature-link {
	display: inline-block;
	font-size: clamp(14px, calc(11px + 0.7vw), 18px);
	font-weight: 700;
	color: #4b6ea3;
	transition: color 0.2s;
}
.m1-feature-link:hover {
	color: #1a3f6f;
}

@media (max-width: 999px) {
	.m1-feature {
		flex-direction: column;
		max-height: none;
	}
	.m1-feature-img {
		flex: 0 0 300px;
	}
	.m1-feature-content {
		padding: 40px 30px;
	}
}

@media (max-width: 768px) {
	.m1-feature-img {
		flex: 0 0 240px;
	}
	.m1-feature-content {
		padding: 30px 20px;
	}
}

@media (max-width: 499px) {
	.m1-feature-img {
		flex: 0 0 200px;
	}
	.m1-feature-content {
		padding: 24px 16px;
	}
	.m1-feature-desc {
		margin-bottom: 24px;
	}
}

/* ============================================================
   ③ 기사 카드 그리드
   ============================================================ */
.m1-articles {
	padding: 60px 0 60px;
}

.m1-articles-inner {
	max-width: 1480px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 24px;
}

.m1-art-card {
	display: block;
	position: relative;
	border-radius: 4px;
	overflow: hidden;
}

.m1-art-card--lg {
	grid-column: span 3;
	height: 460px;
}

.m1-art-card--sm {
	grid-column: span 2;
	height: 300px;
}

.m1-art-card-img {
	position: absolute;
	inset: 0;
	background: #b0c8d8;
}

.m1-art-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.m1-art-card:hover .m1-art-card-img img {
	transform: scale(1.05);
}

.m1-art-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	transition: background 0.4s ease;
}

.m1-art-card:hover .m1-art-overlay {
	background: rgba(0, 0, 0, 0.3);
}

.m1-art-body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 30px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	transition: transform 0.4s ease;
}

.m1-art-card:hover .m1-art-body {
	transform: translateY(-6px);
}

.m1-art-cate {
	display: inline-block;
	font-size: clamp(14px, calc(11px + 0.7vw), 18px);
	font-weight: 600;
	color: #999;
}

.m1-art-tit {
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 600;
	color: #fff;
}

/* ── 반응형 ── */
@media (max-width: 1540px) {
	.m1-articles-inner {
		padding: 0 30px;
	}
	.m2-info-inner {
		padding: 0 30px;
	}
}

@media (max-width: 999px) {
	.m1-articles {
		padding: 40px 0;
	}
	.m1-articles-inner {
		padding: 0 20px;
	}
	.m1-art-card--lg {
		height: 300px;
	}
	.m1-art-card--sm {
		height: 220px;
	}
	.m1-art-body {
		padding: 20px;
	}
}

@media (max-width: 768px) {
	.m1-articles {
		padding: 32px 0;
	}
	.m1-articles-inner {
		padding: 0 16px;
		gap: 14px;
	}
	.m1-art-card--lg {
		height: 260px;
	}

	.m1-art-card--sm {
		height: 200px;
	}
	.m1-art-body {
		padding: 15px;
	}
}

@media (max-width: 449px) {
	.m1-articles-inner {
		grid-template-columns: repeat(2, 1fr);
	}
	.m1-art-card--lg:first-child {
		grid-column: 1 / -1;
	}
	.m1-art-card--lg:nth-child(2),
	.m1-art-card--sm {
		grid-column: span 1;
	}
	.m1-art-card--lg:nth-child(2) {
		height: 200px;
	}
}

/* ============================================================
   ④ 공모 안내 + 소식 (Figma node 496:77)
   ============================================================ */
.m2-info {
	background: #fff;
	padding: 80px 0 100px;
}

.m2-info-inner {
	max-width: 1480px;
	margin: 0 auto;
	display: flex;
	gap: 0;
}

.m2-info-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.m2-info-tit {
	font-size: clamp(28px, calc(14px + 2.5vw), 48px);
	font-weight: 700;
	color: #333;
}

.m2-info-more {
	display: block;
	position: relative;
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: #d9d9d9;
	transition: transform 0.4s ease;
}
.m2-info-more:hover {
	transform: rotate(270deg);
}
.m2-info-more::before,
.m2-info-more::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #000;
}
.m2-info-more::before {
	width: 2px;
	height: 20px;
}
.m2-info-more::after {
	width: 20px;
	height: 2px;
}

/* 공모 안내 */
.m2-notice {
	flex: 1 1 0;
	padding-right: 60px;
}

.m2-notice-list {
	margin-top: 40px;
	border-top: 1px solid #ccc;
}

.m2-notice-item {
	border-bottom: 1px solid #ccc;
}

.m2-notice-item a {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 20px;
	align-items: center;
	padding: 22px 0;
}

.m2-notice-org {
	font-size: clamp(14px, calc(10px + 0.8vw), 18px);
	font-weight: 600;
	color: #666;
}

.m2-notice-desc {
	font-size: clamp(18px, calc(12px + 1vw), 24px);
	font-weight: 600;
	color: #000;
	transition: color 0.2s;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.m2-notice-item a:hover .m2-notice-desc {
	color: var(--primary-blue);
}

/* 3월 소식 */
.m2-news {
	flex: 0 0 477px;
	padding-left: 60px;
	border-left: 1px solid #e0e0e0;
}

.m2-news-card {
	display: flex;
	gap: 16px;
	margin-top: 40px;
	border: 1px solid #000;
	padding: 16px;
}

.m2-news-img {
	flex: 0 0 37%;
	border: 1px solid #999;
	overflow: hidden;
	aspect-ratio: 3 / 4;
}

.m2-news-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.m2-news-card:hover .m2-news-img img {
	transform: scale(1.04);
}

.m2-news-body {
	flex: 1;
	min-width: 0;
	padding: 8px 0;
}

.m2-news-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	padding: 0 10px;
	background: #e1e1e1;
	font-size: clamp(14px, calc(10px + 0.8vw), 18px);
	font-weight: 600;
	color: #000;
	margin-bottom: 14px;
}

.m2-news-tit {
	font-size: clamp(18px, calc(12px + 1vw), 22px);
	font-weight: 600;
	color: #000;
	transition: color 0.2s;
}

.m2-news-card:hover .m2-news-tit {
	color: var(--primary-blue);
}

/* ── 반응형 ── */
@media (max-width: 999px) {
	.m2-info {
		padding: 50px 0 60px;
	}
	.m2-notice {
		flex: 0 0 55%;
		padding-right: 30px;
	}
	.m2-news {
		padding-left: 30px;
	}
	.m2-notice-item a {
		grid-template-columns: 110px 1fr;
		gap: 14px;
	}
}

@media (max-width: 768px) {
	.m2-info {
		padding: 40px 0 50px;
	}
	.m2-info-inner {
		flex-direction: column;
		gap: 40px;
		padding: 0 20px;
	}
	.m2-notice {
		flex: none;
		padding-right: 0;
	}
	.m2-news {
		flex: none;
		padding-left: 0;
		border-left: none;
		border-top: 1px solid #e0e0e0;
		padding-top: 40px;
	}
	.m2-info-more {
		width: 35px;
		height: 35px;
	}
	.m2-info-more::before {
		height: 14px;
	}
	.m2-info-more::after {
		width: 14px;
	}
	.m2-notice-list {
		margin-top: 24px;
	}
	.m2-notice-item a {
		grid-template-columns: 1fr;
		gap: 6px;
		padding: 16px 0;
	}
	.m2-news-card {
		margin-top: 24px;
	}
}

@media (max-width: 499px) {
	.m2-info-inner {
		padding: 0 16px;
	}
	.m2-notice-item a {
		padding: 14px 0;
	}
}

/* ============================================================
   ⑤ 구독자 만족도 조사 배너
   ============================================================ */
.m1-survey {
	position: relative;
	background: #294369;
	overflow: hidden;
}

.m1-survey-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	max-width: 1480px;
	margin: 0 auto;
}

.m1-survey-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 15px 0;
	gap: 10px;
}

.m1-survey-badge {
	display: inline-flex;
	align-items: center;
	background: #fff;
	color: #2a3b71;
	font-family: "GMarketSans", sans-serif;
	font-size: clamp(14px, calc(11px + 0.7vw), 18px);
	font-weight: 700;
	padding: 10px 15px 5px;
	border-radius: 20px;
	align-self: flex-start;
}

.m1-survey-tit {
	font-family: "GMarketSans", sans-serif;
	font-size: clamp(18px, calc(2.7vw - 2.7px), 34px);
	font-weight: 700;
	color: #ffef5f;
}

.m1-survey-desc {
	font-size: clamp(14px, calc(9px + 1.1vw), 20px);
	color: #fff;
}

/* 우측 커피교환권 이미지 */
.m1-survey-img {
	align-self: flex-end;
}

.m1-survey-img img {
	width: auto;
	max-width: 100%;
	height: auto;
	display: block;
}
@media (max-width: 1449px) {
	.m1-survey-inner {
		padding: 0 30px;
	}
	.m1-survey-img {
		width: 321px;
	}
}
@media (max-width: 999px) {
	.m1-survey {
		height: auto;
		margin-top: 30px;
	}
}

@media (max-width: 768px) {
	.m1-survey-inner {
		padding: 0 20px;
	}
	.m1-survey-img {
		display: none;
	}
}

@media (max-width: 499px) {
	.m1-survey-inner {
		padding: 24px 16px;
		gap: 0;
	}
	.m1-survey-content {
		gap: 8px;
	}
}
