@charset "UTF-8";
@import url(../root.css);

.info-section {
  display: flex;
  gap: 20px;
	margin-bottom: 40px;
}

.info-left {
  flex: 0 0 300px; /* 고정폭 */
}

.visaul-box {
	text-align: center;
    border: 1px solid #dedede;
    border-radius: 10px;
    overflow: hidden;
}

.visual-img {
	width: 300px;
}

/* 데이터 테이블 */
[data-table] {
	overflow: hidden;
}

[data-table] table {
	border-top: 1px solid var(--default-color);
	height: 100%;
}

[data-table] table :is(th, td) {
	padding: 0.5em;
	border-bottom: 1px solid var(--default-color);
	-webkit-border-start: 1px solid var(--default-color);
	border-inline-start: 1px solid var(--default-color);
	-webkit-border-end: 1px solid var(--default-color);
	border-inline-end: 1px solid var(--default-color);
	text-align: left;
	vertical-align: middle;
}

[data-table] table tbody :is(th, td) {
	padding: 0.75em 1em;
}

[data-table] table th {
	background: #eee;
	font-size: 1.1em;
	font-weight: 700;
	text-align: center;
}

[data-table] table thead th {
	background: var(--primary-color);
	color: #fff;
	padding-top: 0.25em;
	padding-bottom: 0.25em;
}

[data-table] table.center td {
	text-align: center;
}

[data-table] table.side_borderless tr > *:first-child {
	-webkit-border-start: none;
	border-inline-start: none;
	background-color: #f4f4f4;
}

[data-table] table.side_borderless tr > *:last-child {
	-webkit-border-end: none;
	border-inline-end: none;
}

[data-table] .vertical_borderless {
	border-top-width: 3px; 
	border-color: var(--primary-color);
}


[data-table] .vertical_borderless .title {
	background-color: #f4f4f4;
}

[data-table] table.vertical_borderless :is(th, td) {
	-webkit-border-start: none;
	border-inline-start: none;
	-webkit-border-end: none;
	border-inline-end: none;
	line-height: 1.6;
}

[data-table] table :is(th.left, td.left) {
	text-align: left;
}

[data-table] table :is(input[type="text"], [data-select-box]) {
	width: 100%;
}

[data-table] table [data-select-box] select {
	min-width: 0;
}

[data-table] table textarea {
	width: 100%;
	height: 200px;
	border: 1px solid var(--default-color);
	padding: 10px;
}

@media (max-width: 1024px) {
	.info-section {
	    flex-direction: column;
	}
	
	[data-table] col {
		width: 100%;
	}
	
	[data-table] {
		overflow-x: auto;
	}

	[data-table]:before {
		content: "↔Scroll left to right.";
		display: block;
		margin-bottom: 5px;
		font-size: 0.8em;
		color: var(--primary-color);
	}

	[data-table].fix:before {
		display: none;
	}

	[data-table] table {
		margin-left: 0;
		width: 1024px;
	}

	[data-table].fix table {
		width: 100%;
	}

	[data-table] table :is(th, td) {
		padding: 0.25em;
	}
}

@media (max-width: 599px) {
	.visual-img {
	    width: 200px;
	}
	
	[data-table] table tbody :is(th, td) {
		padding: 0.75em 1em;
	}
}


/* === Posters Swiper (연혁 스타일) === */
.posters-swiper { margin: 10px 0 40px; }

.posters-swiper .swiper-wrapper { padding: 8px 0 34px; }
.posters-swiper .swiper-slide { height: auto; }

.poster-card{
  display: grid;
  gap: 12px;
  background:#fff;
  border:1px solid #e7ecf2;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: transform .15s ease, box-shadow .2s ease;
  cursor: auto;
  height: 510px;
}

.poster-thumb img{
	width: 100%;
    display: block;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 14px;
}

.poster-meta { 
	text-align: left;
	line-height: 1.5; 
    padding: 0 10px;
}

.poster-meta .year{
  margin: 2px 0 2px;
  font-weight: 900;
  font-size: 22px;
}
.poster-meta .series{
  color:#6b7280; 
  font-size: 16px;
  margin-bottom: 6px;
}
.poster-meta .title{
  margin: 4px 0 2px;
  font-weight: 700; color:#101010; font-size: 18px;
}
.date, .place{
  margin: 0; color:#4b5563; font-size: 13px;
  display: flex;
}
.poster-card span {
    font-size: 16px;
    margin-right: 4px;
}

.posters-swiper .posters-nav{
  color: var(--primary-color);
}
.posters-swiper .swiper-button-prev,
.posters-swiper .swiper-button-next{
  top: 40%;                   /* 카드 중앙쯤 */
}
.posters-swiper .swiper-button-prev {
	left: 10px;
}

.posters-swiper .swiper-button-next {
  right: 10px;
}

.posters-swiper .swiper-button-prev:hover,
.posters-swiper .swiper-button-next:hover {
	opacity: 0.8;
}

.posters-swiper .swiper-button-prev::after,
.posters-swiper .swiper-button-next::after{
  font-size: 14px;
}

/* 페이지네이션 점 */
.posters-swiper .swiper-pagination-bullet{
  width: 8px; height: 8px; opacity: .4;
}
.posters-swiper .swiper-pagination-bullet-active{ opacity: 1; }

.image-placeholder > .page_main_logo{
  width:100%;
  height:100%;
  object-fit:contain;    /* 전체 보이기 (좌우 딱, 위아래 레터박스) */
}
/* 반응형: 화면 넓이에 따라 보여줄 카드 수 조정 */
@media (max-width: 640px){
  .poster-meta .year{ font-size: 18px; }
  .poster-meta .title{ font-size: 15px; }
}
