/* ==========================================
   POSTECH Dining 푸터 디자인
   ========================================== */

/* 푸터 전체 배경 */
footer.footer,
#footer,
.footer {
    background: #193C30 !important;
}

/* 내부 영역 */
footer.footer .area1,
footer.footer .area2,
footer.footer .area3,
#footer .area1,
#footer .area2,
#footer .area3 {
    background-color: transparent !important;
}

/* 주소 및 저작권 */
footer.footer .copy,
footer.footer .copy p,
footer.footer .copy span,
footer.footer .copy strong,
#footer .copy,
#footer .copy p,
#footer .copy span,
#footer .copy strong {
    color: #E0EAE5 !important;
}

/* 이메일 링크 */
footer.footer .copy a,
#footer .copy a {
    color: #FFFFFF !important;
    text-decoration: none;
}

/* 이메일 마우스 오버 */
footer.footer .copy a:hover,
#footer .copy a:hover {
    color: #F3A5C8 !important;
    text-decoration: underline;
}

/* ==========================================
   푸터 버튼 디자인
   ========================================== */

/* 개인정보처리방침 / 광고성 정보전송거부 / 찾아오는길 */
footer.footer .area1 a,
#footer .area1 a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    background: #193C30 !important;
    border: 1px solid #FFFFFF !important;
    border-radius: 50px !important;

    color: #FFFFFF !important;
    padding: 12px 22px !important;

    transition: all 0.3s ease;
}

/* 첫 번째 버튼의 기존 자주색 배경 제거 */
footer.footer .area1 a.c1,
#footer .area1 a.c1 {
    background: #193C30 !important;
    border-color: #FFFFFF !important;
}

/* 마우스를 올렸을 때 */
footer.footer .area1 a:hover,
#footer .area1 a:hover {
    background: #FFFFFF !important;
    color: #193C30 !important;
}

/* ==========================================
   POSTECH 로고 아래 Dining Services
   ========================================== */

footer.footer .logo-postech,
#footer .logo-postech {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center;
    gap: 6px;
}

/* 영문 문구 */
footer.footer .logo-postech .footer-dining-text,
#footer .logo-postech .footer-dining-text {
    display: block !important;
    font-family: Pretendard, sans-serif;
    font-size: 19px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px;
    line-height: 1.3;
    color: #FFFFFF !important;
}

/* POSTECH 로고 아래 영문 표시 */
footer.footer .area3 .logo-postech {
    height: auto !important;
    min-height: 65px !important;
    overflow: visible !important;
}

footer.footer .area3 .logo-postech .footer-dining-text {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    color: #FFFFFF !important;
    font-family: Pretendard, sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;

    margin-top: 5px !important;
    line-height: 1.4 !important;
}
/* ==========================================
   POSTECH Dining 푸터 최종 정렬
   ========================================== */

/* 1. 푸터 상단 여백 축소 */
footer.footer {
    padding-top: 15px !important;
    padding-bottom: 25px !important;
}

/* 푸터 상단 버튼 영역 */
footer.footer .area1 {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    padding-top: 0 !important;
}

/* 2. 로고 영역 */
footer.footer .area3 .logo-postech {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 210px !important;
    height: auto !important;
    min-height: 0 !important;
    gap: 3px !important;
}

/* Dining Services 가운데 정렬 */
footer.footer .area3 .logo-postech .footer-dining-text {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin: 0 !important;

    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    line-height: 1.4 !important;
    color: #FFFFFF !important;
}

/* 3. 우측 주소 및 저작권 글자 확대 */
footer.footer .area3 .copy,
footer.footer .area3 .copy p,
footer.footer .area3 .copy span,
footer.footer .area3 .copy strong,
footer.footer .area3 .copy a {
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #E0EAE5 !important;
}

/* 로고와 우측 설명 정렬 */
footer.footer .area3 {
    align-items: center !important;
}

/* 모바일 */
@media (max-width: 768px) {
    footer.footer .area3 .logo-postech {
        width: 190px !important;
    }

    footer.footer .area3 .copy,
    footer.footer .area3 .copy p,
    footer.footer .area3 .copy span,
    footer.footer .area3 .copy strong,
    footer.footer .area3 .copy a {
        font-size: 13px !important;
    }
}

/* POSTECH 로고와 Dining Services 겹침 해결 */
footer.footer .area3 .logo-postech {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 210px !important;
    height: auto !important;
    min-height: 75px !important;
    overflow: visible !important;
}

/* 기존 POSTECH 로고 영역 확보 */
footer.footer .area3 .logo-postech > strong {
    display: block !important;
    position: relative !important;
    flex-shrink: 0 !important;
    width: 100% !important;
    height: 15px !important;
    margin: 0 !important;
}

/* Dining Services를 로고 아래에 배치 */
footer.footer .area3 .logo-postech .footer-dining-text {
    display: block !important;
    position: relative !important;

    width: 100% !important;
    margin-top: 8px !important;
    padding: 0 !important;

    text-align: center !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #FFFFFF !important;
}
/* ==========================================
   푸터 간격 최종 조정
   ========================================== */

/* 상단 버튼과 로고 영역 사이 간격 */
footer.footer .area1 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 로고와 주소 영역 */
footer.footer .area3 {
    margin-top: 20px !important;
    padding-top: 0 !important;
    align-items: flex-start !important;
}

/* 주소를 로고 상단과 정렬 */
footer.footer .area3 .copy {
    position: static !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}