﻿/* Layout & Global */
html, body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

h1, h2, h3 {
    color: #7c7353;
    font-weight: bold;
    padding-left: 20px;
}

h1 { margin: 0 0 20px 0; }
h2 { font-size: 2.2em; margin: 20px 0 5px 0; }
h1.small { font-size:1.4em; }

h3.lightgreen, .lightgreen {
    color: #7a972b;
    font-weight: bold;
    margin: 1.5rem 0 0.5rem 0;
}

/* Header & Banner */
.banner {
    background-color: #7c7353;
    height: 65px;
    display: flex;
    align-items: center; 
    padding-left: 20px; 
}

.logo2 { height: 50px; width: auto; }

/* Navigation */
.nav-buttons {
    list-style: none;
    padding: 0 20px; 
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    flex: 0 0 auto;
    position: relative;
}

.nav-buttons::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: #d3d3d3;
    z-index: -1;
}

.nav-buttons li a {
    display: inline-block;
    background-color: #6f773c; 
    color: white;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    border-radius: 8px 8px 0 0;
    transition: background-color 0.2s;
    position: relative;
    z-index: 1;
}

.nav-buttons li a:hover { background-color: #5a6131; }
.nav-buttons li.active a { background-color: #7c7353; border-bottom: 2px solid #7c7353; }

/* Main Content Area */
.content {
    margin: .4rem 80px 2rem 60px;
    flex: 1 0 auto;
    line-height: 1.6;
    max-width: 1200px;
}

.image-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    width: 100%;
}

.image-center img { max-width: 100%; height: auto; }

/* Highlights & Callouts */
.highlight {
    background-color: #f9f4e8;
    border-top: 2px solid #d3d3d3;
    border-bottom: 2px solid #d3d3d3;
    padding: 1.5rem;
    margin: 2rem 0;
    display: block;
}

.highlight h1, .highlight h2, .highlight h3, .highlight p, .highlight ul {
    padding-left: 0;
    margin-left: 0;
}

.highlight h1, .highlight h2, .highlight h3 { margin-top: 0; }

/* List Group (Table Look) */
.list-group {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    border: 1px solid #d3d3d3;
    border-radius: 4px;
    overflow: hidden;
}

.list-group-item {
    background-color: #f8f9fa;
    border-bottom: 1px solid #d3d3d3;
    padding: 12px 15px;
    transition: background-color 0.1s;
}

.list-group-item:last-child { border-bottom: none; }
.list-group-item:hover { background-color: #f1f1f1; }

.list-group-item a {
    text-decoration: none;
    color: #004a8b;
    font-weight: 500;
}

/* Publication Layouts */
.pub-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* STYLE A: LANDSCAPE (Data Releases / AGU) */
.pub-thumb {
    flex: 0 0 150px;
    text-align: center;
}
.pub-thumb img, .agu-box {
    width: 150px;
    height: 68px;
    object-fit: contain;
    border: 1px solid #ddd;
    background-color: #fff;
}

/* STYLE B: PORTRAIT (Past Publications / Reports) */
.pub-report {
    flex: 0 0 100px; /* Thinner */
    text-align: center;
}

.pub-report img {
    width: 100px;
    height: 130px; /* Taller */
    object-fit: contain;
    border: 1px solid #ddd;
    background-color: #fff;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1); /* Subtle book-like depth */
}

.agu-box {
    background-color: #8c4900;
    color: white;
    font-size: 28px;
    font-weight: bold;
    line-height: 68px;
    text-align: center;
}

.pub-details { flex: 1; }
.pub-details cite {
    display: block;
    font-size: 0.9em;
    color: #555;
    margin-top: 5px;
}

.footer {
    background-color: #7c7353 !important;
    margin-top: auto;
    padding: 20px;
}

.staff {
    width: 100%;
    border-collapse: collapse;
    font-size: 12pt;
    margin: 20px 0;
}

.staff thead th {
    background-color: transparent;
    color: #6f773c;
    text-align: left;
    padding: 12px 15px;
    border-top: none;
    border-bottom: 2px solid #6f773c;
    border-left: none;
    border-right: none;
}

.staff td {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    border-left: none;
    border-right: none;
    vertical-align: top;
}

.staff tbody tr:nth-child(even) {
    background-color: #ccc;
}

.staff a:hover {
    text-decoration: underline;
}

.offwhite {
    background-color: #f0f0f0;
}

.nowrap {
	white-space: nowrap;
}