@charset "UTF-8";

.slider {
  position: relative;
  max-width: 1024px;  
  height: 550px;    
  overflow: hidden;     
  margin: 40px auto;
  background: white;
  border-radius: 10px;
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
  height: 550px;
}

.slide img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  display: block;
}

.prev-slide {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.5);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

.next-slide{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

.prev-slide:hover, .next-slide:hover {
  background: rgba(0,0,0,0.8);
}

.slider-pagination {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}


.slider-pagination span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.slider-pagination .active {
  background: white;
}

/* news */
.news{
    margin-top:40px;
    padding-bottom:50px;
}

.section-title{
    font-size:40px;
    margin-left:30px;
}

.news-box{
    background-color: white;
    display:flex;
    color:black;
    flex-wrap:wrap;
    width: 90%;
    max-width:1000px;
    overflow:hidden;
    height:150px;
    margin:0 auto;
    margin-top:20px;
    border-radius:6px;
}

.news-link{
    display: block;
    max-width: 1000px;
    margin:0 auto;
    text-decoration:none;
    color:inherit;
}

.news-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.news-samune{
    width:200px;
    height:150px;
    overflow:hidden;
    flex-shrink:0;
    background-color: black;
    color: white;
}

.year{
    font-size:25px;
    text-align:center;
    margin-top:20px;
}

.month-day{
    font-size:45px;
    text-align:center;
    margin-top:5px;
}

.news-box-text{
    flex:1;
    margin-top:10px;
    margin-left:20px;
    position:relative;
}

.news-box-title{
    font-size:25px;
    margin-bottom:10px;
    text-align:left;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.more-btn-wrapper {
    text-align: right;   
}

.more-btn{
  display: inline-block;
    margin-top:10px;
    margin-right: 100px;
    font-size:40px;
    color: white;
    text-align: right;
    transition: transform 0.3s ease, color 0.2s ease;
}

.more-btn:hover {
    transform: scale(0.95);
    color:gray;
}

/* report */
.report-box{
    background-color: white;
    display:flex;
    color:black;
    flex-wrap:wrap;
    width: 90%;
    max-width:1000px;
    overflow:hidden;
    height:150px;
    margin:0 auto;
    margin-top:20px;
    border-radius:6px;
}

.report-link{
    display: block;
    max-width: 1000px;
    margin:0 auto;
    text-decoration:none;
    color:inherit;
}

.report-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.report-samune{
    width:200px;
    height:150px;
    overflow:hidden;
    flex-shrink:0;
}

.report-samune img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position: center;
    display:block;

}

.report-box-text{
    flex:1;
    margin-top:10px;
    margin-left:20px;
    position:relative;
}

.report-box-title{
    font-size:25px;
    margin-bottom:10px;
    text-align:left;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.report-data {
    font-size: 20px;
    position:absolute;
    bottom: 0;
    right: 0;
    margin-right:11px;
}

/* PHOTO */

/* SNS VIEW */
.insta-wrapper{
  max-width: 300px;
  margin: 0 auto;
  overflow: hidden;
  height: 300px;
}

.instagram-media{
  width : 100% !important;
  min-width: auto !important;
  max-width: 100% !important;
}

@media all and (max-width: 950px) {

.slider {
    height: auto;
}

.slide {
    height: auto;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    max-height: 100%;
}

}
