/* Self-hosted Inter font */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-700.ttf') format('truetype');
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: #B7B7B7;
  min-height: 100%;
}

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.2;
  color: #000;
  padding: 38px 0 51px;
  min-width: 960px;
  word-wrap: break-word;
}

a {
  color: #0000FF;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: #0000DE;
}

img {
  display: block;
}

/* Page Container */
.page {
  width: 960px;
  min-height: 780px;
  margin: 0 auto;
  background-color: #FFFFFF;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  padding: 32px 35px 0 40px;
}

.header-top {
  display: flex;
  align-items: flex-end;
  margin-bottom: 20px;
}

.logo-img {
  width: 90px;
  height: 96px;
  flex-shrink: 0;
}

.header-titles {
  margin-left: 10px;
  flex-shrink: 0;
}

.site-title {
  font-size: 40px;
  font-weight: 700;
  color: #000;
  line-height: 1.1;
}

.site-subtitle {
  font-size: 22px;
  font-weight: 400;
  color: #616161;
  line-height: 1.2;
}

.header-tagline {
  margin-left: auto;
  font-size: 16px;
  color: #575757;
  text-align: right;
  white-space: nowrap;
  padding-bottom: 4px;
}

/* Navigation */
nav {
  background-color: #474747;
  display: flex;
  height: 37px;
}

nav a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  transition: background-color 0.15s;
}

nav a:visited {
  color: #FFFFFF;
}

nav a:hover {
  background-color: #262626;
  text-decoration: none;
  color: #FFFFFF;
}

nav a.active {
  background-color: #262626;
  font-size: 18px;
}

nav a.forecom-ai:hover {
  background-color: #fe0000c3;
}

/* Banner Image */
.banner {
  padding: 0 35px;
  margin-top: 9px;
}

.banner img {
  width: 889px;
  height: 146px;
  object-fit: cover;
}

/* Content */
.content {
  padding: 17px 36px 0 36px;
  flex: 1;
}

.content h2 {
  font-size: 30px;
  font-weight: 400;
  color: #545454;
  margin-bottom: 12px;
}

.content p {
  font-size: 15px;
  line-height: 1.65;
  text-align: justify;
  margin-bottom: 0.8em;
}

.content p:last-child {
  margin-bottom: 0;
}

/* Footer */
.footer-wrapper {
  padding: 10px 20px 0;
  margin-top: auto;
}

.footer {
  background-color: #9ABCA7;
  border-radius: 5px;
  padding: 6px 12px 5px;
}

.footer p {
  font-size: 13px;
  line-height: 1.3;
  color: #000;
}

.footer a {
  color: #444;
}

.footer a:hover {
  color: #000;
}

.footer-spacer {
  height: 20px;
}
