/*TYPO*/




/*BODY*/

body{
    font-family: 'Outfit-Variable';
    
    color: wheat;
}

h1,
h2,
h3,
h4,
h5,
h6 {

    font-family: 'Outfit-Variable';
    font-weight: normal;
}


h1 {
   
    font-weight: 80;
    letter-spacing: 0.1em;
    line-height: 1;
    color: rgb(255, 255, 255);
}



h2 {
  margin-left: 40px;
}
/*CUSTOM CSS*/



body{

	background-color: rgb(61, 61, 68);
	color: rgb(255, 255, 255);
}

a,
a:visited {
	color: rgb(255, 255, 255);
}

.entry-title{
    display: none;
}

/*STRUCTURE*/
.site-header{
  
    border-bottom: 0px solid rgb(0, 0, 0);
}


.site-footer{
   
    border-top: 0px solid rgb(0, 0, 0);

}

.site-header,
.site-main,
.site-footer{
    padding: 1rem;
}


/*HEADER*/

.site-title,
.site-title a {
    font-size: 0vw;
    font-family: 'Outfit-Variable';
}

.site-header{
    letter-spacing: 0rem;
    background-color: rgb(61, 61, 68);
    display: flex;
    justify-content: center;
    align-items: baseline;
}


/* 버튼들 가로 정렬 */


.wp-block-image img {
  box-sizing: border-box;
  height: auto;
  max-width: 90%;

  display: block;      /* ← block 요소로 만들어야 auto margin이 먹힘 */
  margin-left: auto;   /* ← 가운데 정렬 */
  margin-right: auto;
}




/* pin the logo on the top */
/* 화면 상단에 작게 떠 있을 로고 */
.floating-logo {
  position: fixed;
  top: 10px;              /* 위에서 얼마나 떨어질지 */
  left: 50%;
  transform: translateX(-50%);
  width: 140px;           /* 작은 로고 크기 */
  z-index: 1000;
  display: none;          /* 기본은 안 보임 */
}






.main-navigation{
   
    width: auto;
 
}

.site-decoration{
    display: none;

}

/*SITE BRANDING*/
h1.site-title,
p.site-title{
    margin: 0;
    line-height: 0;
    
}

/* 실제 클릭 영역인 링크를 이미지 박스로 만들기 */
.site-title a {
  /* 텍스트는 보이지 않게 숨기되, HTML 안에는 남겨둔다 */
  color: transparent;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}

.site-title img {
  width: clamp(220px, 40vw,720px);
  height: auto;
  display: block;
}

/* =========================
   NAVIGATION - 기본
   ========================= */


        .main-navigation {
          width: auto;
        }
        
        /* 기본: 메뉴는 숨김 (버거 열렸을 때만 보이게) */
        .main-navigation ul {
          display: none;
          margin: 0;
          padding: 0;
        }
        
        /* =========================
           BURGER MENU 팝업 (DESKTOP)
           ========================= */
        
        .main-navigation.toggled {
          position: fixed;
          top: 60%;
          left: 70%;
        
          width: 80vw;
          max-width: 400px;
          min-height: 320px;
        
          background-color: rgb(255, 89, 89);
          border-radius: 20px;
          border: 0px solid rgba(255, 89, 89, 1);
          box-shadow: 0 0 20px 20px rgba(255, 89, 89, 1);
        
          z-index: 1999;
        
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
        }
        
        /* 토글 상태에서 "메인 메뉴(#primary-menu)"만 보여주기 */
        .main-navigation.toggled #primary-menu {
          display: flex !important;
          flex-direction: column;
          justify-content: center;
          align-items: center;
        
          padding: 0;
          margin: 0;
          width: 100%;
        }
        
        /* 메뉴 링크 (DESKTOP) */
        .main-navigation.toggled #primary-menu > li > a {
          font-size: 4rem;
          padding: 0.3rem 0;
          display: block;
          text-align: right;
          line-height: 3.5rem;
        }
        
        /* 공통 sub-menu (언어 말고 다른 서브메뉴 대비) */
        .main-navigation ul ul {
          list-style: none;
          padding: 1rem;
          font-size: 0.8em;
          box-shadow: none;
          background-color: transparent;
        }
        
        
        /* =========================
           BURGER 버튼
           ========================= */
        
        .menu-toggle{
          display: block !important;
          z-index: 2000;
          position: fixed;
          top: 0rem;
          right: 2rem;
          background: url(image/burger.svg) no-repeat center;
          background-size: contain;
          width: 50px;
          height: 100px;
          text-indent: -9999px;
          border: 0;
          transition: transform 0.5s ease-out, opacity 0.5s ease-out;
          transform-origin: top right;
        }
        
        .menu-toggle:hover {
          transform: scale(1.08);
          opacity: 1;
        }
        
        .menu-toggle:active{
          transform: scale(0.98);
        }
        
        /* .toggled .menu-toggle {
          background-image: url(image/burger-off.svg);
        } */
        
        
        /* =========================
           LANG PANEL – DESKTOP
           ========================= */
        
        /* LANGUAGE 텍스트 숨기기 */
        /* 언제나 Language 텍스트는 숨기기 (웹 + 모바일 공통) */
        .main-navigation .lang-menu > a {
         display: none !important;
        }
   
        
        /* 데스크톱: 언어 메뉴를 화면 왼쪽 위로 완전 분리 */
        .main-navigation.toggled .lang-menu > ul.sub-menu {
          position: fixed !important;
          top: 3rem;
          left: 3rem;
          transform: none;
        
          margin: 0;
          padding: 0;
          list-style: none;
        
          display: flex !important;
          flex-direction: row !important;
          gap: 1.2rem;
        
          width: auto;
          height: auto;
        
          background: transparent;
          box-shadow: none;
          z-index: 2001;
        }
        
        /* 언어 pill (DESKTOP) */
        .main-navigation.toggled .lang-menu > ul.sub-menu > li > a {
          font-size: 3.2rem !important;
          letter-spacing: 0.1em;
          text-transform: uppercase;
          line-height: 1;
        
          padding: 1.4rem 0.3rem;
          border-radius: 999px;
        
          background-color: rgb(89, 213, 255);
          border: 1px solid rgb(89, 213, 255);
          box-shadow: 0 0 20px 20px rgb(89, 213, 255);
        
          text-decoration: none;
          color: #ffffff;
          display: inline-flex;
          align-items: center;
          justify-content: center;
        
          transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
        }
        
        .main-navigation.toggled .lang-menu > ul.sub-menu > li > a:hover {
          color: #000000;
        }
        
        
        /* =========================
           MOBILE NAV (max-width: 600px)
           ========================= */
        @media screen and (max-width: 600px) {
        
          /* 🔻 빨간 메뉴판: 화면 맨 아래, 가로 전체에 고정 */
          .main-navigation.toggled {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            top: auto;
            transform: none;
        
            width: 100%;
            max-width: 100%;
            min-height: auto;
        
            padding: 0.5rem 0.5rem;
        
            background-color: rgb(255, 89, 89);
            border-radius: 24px 24px 0 0;
            box-shadow: 0 0 10px 10px rgba(255, 89, 89, 1);
        
            z-index: 1999;
        
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
          }
        
          /* 🔻 기본 메뉴: 빨간 박스 안에서 세로로 */
          .main-navigation.toggled #primary-menu {
            display: flex !important;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        
            padding: 0;
            margin: 0;
            width: 100%;
            height: auto;
            gap: 0.4rem;
          }
        s
          .main-navigation.toggled #primary-menu > li > a {
            font-size: 2.8rem;
            line-height: 1.4;
            text-align: center;
            padding: 0.2rem 0;
          }
    
            /* 언어 메뉴 바 자체: 화면 전체 너비 사용 */
          .main-navigation.toggled .lang-menu > ul.sub-menu {
              all: unset !important;
          
              position: fixed !important;
              top: 17rem !important;
              left: 50% !important;
              transform: translateX(-50%) !important;
          
              display: flex !important;
              flex-direction: row !important;
              justify-content: space-between !important;
              align-items: center !important;
          
              width: 100vw !important;      /* 🔥 화면 전체 너비 */
              max-width: 100vw !important;
              padding: 1 rem !important;   /* 좌우 살짝 여백 */
              list-style: none !important;
          
              z-index: 3001 !important;
              background: transparent !important;
            }
          
            /* 각 언어 메뉴 li가 1/3씩 차지하도록 */
            .main-navigation.toggled .lang-menu > ul.sub-menu > li {
              flex: 1 1 33.333% !important;      /* 🔥 비율 나누기 */
              display: flex !important;
              justify-content: center !important;
            }
          
            /* pill 자체는 li 안에서 가로 100% 차지 */
            .main-navigation.toggled .lang-menu > ul.sub-menu > li > a {
              width: 100% !important;            /* 🔥 li 너비 = pill 너비 */
              box-sizing: border-box !important;
              text-align: center !important;
          
              font-size: 2.8rem !important;
              letter-spacing: 0.08em;
              text-transform: uppercase;
              line-height: 1;
          
              /* 세로만 padding, 좌우는 최소화 → 글자 × 1.5 느낌 */
              padding: 0.35rem 0.2rem !important;
          
              border-radius: 999px !important;
          
              background-color: rgb(89, 213, 255) !important;
              border: 1px solid rgb(89, 213, 255) !important;
              box-shadow: 0 0 8px 6px rgb(89, 213, 255) !important;
          
              text-decoration: none !important;
              color: #ffffff !important;
          
              display: inline-flex !important;
              align-items: center !important;
              justify-content: center !important;
            }
          
          
        }








/* PROGRAM 제목 */
.home-program-title {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 10rem;
  letter-spacing: 0.05em;
  color: white;
  text-align: center; /* center로 바꾸고 싶으면 변경 */
}

/*photo slider*/


.home-program-title {
  text-align: center;
  font-size: 2rem;
  letter-spacing: 0.05em;
  color: white;
  margin: 40px 0 20px;
}


.program-image-row {
  display: flex;
  justify-content: center;   /* 가운데 정렬 */
  gap: 20px;                 /* 이미지 사이 간격 */
  margin: 20px auto;
  max-width: 1200px;         /* 전체 영역 폭 제한 (원하면 변경 가능) */
}

/* 각 이미지 박스 */
.program-image-row .slide {
  flex: 0 0 30%;             /* 🔥 이미지 3개 균등 크기 */
}

/* 실제 이미지 스타일 */
.program-image-row img {
  width: 100%;
  height: auto;      
  display: block;
  object-fit: cover;
}




/*file table*/

.film-table-container {
  max-width: 1200px;
  margin: 0 auto;
}

  /* 모든 셀 공통 스타일 */
  .film-table th,
  .film-table td {
    padding: 10px 4px;
    border-bottom: 0.5px solid #ddd;
    vertical-align: top;
  }
  
  /* 🎬 컬럼별 텍스트 정렬 */
/* 1열: 제목 → 좌측 정렬 */
.film-table td:nth-child(1),
.film-table th:nth-child(1),
.film-table td:nth-child(2),
.film-table th:nth-child(2),
.film-table td:nth-child(3),
.film-table th:nth-child(3){
  text-align: left;
}



/* 5열: 러닝타임 → 우측 정렬 */
.film-table td:nth-child(4),
.film-table th:nth-child(4),
.film-table td:nth-child(5),
.film-table th:nth-child(5) {
  text-align: right;
}

  /* 헤더 행 (지금은 안 쓰고 있지만 호환용) */
  .film-table th {
    background: #f5f5f500;
    font-weight: bold;
  }
  
  /* 섹션 타이틀 행 (Opening Film, AI Films 등) */
  .section-row td {
    background: #00000000;
    color: #ffffff;
    font-weight: bold;
    padding: 0rem;
    text-align: center;

  }
  
  /* 🔧 컬럼 너비 비율 (제목 / 감독 / 나라 / 연도 / 러닝타임) */
  .film-table td:nth-child(1),
  .film-table th:nth-child(1) {
    width:38%;
  }
  
  .film-table td:nth-child(2),
  .film-table th:nth-child(2) {
    width: 25%;
  }
  
  .film-table td:nth-child(3),
  .film-table th:nth-child(3) {
    width: 20%;
  
  }
  
  .film-table td:nth-child(4),
  .film-table th:nth-child(4) {
    width: 9%;
  }
  
  .film-table td:nth-child(5),
  .film-table th:nth-child(5) {
    width: 9%;
  }
  
  /* 접히는 tbody 기본 숨김 */
  .film-table-more {
    display: none;
  }
  
  

  /*테두리*/ 
  .section-row td {
    background: transparent;
    border-bottom: 0.5px solid white;
    padding: 20px 0 10px;
  }
  
  .section-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1px 2px;
    border: 0px solid #ffffff;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
  }
  

 
  /* 버튼 wrapper 중앙 정렬 */
  #film-toggle {
    display: block;          /* 블록으로 만들고 */
    margin: 2rem auto 0;     /* 좌우 auto → 가운데 정렬 */
  
    width: 60px;
    height: 60px;
    background-image: url('image/Asset\ 30.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    cursor: pointer;
  
    font-size: 0;
    color: transparent;
  }
  
  
  /* 기본 버튼 스타일 → 펼치기 상태 */
  #film-toggle {
    width: 60px;                    /* 버튼 크기 (원하는 대로 변경 가능) */
    height: 60px;
    background-image: url('image/open.svg'); /* 펼치기 아이콘 */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  
    border: none;
    cursor: pointer;
  
    /* 텍스트 숨기기 */
    font-size: 0;
    color: transparent;
  }
  
  /* 접힌 상태 → "펼쳐진 후" 버튼 이미지 */
  #film-toggle.open {
    background-image: url('image/btn-close.svg'); /* 접기 아이콘 */
  }
  

  /* 일반 영화 행만 대상 (section-row 제외) */
.film-table tbody tr:not(.section-row) {
  position: relative;
  transition:
    filter 0.25s ease,
    transform 0.25s ease;
}

/* 셀 배경/보더도 부드럽게 바뀌게 */
.film-table tbody tr:not(.section-row) td {
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}




/*events page*/

.site-branding {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.site-branding img{
  width: 150px;
}

.home .site-branding img{
  display: none;
}

/* 이벤트 테이블 컨테이너 → 가운데 정렬 + 폭 제한 */
.event-table-container {
  max-width: 1200px;      /* 필요하면 1000, 1100 등으로 조절 */
  margin: 0 auto;
  
}

/* 기본 테이블 스타일 (film-table 이랑 톤 비슷하게) */
.event-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.85rem;
}

.event-table th,
.event-table td {
  padding: 6px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  white-space: normal;
  vertical-align: top;
}

/* 헤더 */
.event-table thead th {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  opacity: 0.8;
}

/* 컬럼 너비 (Date/Category/Event/Location) */
.event-table td:nth-child(1),
.event-table th:nth-child(1) {
  width: 26%;
  text-align: left;
}

.event-table td:nth-child(2),
.event-table th:nth-child(2) {
  width: 18%;
  text-align: left;
}

.event-table td:nth-child(3),
.event-table th:nth-child(3) {
  width: 32%;
  text-align: left;
}

.event-table td:nth-child(4),
.event-table th:nth-child(4) {
  width: 24%;
  text-align: left;
}

/* 작은 메모 (*After the screening 등) */
.event-note {
  display: block;
  font-size: 0.7em;
  opacity: 0.7;
}


/*footer*/

/* === GLOBAL FOOTER WRAPPER === */
.site-footer-global {
  background: rgb(152, 152, 152);   
  color: #ffffff;
  padding: 40px 20px 30px;
  margin-top: 60px;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* 링크 스타일 */
.site-footer-global a {
  color: #ffffff;
  text-decoration: none;
}
.site-footer-global a:hover {
  text-decoration: underline;
}

/* === INNER LAYOUT === */
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;

  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* === EACH COLUMN === */
.footer-column {
  flex: 1 1 260px;
  min-width: 240px;
}

/* Column Titles */
.footer-column h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.8;
  margin-bottom: 10px;
}

/* === BRAND / LOGO === */


.footer-tagline {
  opacity: 0.85;
  margin-top: 5px;
}

/* === SNS LIST === */
.footer-sns-list {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Circle SNS Icons */
.sns-circle {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.7);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;

  transition: 0.25s ease;
  opacity: 0.9;
}

.sns-circle:hover {
  background: #fff;
  color: #000;
  opacity: 1;
}

/* === BOTTOM BAR === */
.footer-bottom {
  max-width: 1100px;
  margin: 20px auto 0;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.2);

  font-size: 0.75rem;
  text-align: center;
  opacity: 0.7;
}
