/* 
   Tohoku University GSIS Branding - style.css 
   Primary Color: #004098 (Tohoku University Blue)
*/

:root {
    --primary-blue: #004098;
    --text-main: #333333;
    --text-muted: #666666;
    --sidebar-bg: #f4f6f9;
    --border-light: #e1e4e8;
    --white: #ffffff;
    --font-stack: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-stack);
    color: var(--text-main);
    line-height: 1.7;
    background-color: var(--white);
}

.wrapper {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

/* Sidebar Navigation */
aside.sidebar {
    width: 320px;
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border-light);
    flex-shrink: 0;
    padding: 50px 30px;
    position: sticky;
    top: 0;
    height: 100vh;
}

.sidebar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.3;
    margin-bottom: 40px;
    border-bottom: 3px solid var(--primary-blue);
    padding-bottom: 15px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 8px;
}

.sidebar-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    display: block;
    padding: 12px 15px;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
}

.sidebar-menu a:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* Main Content Area */
main.content {
    flex-grow: 1;
    padding: 50px 80px;
    max-width: 1000px;
}

.breadcrumbs {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

header.site-header {
    margin-bottom: 45px;
}

h1 {
    font-size: 2.4rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

h2 {
    font-size: 1.6rem;
    color: var(--primary-blue);
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 8px;
    margin: 45px 0 25px 0;
}

h3 {
    font-size: 1.2rem;
    margin: 25px 0 15px 0;
    color: var(--text-main);
}

p {
    margin-bottom: 18px;
}

/* Specialized Classes */
.about-titles {
    margin-bottom: 30px;
}

.distinguished {
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
}

.news-feed {
    margin-top: 20px;
}

.news-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-weight: bold;
    color: var(--primary-blue);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.award-entry {
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 4px solid var(--primary-blue);
}

.award-title {
    font-weight: 700;
    display: block;
    color: var(--text-main);
}

.award-body {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: block;
}

.contact-card {
    background-color: #f9f9f9;
    padding: 25px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    margin-top: 40px;
}

footer {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: left;
}

/* Responsive Logic */
@media (max-width: 992px) {
    .wrapper {
        flex-direction: column;
    }
    aside.sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 30px;
    }
    main.content {
        padding: 30px;
    }
    .sidebar-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .sidebar-menu li {
        flex: 1 1 150px;
    }
}
