/* ==========================================================================
   Page-Specific Styles: Welcome Note
   Scope: body.page-welcome-note
   Identity: Editorial / Academic Presidential Letter
   ========================================================================== */

/* Page variables */
body.page-welcome-note {
    --page-accent: #0088cb; /* KBT Blue */
    --page-bg-light: #FAF9F6; /* warm cream background */
    --page-title-color: #1a2332; /* deep bronze-charcoal */
    --page-border: rgba(0, 136, 203, 0.15);
}

/* Scroll progress indicator */
body.page-welcome-note .kbt-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--page-accent);
    z-index: 9999;
    width: 0;
    transition: width 0.1s linear;
}

/* 1. Hero Banner overrides */
body.page-welcome-note .kbwn-hero-section {
    background: linear-gradient(135deg, #0a1628 0%, #001a33 100%);
    padding: 80px 0;
    border-bottom: 2px solid var(--page-accent);
}
body.page-welcome-note .kbwn-hero-title {
    font-family: 'Georgia', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
body.page-welcome-note .kbwn-hero-subtitle {
    font-size: 1.1rem;
    color: var(--theme-color, #0088cb);
    letter-spacing: 2px;
    text-transform: uppercase;
}
body.page-welcome-note .kbwn-breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}
body.page-welcome-note .kbwn-breadcrumbs li {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}
body.page-welcome-note .kbwn-breadcrumbs li + li::before {
    content: '/';
    margin-right: 8px;
    color: rgba(255,255,255,0.3);
}
body.page-welcome-note .kbwn-breadcrumbs a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}
body.page-welcome-note .kbwn-breadcrumbs a:hover {
    color: var(--theme-color, #0088cb);
}

/* 2. Main content area */
body.page-welcome-note .kbwn-content-section {
    background-color: #FAF9F6;
    padding: 100px 0;
}
body.page-welcome-note .kbwn-container {
    max-width: 850px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--page-border);
    box-shadow: 0 15px 40px rgba(0,0,0,0.03);
    border-radius: 12px;
    padding: 50px;
}

/* Author info card */
body.page-welcome-note .kbwn-author-card {
    display: flex;
    align-items: center;
    gap: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-bottom: 35px;
    margin-bottom: 40px;
}
body.page-welcome-note .kbwn-avatar-wrap {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--page-accent);
    box-shadow: 0 8px 20px rgba(0, 136, 203,0.15);
    flex-shrink: 0;
    transition: transform 0.4s ease;
}
body.page-welcome-note .kbwn-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
body.page-welcome-note .kbwn-author-card:hover .kbwn-avatar-wrap {
    transform: scale(1.05);
}
body.page-welcome-note .kbwn-author-card:hover .kbwn-avatar {
    transform: scale(1.08);
}
body.page-welcome-note .kbwn-author-info {
    flex-grow: 1;
}
body.page-welcome-note .kbwn-name {
    font-family: 'Georgia', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--page-title-color);
    margin-bottom: 6px;
}
body.page-welcome-note .kbwn-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Welcome Letter Body */
body.page-welcome-note .kbwn-letter-body {
    font-family: 'Georgia', serif;
    font-size: 17px;
    line-height: 1.95;
    color: #2c2c2c;
}
body.page-welcome-note .kbwn-letter-body p {
    margin-bottom: 25px;
    color: #2c2c2c;
    text-align: justify;
}

/* Styled Drop-cap for letter start */
body.page-welcome-note .kbwn-letter-salutation::first-letter {
    float: left;
    font-size: 4rem;
    line-height: 0.85;
    padding-right: 12px;
    font-weight: 800;
    color: var(--page-accent);
    font-family: 'Georgia', serif;
}

/* Mission Pullquote Box */
body.page-welcome-note .kbwn-mission-pullquote {
    border-left: 4px solid var(--page-accent);
    background-color: var(--page-bg-light);
    padding: 25px 30px;
    border-radius: 0 8px 8px 0;
    margin: 35px 0;
    box-shadow: inset 2px 0 5px rgba(0,0,0,0.01);
}
body.page-welcome-note .kbwn-mission-pullquote p {
    font-style: italic;
    font-size: 20px;
    line-height: 1.6;
    color: #2c4a5e;
    margin: 0;
    font-weight: 600;
}

/* Letter closing and signoff */
body.page-welcome-note .kbwn-letter-closing-reference {
    font-weight: 700;
    color: var(--page-accent);
    font-size: 18px;
    margin-top: 40px;
}
body.page-welcome-note .kbwn-letter-signoff {
    margin-top: 40px;
    border-top: 1px dashed rgba(0,0,0,0.1);
    padding-top: 30px;
}
body.page-welcome-note .kbwn-closing {
    margin-bottom: 15px;
}
body.page-welcome-note .kbwn-signature {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 18px;
    line-height: 1.5;
}
body.page-welcome-note .kbwn-sig-title {
    font-size: 13px;
    color: #666;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* Quick links block */
body.page-welcome-note .kbwn-quick-links {
    margin-top: 50px;
    background-color: #FAF9F6;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(0,0,0,0.04);
}
body.page-welcome-note .kbwn-quick-text {
    font-size: 14px;
    color: #666;
    margin: 0;
}
body.page-welcome-note .kbwn-quick-link {
    color: var(--page-accent);
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.3s ease;
}
body.page-welcome-note .kbwn-quick-link:hover {
    color: var(--page-title-color);
}

/* Responsive fixes */
@media (max-width: 767px) {
    body.page-welcome-note .kbwn-container {
        padding: 30px;
    }
    body.page-welcome-note .kbwn-author-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    body.page-welcome-note .kbwn-avatar-wrap {
        width: 120px;
        height: 120px;
    }
    body.page-welcome-note .kbwn-letter-body {
        font-size: 15px;
    }
    body.page-welcome-note .kbwn-mission-pullquote p {
        font-size: 17px;
    }
}
