* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1F3864;
  --accent: #2F5496;
  --grey: #595959;
  --light: #F2F2F2;
  --bg: #FAFAF8;
  --border: #E5E5E5;
}

html, body {
  font-family: Georgia, 'Times New Roman', serif;
  color: #222;
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Login page (apex/www) */
.login-body {
  background: linear-gradient(135deg, #1F3864 0%, #2F5496 100%);
  min-height: 100vh;
}
.login-page {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 20px;
}
.login-card {
  background: white; padding: 40px 40px 48px; border-radius: 8px;
  max-width: 420px; width: 100%;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
  text-align: center;
}
.login-logo {
  width: 220px; height: auto;
  display: block; margin: 0 auto 20px;
}
.login-card h1 {
  font-family: Georgia, serif;
  color: var(--navy); font-size: 28px; margin-bottom: 4px;
  font-weight: normal;
}
.login-sub {
  color: var(--grey); font-size: 14px; margin-bottom: 28px;
  font-style: italic;
}
.login-hint {
  color: #555; font-size: 14px; margin-bottom: 24px; line-height: 1.5;
}
.login-form {
  display: flex; flex-direction: column; gap: 12px;
}
.login-form input {
  padding: 12px 16px; border: 1px solid #ccc; border-radius: 4px;
  font-size: 16px; font-family: inherit;
}
.login-form input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47,84,150,0.15);
}
.login-form button {
  padding: 12px 16px; background: var(--navy); color: white;
  border: none; border-radius: 4px; font-size: 15px; cursor: pointer;
  font-family: inherit; font-weight: bold; letter-spacing: 0.5px;
}
.login-form button:hover { background: var(--accent); }
.login-error {
  display: none;
  color: #C00000; margin-top: 16px; font-size: 14px;
}
.login-footnote {
  margin-top: 28px;
  color: #c5d3eb; font-size: 12px; font-style: italic;
  text-align: center;
}

/* Site */
.site-header {
  background: var(--navy); color: white;
  border-bottom: 4px solid var(--accent);
}
.header-inner {
  max-width: 1080px; margin: 0 auto;
  padding: 22px 32px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
}
.brand-logo {
  height: 64px; width: auto; flex-shrink: 0;
  display: block;
  background: white;
  padding: 6px 10px;
  border-radius: 6px;
}
.brand-text { display: flex; flex-direction: column; }
.brand h1 {
  font-size: 22px; font-weight: normal; letter-spacing: 0.5px;
  line-height: 1.1;
}
.brand-sub {
  font-size: 12px; color: #c5d3eb; font-style: italic; margin-top: 2px;
}
.site-header nav {
  display: flex; gap: 28px;
}
.site-header nav a {
  color: white; font-size: 15px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.site-header nav a.active,
.site-header nav a:hover {
  border-bottom-color: white; text-decoration: none;
}

main { padding-bottom: 64px; }

.hero {
  width: 100%;
  background: black;
}
.hero-img {
  width: 100%; max-height: 480px; object-fit: cover; display: block;
}

.container {
  max-width: 760px; margin: 0 auto;
  padding: 56px 32px 24px;
}
.container h2 {
  font-size: 32px; color: var(--navy); margin-bottom: 16px;
  font-weight: normal; letter-spacing: 0.5px;
}
.container h3 {
  font-size: 20px; color: var(--accent); margin-top: 32px; margin-bottom: 8px;
  font-weight: bold;
}
.container .lead {
  font-size: 18px; color: #444; margin-bottom: 24px; font-style: italic;
}
.container p {
  margin-bottom: 14px;
}
.container .footnote {
  margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--border);
  color: var(--grey); font-size: 14px; font-style: italic;
}

.figure {
  margin: 32px -8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.figure img {
  width: 100%; height: auto; display: block;
}
.figure figcaption {
  padding: 12px 18px;
  font-size: 14px;
  color: var(--grey);
  font-style: italic;
  background: #fafafa;
  border-top: 1px solid var(--border);
  line-height: 1.5;
}

.tenant-timeline {
  list-style: none;
  margin: 18px 0 22px;
  padding-left: 0;
  border-left: 3px solid var(--accent);
}
.tenant-timeline li {
  padding: 6px 0 6px 18px;
  font-size: 16px;
  color: #333;
}
.tenant-timeline strong {
  display: inline-block;
  min-width: 70px;
  color: var(--navy);
  font-weight: bold;
}

/* Newsletters */
.newsletter-list {
  list-style: none; margin-top: 24px;
}
.newsletter-item {
  margin-bottom: 16px;
}
.newsletter-item a {
  display: block;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px 28px;
  color: inherit;
  transition: all 0.15s;
}
.newsletter-item a:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  text-decoration: none;
}
.newsletter-meta {
  display: flex; gap: 12px; margin-bottom: 8px;
  font-size: 13px;
}
.newsletter-date {
  color: var(--grey); text-transform: uppercase; letter-spacing: 1px;
}
.newsletter-tag {
  background: var(--navy); color: white; padding: 2px 8px;
  border-radius: 3px; font-size: 11px; font-weight: bold;
  letter-spacing: 0.5px;
}
.newsletter-title {
  font-size: 22px; color: var(--navy); margin-bottom: 8px;
}
.newsletter-desc {
  color: #444; font-size: 15px; line-height: 1.5; margin-bottom: 12px;
}
.newsletter-action {
  color: var(--accent); font-weight: bold; font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 32px; text-align: center;
  color: var(--grey); font-size: 13px;
}

@media (max-width: 600px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .container { padding: 32px 22px; }
  .container h2 { font-size: 26px; }
  .gate-card { padding: 32px 24px; }
  .figure { margin: 24px 0; }
  .tenant-timeline strong { min-width: 60px; }
}
