/* Sub Page Layout - Premium Redesign */
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;500;700&display=swap');
.sub-visual {
    position: relative;
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
}

.sub-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.5), rgba(0,50,100,0.3));
    z-index: 1;
}

.sub-title {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 13px 20px;
    word-break: auto-phrase;
}

.sub-title h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 10px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.sub-title p {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* LNB (Tab Menu) */
.sub-lnb {
    background: #fff; /* or dark if preferred */
    border-bottom: 1px solid #ddd;
    margin-bottom: 80px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.03);
}

.sub-lnb ul {
    display: flex;
    justify-content: center;
}

.sub-lnb ul li {
    width: 200px;
    text-align: center;
}

.sub-lnb ul li a {
    display: block;
    padding: 20px 0;
    font-size: 16px;
    color: #555;
    position: relative;
    font-weight: 500;
}

.sub-lnb ul li.active a {
    color: var(--color-primary);
    font-weight: 700;
}

.sub-lnb ul li.active a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
}

.sub-content {
    padding-bottom: 150px;
}

/* Greeting Split Layout */
.greeting-split-wrap {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.greeting-sidebar {
    width: 400px;
    flex-shrink: 0;
    background: #1a2b4b; /* Dark Blue */
    color: #fff;
    padding: 60px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.greeting-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    pointer-events: none;
}

.gs-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    font-family: 'Outfit', sans-serif;
}

.gs-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    font-weight: 300;
}

.greeting-content {
    flex: 1;
    padding-top: 20px;
}

.gc-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.gc-subtitle {
    font-size: 1.4rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 40px;
    line-height: 1.5;
    word-break: auto-phrase;
}

.gc-body p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    word-break: keep-all;
}

.gc-body p.emphasize {
    font-weight: 600;
    color: #222;
    margin-top: 30px;
}

.gc-signature {
    margin-top: 60px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.sig-row {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.eng-sig {
    font-size: 0.85rem;
    color: #888;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 1024px) {
    .greeting-split-wrap {
        flex-direction: column;
        gap: 40px;
    }
    
    .greeting-sidebar {
        width: 100%;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .sub-visual { height: 250px; }
    .sub-title h2 { font-size: 1.8rem; }
    .sub-lnb {border-bottom: 1px solid #ddd;margin-bottom: 40px;}
    .sub-lnb ul { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; justify-content: flex-start; }
    .sub-lnb ul::-webkit-scrollbar { display: none; }
    .sub-lnb ul li { width: auto; flex: 0 0 auto; padding: 0 10px; }
    .sub-lnb ul li a { font-size: 14px; padding: 15px 10px; white-space: nowrap; }
    
    .gs-title { font-size: 1.8rem; }
    .gc-title {font-size: 1.8rem;line-height: 1.2;}
    .gc-subtitle {font-size: 1.15rem;}
    .gc-body p{font-size: 1rem;}
}

/* Fade In Up */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease-out;
}
/* Sub Page Title (Moved from Header) */
.page-title-in-content {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    margin-top: 50px;
}

.page-title-in-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-primary);
}
