@charset "utf-8";

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

/* ============================================================
   ① 히어로 배너
   ============================================================ */
.m1-hero {
	position: relative;
	height: 800px;
	background: #6ecce8;
	overflow: hidden;
}

/* 배경 placeholder — 실제 이미지 교체 시 제거 */
.m1-hero-bg {
	position: absolute;
	inset: 0;
	background: url(/bscf/main/images/hero_bg01.jpg) no-repeat center bottom;
	background-size: cover;
	will-change: transform;
}

/* 사진 카드 (4장 공통) — border-radius 30px, 기울어진 채 화면 밖 잘림 */
.m1-hero-photo {
	position: absolute;
	width: 611px;
	height: 611px;
	border-radius: 30px;
	overflow: hidden;
	background: #d9d9d9;
	z-index: 2;
	pointer-events: none;
}

.m1-hero-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* 좌상단: center(0, 173), rotate -13.36deg */
.m1-hero-photo--l1 {
	left: -306px;
	top: -132px;
	transform: rotate(-13.36deg);
}

/* 좌하단: center(-55, 616), rotate +7.04deg */
.m1-hero-photo--l2 {
	left: -361px;
	top: 310px;
	transform: rotate(7.04deg);
}

/* 우상단: center(1953, 173), rotate +17.41deg */
.m1-hero-photo--r1 {
	right: -300px;
	top: -132px;
	transform: rotate(17.41deg);
}

/* 우하단: center(1976, 616), rotate -3.28deg */
.m1-hero-photo--r2 {
	right: -360px;
	top: 310px;
	transform: rotate(-3.28deg);
}

/* 중앙 콘텐츠 */
.m1-hero-content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 3;
	text-align: center;
	padding: 0 30px;
	margin-top: -60px;
}

.m1-hero-tit {
	font-family: "NanumSquareNeoExtraBold", "NanumSquareNeo", sans-serif;
	font-size: clamp(40px, calc(10px + 7vw), 84px);
	font-weight: 900;
	color: var(--primary-blue);
}

.m1-hero-sub {
	margin-top: 28px;
	font-size: clamp(14px, calc(8px + 1.6vw), 24px);
	font-weight: 500;
	color: var(--primary-blue);
}

/* ── 반응형 ── */
@media (max-width: 999px) {
	.m1-hero {
		height: 540px;
	}
	.m1-hero-photo {
		width: 320px;
		height: 320px;
	}
	.m1-hero-photo--l1 {
		left: -160px;
		top: -70px;
	}
	.m1-hero-photo--l2 {
		left: -190px;
		top: 163px;
	}
	.m1-hero-photo--r1 {
		right: -160px;
		top: -70px;
	}
	.m1-hero-photo--r2 {
		right: -190px;
		top: 163px;
	}
	.m1-hero-content {
		margin-top: -30px;
	}
}

@media (max-width: 850px) {
	.m1-hero-photo {
		display: none;
	}
}

@media (max-width: 768px) {
	.m1-hero {
		height: 460px;
	}
	.m1-hero-content {
		margin-top: -20px;
	}
	.m1-hero-sub br {
		display: none;
	}
}

@media (max-width: 499px) {
	.m1-hero {
		height: 360px;
	}
	.m1-hero-content {
		margin-top: 0;
	}
}

/* ============================================================
   ② 공감노트 피처드
   ============================================================ */
.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;
	}
}

@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;
	}
}

/* ============================================================
   ④ 소식 + 공모
   ============================================================ */
.m1-info {
	background: #fff;
	overflow: hidden;
}

.m1-news {
	position: relative;
}

.m1-news::before {
	content: "";
	position: absolute;
	top: -60px;
	bottom: -80px;
	left: -9999px;
	right: 0;
	background: #e4f9ff;
	border-radius: 0 30px 30px 0;
	z-index: 0;
}

.m1-news > * {
	position: relative;
	z-index: 1;
}

.m1-info-inner {
	position: relative;
	z-index: 1;
	max-width: 1480px;
	margin: 0 auto;
	padding: 60px 0 80px;
	display: flex;
	gap: 95px;
	align-items: flex-start;
}

.m1-news {
	flex: 1;
	min-width: 0;
	padding-right: 95px;
}

.m1-notice {
	flex: 0 0 477px;
}

.m1-info-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 36px;
}

.m1-info-tit {
	font-size: clamp(28px, 3.5vw, 48px);
	font-weight: 700;
	color: #333;
}

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

/* 3월 소식 */
.m1-news-swiper {
	--swiper-pagination-color: var(--primary-blue);
	--swiper-pagination-bullet-inactive-color: #ccc;
	--swiper-pagination-bullet-inactive-opacity: 1;
	padding-bottom: 32px;
}

.m1-news-img {
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: #b8d4e4;
	border: 1px solid #999;
	margin-bottom: 14px;
}

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

.m1-news-item a:hover .m1-news-img img {
	transform: scale(1.05);
}

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

.m1-news-tit {
	font-size: clamp(18px, 1.8vw, 22px);
	font-weight: 600;
	color: #000;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.2s;
}

.m1-news-item a {
	display: block;
}

.m1-news-item a:hover .m1-news-tit {
	color: var(--primary-blue);
}

/* 공모 안내 */
.m1-notice-list {
	border-top: 1px solid #ccc;
}

.m1-notice-item {
	padding: 22px 0;
	border-bottom: 1px solid #ccc;
}

.m1-notice-org {
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 700;
	color: #000;
	margin-bottom: 8px;
	transition: color 0.2s;
}

.m1-notice-item a {
	display: block;
}

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

.m1-notice-desc {
	font-size: clamp(14px, calc(11px + 0.7vw), 18px);
	color: #666;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ── 반응형 ── */
@media (max-width: 1540px) {
	.m1-info-inner {
		padding: 60px 60px 80px;
		gap: 40px;
	}
	.m1-news {
		padding-right: 50px;
		padding-bottom: 30px;
	}
	.m1-notice {
		flex: 0 0 360px;
	}
}

@media (max-width: 999px) {
	.m1-news {
		flex: none;
		width: 100%;
		padding-right: 0;
	}
	.m1-news::before {
		top: -40px;
		bottom: 0;
		right: -9999px;
		border-radius: 0;
	}
	.m1-info-inner {
		flex-direction: column;
		gap: 0;
		padding: 40px 30px 0;
	}
	.m1-notice {
		flex: none;
		width: 100%;
		padding-top: 30px;
		background: #fff;
		margin: 0;
	}
}

@media (max-width: 768px) {
	.m1-info-inner {
		padding: 32px 20px 0;
	}
	.m1-info-head {
		margin-bottom: 24px;
	}
	.m1-info-more {
		width: 35px;
		height: 35px;
	}
	.m1-info-more::before {
		height: 14px;
	}
	.m1-info-more:after {
		width: 14px;
	}
	.m1-notice {
		padding: 32px 0;
	}
}

@media (max-width: 499px) {
	.m1-notice-item {
		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;
	}
}
