﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');

/************** 공통 **************/
.subpage-container, .subpage-container * {
    font-family: 
        'Noto Sans KR',
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        Roboto,
        'Apple SD Gothic Neo',
        'Malgun Gothic',
        '맑은 고딕',
        sans-serif;
}

.subpage-container {
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid #f0eeef;
    padding: 40px 0 0;
}

/* 상단 좌측 대주제 (공통 h1) */
.page-title {
    font-size: 30px;
    color: #000;
    margin-bottom: 33px;
    font-weight: bold;
    line-height: 0.87;
}

/* [예외] 오늘의 리포트 대주제만 스타일이 다름 */
.page-title.type-report {
    font-size: 38px;
    margin-bottom: 17px;
    font-weight: 500;
}

/* 중앙 핵심 메시지 (h2) */
.subpage-headline {
    font-size: 50px;
    font-weight: bold;
    line-height: 1.34;
    color: #000;
    text-align: center;
    margin: 0 0 23px;
    letter-spacing: normal;
}

/* 본문 텍스트 래퍼 */
.subpage-body {
    max-width: 970px;
    margin: 0 auto;
    text-align: center;
}

.subpage-body .lead-text {
    font-size: 20px;
    line-height: 1.3;
    color: #000;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.subpage-body .desc-text {
    font-size: 16px;
    line-height: 1.5;
    color: #222;
    letter-spacing: -0.4px;
    word-break: keep-all;
    font-weight: 500;
}

.subpage-body .guide-text {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/************** 오늘의 리포트 **************/
.report-subtext {
    font-size: 17px;
    color: #666;
    line-height: 1.53;
    letter-spacing: -0.43px;
    margin-bottom: 18px;
}

.report-viewer-wrap {
    position: relative;
    width: 100%;
    max-width: 970px;
    margin: 0 auto;
}

.report-viewer-wrap.is-locked {
    height: 760px;
    overflow: hidden;
}

.report-viewer-wrap:not(.is-locked) {
    height: auto;
    overflow: visible;
}

.raw-iframe-box {
    width: 100%;
    height: 100%;
}

.raw-iframe-box iframe {
    width: 100% !important;
    height: 800px !important;
    zoom: 1 !important;
    transform: none !important;
    margin: 0 !important;
    border: none !important;
    display: block !important;
}

.report-viewer-wrap.is-locked .raw-iframe-box iframe {
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
}

.login-lock-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background-color: rgba(255, 229, 42, 0.78);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    -webkit-user-select: none;
    user-select: none;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box;
    z-index: 10;
    padding: 70px;
}

.login-lock-overlay .lock-content {
    text-align: center;
}

.login-lock-overlay .lock-msg {
    font-size: 18px;
    font-weight: normal;
    color: #000;
    margin: 0 0 23px 0;
    letter-spacing: -0.45px;
}

.login-lock-overlay .btn-login-img {
    display: inline-block;
    pointer-events: auto;
}

.login-lock-overlay .btn-login-img img {
    display: block;
}

/* 데이터 없을 때 */
.report-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 480px;
    background-color: #faf9f6;
    text-align: center;
    padding: 40px;
    box-sizing: border-box;
}

.report-empty-state .empty-icon {
    margin-bottom: 20px;
    opacity: 0.7;
}

.report-empty-state .empty-title {
    font-size: 20px;
    font-weight: 700;
    color: #222222;
    margin: 0 0 10px 0;
}

.report-empty-state .empty-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #777777;
    margin: 0;
    word-break: keep-all;
}

/************** 서비스 안내 **************/
.service-card-list {
    list-style: none;
    padding: 0;
    margin: 78px auto 0;
    width: 100%;
}

.service-card-list .card-item {
    margin-bottom: 30px;
}

.service-card-list .card-item:last-child {
    margin-bottom: 0;
}

.service-card-list .card-img {
    display: block;
    width: 100%;
    height: auto;
}


/************** 제휴 문의 **************/
.contact-email-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 970px;
    margin: 70px auto 0;
    padding: 24px 47px;
    background-color: #333333;
    border-radius: 10px;
    box-sizing: border-box;
    font-style: normal;
}

.contact-email-box::before {
    content: '';
    display: inline-block;
    width: 2px;
    height: 28px;
    background-color: #ddd;
    margin-right: 11px;
}

.contact-email-box .label {
    font-size: 26px;
    font-weight: bold;
    color: #ffffff;
    margin-right: 18px;
    letter-spacing: -0.65px;
    white-space: nowrap;
}

.contact-email-box .email-address {
    font-size: 20px;
    font-weight: bold;
    color: #ffdf43;
    text-decoration: none;
    letter-spacing: -0.5px;
    word-break: break-all;
    transition: opacity 0.2s ease, text-decoration 0.2s ease;
}

.contact-email-box .email-address:hover {
    text-decoration: underline;
    opacity: 0.9;
}