/* ====================================================
   LX글라스 기술연구소 - 추가 페이지용 공통 CSS 확장
   (styles.css 와 함께 사용)
==================================================== */

/* 주의사항 리스트 */
.notice-list-box {
    background: #fafafa;
    border: 1px solid var(--line);
    padding: 30px 36px;
    margin-top: 20px;
}
.notice-list-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.notice-list-box ul li {
    font-size: 15px;
    color: #555;
    line-height: 1.85;
    padding: 6px 0 6px 20px;
    position: relative;
    border-bottom: 1px solid #efefef;
}
.notice-list-box ul li:last-child { border-bottom: 0; }
.notice-list-box ul li::before {
    content: '·';
    position: absolute;
    left: 4px;
    color: #AA2D29;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.5;
}

/* 인포 카드 그리드 (시험항목 등) */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.info-card-item {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid #AA2D29;
    padding: 28px 26px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.info-card-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.info-card-item .card-num {
    font-size: 13px;
    font-weight: 700;
    color: #AA2D29;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.info-card-item h4 {
    font-size: 20px;
    font-weight: 600;
    color: #212121;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.info-card-item p {
    font-size: 14.5px;
    color: #6d6d6d;
    line-height: 1.8;
}

/* 시험분석 카테고리 카드 */
.analysis-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.analysis-cat {
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
}
.analysis-cat-head {
    background: #AA2D29;
    color: #fff;
    padding: 16px 22px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}
.analysis-cat-head.brown  { background: #746560; }
.analysis-cat-head.dark   { background: #4a3b38; }
.analysis-cat-body { padding: 8px 0; }
.analysis-cat-body a {
    display: flex;
    align-items: center;
    padding: 11px 22px;
    font-size: 15px;
    color: #444;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s, color 0.15s;
}
.analysis-cat-body a:last-child { border-bottom: none; }
.analysis-cat-body a::before {
    content: '›';
    color: #AA2D29;
    font-size: 18px;
    font-weight: 700;
    margin-right: 10px;
}
.analysis-cat-body a:hover { background: #fdf5f5; color: #AA2D29; }

/* 시험 상세 스펙 박스 */
.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 28px 0;
}
.spec-box {
    background: #f7f7f7;
    border-left: 4px solid #AA2D29;
    padding: 20px 22px;
}
.spec-box .spec-label {
    font-size: 12px;
    font-weight: 700;
    color: #AA2D29;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.spec-box p {
    font-size: 15px;
    color: #333;
    line-height: 1.7;
}

/* KOLAS 배지 */
.kolas-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #4a3b38;
    color: #fff;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

/* 지도 */
.map-box {
    width: 100%;
    background: #f0f0f0;
    border: 1px solid var(--line);
    margin-top: 30px;
    overflow: hidden;
}
.map-box iframe {
    display: block;
    width: 100%;
    border: 0;
}
.map-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 18px;
    background: #fff;
    border-top: 1px solid var(--line);
    color: #555;
    font-size: 14px;
}

/* 주소/연락처 info 박스 */
.addr-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}
.addr-box {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid #AA2D29;
    padding: 26px 28px;
}
.addr-box h4 {
    font-size: 18px;
    font-weight: 700;
    color: #212121;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}
.addr-row {
    display: flex;
    gap: 14px;
    margin-bottom: 10px;
    font-size: 14.5px;
    align-items: flex-start;
}
.addr-row .lbl {
    font-weight: 600;
    color: #AA2D29;
    min-width: 68px;
    flex-shrink: 0;
}
.addr-row .val { color: #555; }
.addr-row a { color: #AA2D29; text-decoration: none; }
.addr-row a:hover { text-decoration: underline; }

/* FAQ 아코디언 */
.faq-list { margin-top: 10px; }
.faq-item {
    border: 1px solid var(--line);
    margin-bottom: 10px;
    background: #fff;
}
.faq-q {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    transition: background 0.15s;
    user-select: none;
}
.faq-q:hover { background: #fdf5f5; }
.faq-q .q-mark {
    width: 32px;
    height: 32px;
    background: #AA2D29;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.faq-q .q-text {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #212121;
    letter-spacing: -0.3px;
}
.faq-q .q-arrow {
    font-size: 20px;
    color: #bbb;
    transition: transform 0.25s;
}
.faq-item.open .faq-q .q-arrow { transform: rotate(180deg); }
.faq-item.open .faq-q { background: #fdf5f5; }
.faq-a {
    display: none;
    padding: 18px 24px 20px 72px;
    font-size: 15px;
    color: #555;
    line-height: 1.85;
    border-top: 1px solid #f0f0f0;
    background: #fffafa;
}
.faq-item.open .faq-a { display: block; }

/* 공지사항: 목록 → 상세(본문만) */
.notice-title-list { margin-top: 10px; }
.notice-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin-bottom: 10px;
    padding: 20px 24px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
    text-align: left;
    font-family: 'Noto Sans KR', sans-serif;
    transition: background 0.15s;
}
.notice-title-row:hover { background: #fdf5f5; }
.notice-title-row:last-child { margin-bottom: 0; }
.notice-title-mark {
    width: 32px;
    height: 32px;
    background: #AA2D29;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.notice-title-text {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #212121;
    letter-spacing: -0.3px;
}
.notice-title-chevron {
    font-size: 22px;
    color: #bbb;
    flex-shrink: 0;
}
.notice-detail-panel { margin-top: 10px; }
.notice-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 10px 18px;
    border: 1px solid var(--line);
    background: #fff;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.notice-back-btn:hover {
    background: #fdf5f5;
    border-color: #AA2D29;
    color: #AA2D29;
}
.notice-back-btn .material-symbols-outlined { font-size: 22px; }
.notice-detail-body {
    padding: 8px 4px 32px;
    font-size: 15px;
    color: #555;
    line-height: 1.85;
}
.notice-detail-body img { max-width: 100%; height: auto; }

/* 공지 목록 첨부 표시 아이콘 */
.notice-title-attach {
    font-size: 18px;
    color: #AA2D29;
    flex-shrink: 0;
}

/* 공지 상세 첨부파일 다운로드 */
.notice-attach-box {
    margin-top: 28px;
    padding: 18px 20px;
    background: #fafafa;
    border: 1px solid var(--line);
    border-top: 3px solid #AA2D29;
}
.notice-attach-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}
.notice-attach-title .material-symbols-outlined { font-size: 20px; color: #AA2D29; }
.notice-attach-list { list-style: none; margin: 0; padding: 0; }
.notice-attach-list li + li { margin-top: 6px; }
.notice-attach-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--line);
    background: #fff;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.notice-attach-link:hover {
    background: #fdf5f5;
    border-color: #AA2D29;
    color: #AA2D29;
}
.notice-attach-icon { font-size: 20px; color: #AA2D29; flex-shrink: 0; }
.notice-attach-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.notice-attach-size { color: #999; font-size: 12px; flex-shrink: 0; }

/* 성적서 진위확인 */
.verify-box {
    background: #fafafa;
    border: 1px solid var(--line);
    border-top: 3px solid #AA2D29;
    padding: 40px 44px;
    max-width: 680px;
    margin: 30px 0;
}
.verify-box h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}
.verify-form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
}
.verify-form-row label {
    font-size: 14px;
    font-weight: 600;
    min-width: 80px;
    color: #333;
}
.verify-form-row input {
    flex: 1;
    height: 44px;
    border: 1px solid var(--line);
    padding: 0 14px;
    font-size: 14px;
    font-family: 'Noto Sans KR', sans-serif;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
}
.verify-form-row input:focus { border-color: #AA2D29; }
.btn-verify {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #AA2D29;
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}
.btn-verify:hover { background: #8a2226; }

/* 시험항목 테이블 */
.test-item-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
    font-size: 14.5px;
}
.test-item-table th {
    background: #4a3b38;
    color: #fff;
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
}
.test-item-table td {
    padding: 13px 18px;
    border-bottom: 1px solid var(--line);
    color: #444;
    vertical-align: top;
}
.test-item-table tr:hover td { background: #fdf5f5; }
.test-item-table .cat-cell {
    background: #f7f7f7;
    font-weight: 700;
    color: #AA2D29;
    width: 140px;
    vertical-align: middle;
}

/* 빈 공간 구분 */
.section-gap { height: 60px; }

/* 반응형 추가 */
@media (max-width: 900px) {
    .info-cards, .analysis-cat-grid, .spec-grid, .addr-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .verify-box { padding: 28px 22px; }
    .faq-a { padding-left: 24px; }
}

/* ── 선언문 이미지 full width ── */
.declaration-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ── 지도 링크 버튼 ── */
.map-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #AA2D29;
    color: #fff;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
    text-decoration: none;
    margin-top: 16px;
    transition: background 0.2s;
}
.map-link-btn:hover { background: #8a2226; color: #fff; }

/* ── 섹션 구분선 ── */
.section-divider {
    border: none;
    border-top: 1px solid var(--line);
    margin: 60px 0;
}

/* ── info-cards 2-col variant ── */
.info-cards.two-col {
    grid-template-columns: repeat(2, 1fr);
}

/* ── 테이블 responsive ── */
@media (max-width: 768px) {
    .test-item-table { font-size: 12px; }
    .test-item-table th, .test-item-table td { padding: 9px 10px; }
    .download-grid { grid-template-columns: 1fr; }
    .table-wrap.two-col { grid-template-columns: 1fr; }
    .info-cards, .info-cards.two-col { grid-template-columns: 1fr; }
    .analysis-cat-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .spec-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .contact-grid { grid-template-columns: 1fr; }
    .addr-info-grid { grid-template-columns: 1fr; }
    .verify-box { padding: 24px 18px; }
}
