/* 프리텐다드 폰트 적용 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

.tgr-press-section { 
    padding: 100px 0; 
    background: #fff; 
    width: 95%; 
    max-width: 1400px; 
    margin: 0 auto;
}

.tgr-press-header { 
    margin-bottom: 50px; 
    border-bottom: 1.5px solid #f1f1f1; 
    padding-bottom: 30px; 
}

.tgr-press-headline { 
    font-family: "Pretendard Variable", Pretendard, sans-serif !important;
    font-size: 38px !important; 
    color: #1587F2 !important; 
    font-weight: 800 !important; 
    margin: 0 !important; 
    letter-spacing: -1px !important;
}

.tgr-press-sub { 
    font-family: "Pretendard Variable", Pretendard, sans-serif !important;
    font-size: 17px !important; 
    color: #222222 !important; 
    margin-top: 12px !important;
    font-weight: 400;
}

.press-yt-card {
    text-decoration: none !important;
    display: block;
}

.press-thumb-wrap { 
    position: relative; 
    width: 100%; 
    aspect-ratio: 16 / 9; 
    border-radius: 12px; 
    overflow: hidden; 
    background: #f0f0f0; /* 이미지 로딩 전 배경색 */
}

.press-thumb-wrap img { 
    width: 100% !important; 
    height: 100% !important; 
    object-fit: cover !important; 
    transition: transform 0.4s ease;
}

/* 호버 시 이미지 살짝 확대 효과 */
.press-yt-card:hover .press-thumb-wrap img {
    transform: scale(1.05);
}

/* 플레이 버튼: 초기 상태 투명도 0 */
.press-play-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; 
    transition: opacity 0.3s ease;
    z-index: 2;
}

/* 호버 시 플레이 버튼 등장 */
.press-yt-card:hover .press-play-overlay {
    opacity: 1;
}

.play-icon {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.press-video-title {
    font-family: "Pretendard Variable", Pretendard, sans-serif !important;
    font-size: 16px;
    color: #333 !important;
    text-align: left; /* 이미지처럼 왼쪽 정렬 혹은 가운데 취향껏 */
    margin-top: 18px;
    font-weight: 600;
    line-height: 1.5;
    word-break: keep-all;
}

/* 썸네일 없을 때 처리 */
.no-thumb {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: #ccc; font-size: 14px;
}

/* 네비게이션 버튼 (흰색 배경 원형) */
.tgrPressSwiper .swiper-button-next,
.tgrPressSwiper .swiper-button-prev {
    width: 44px !important;
    height: 44px !important;
    background-color: #fff !important;
    border-radius: 50% !important;
    color: #333 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    top: 40% !important; /* 이미지 중심에 맞게 조정 */
}

.tgrPressSwiper .swiper-button-next:after,
.tgrPressSwiper .swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: bold;
}

.tgrPressSwiper .swiper-button-prev { left: 15px !important; }
.tgrPressSwiper .swiper-button-next { right: 15px !important; }

/* 페이지네이션 (하단 점) */
.tgrPressSwiper .swiper-pagination {
    bottom: -40px !important;
}
.tgrPressSwiper .swiper-pagination-bullet {
    background: #ccc !important;
    opacity: 1;
}
.tgrPressSwiper .swiper-pagination-bullet-active {
    background: #1587F2 !important;
    width: 20px;
    border-radius: 4px;
}

/* 반응형 조정 */
@media (max-width: 1440px) {
    .tgrPressSwiper .swiper-button-prev { left: 10px !important; }
    .tgrPressSwiper .swiper-button-next { right: 10px !important; }
}
@media (max-width: 768px) {
    .tgr-press-headline { font-size: 30px !important; }
    .tgr-press-section { padding: 60px 0; }
    .tgrPressSwiper .swiper-button-next,
    .tgrPressSwiper .swiper-button-prev { display: none !important; } /* 모바일은 버튼 숨김 */
}