/*
 * FD System Holdings - Official Stylesheet
 * Modeled strictly on the minimalist, text-first design of berkshirehathaway.com
 */

:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --link-color: #0000ee;
  --visited-color: #551a8b;
  --active-color: #ee0000;
  --rule-color: #808080;
  --font-main: "Times New Roman", Times, Georgia, serif;
}

html, body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-main);
  margin: 0;
  padding: 0;
  line-height: 1.35;
}

/* Berkshire Hathaway container styling */
.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 15px;
}

header {
  text-align: center;
  margin-bottom: 12px;
}

.header-logo {
  max-width: 90px;
  height: auto;
  margin-bottom: 4px;
}

h1.company-title, .company-title {
  font-size: 26pt;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 6px 0 4px 0;
  text-transform: uppercase;
}

.company-address {
  font-size: 13pt;
  margin: 3px 0;
}

h1.page-subtitle, h2.page-subtitle, .page-subtitle {
  font-size: 14pt;
  font-weight: bold;
  margin-top: 6px;
  margin-bottom: 0;
}

hr {
  border: 0;
  border-top: 1px solid var(--rule-color);
  margin: 15px 0;
}

/* Hyperlinks in classic web default colors */
a:link {
  color: var(--link-color);
  text-decoration: underline;
}

a:visited {
  color: var(--visited-color);
  text-decoration: underline;
}

a:active {
  color: var(--active-color);
}

a:hover {
  color: var(--active-color);
}

/* Two-column directory table */
table.directory-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}

table.directory-table td {
  width: 50%;
  vertical-align: top;
  padding: 8px 16px;
}

ul.directory-list {
  list-style-type: disc;
  margin: 0 0 15px 18px;
  padding: 0;
}

ul.directory-list li {
  margin-bottom: 14px;
  font-size: 12pt;
}

.item-title {
  font-weight: bold;
}

.item-desc {
  display: block;
  font-size: 10.5pt;
  margin-top: 2px;
  color: #222222;
}

/* Footer note styling */
.footer-note {
  font-size: 10.5pt;
  text-align: center;
  margin: 15px auto;
  max-width: 700px;
  line-height: 1.4;
}

.footer-meta {
  font-size: 9.5pt;
  text-align: center;
  margin-top: 15px;
  color: #333333;
}

/* Subpage specific styles */
.subpage-nav {
  margin-bottom: 15px;
  font-size: 11pt;
}

.content-block {
  font-size: 12pt;
  line-height: 1.5;
  margin: 20px 0;
}

.content-block p {
  margin-bottom: 14px;
  text-indent: 0;
}

.content-block p.indent {
  text-indent: 1.5em;
}

.content-block p.no-indent {
  text-indent: 0;
}

.signature-block {
  margin-top: 30px;
  margin-left: 2em;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
}

table.data-table th, table.data-table td {
  border: 1px solid #999999;
  padding: 6px 10px;
  text-align: left;
  font-size: 11pt;
}

table.data-table th {
  background-color: #f2f2f2;
}

/* Responsive adjustment for small mobile screens while maintaining retro fidelity */
@media (max-width: 640px) {
  table.directory-table, table.directory-table tbody, table.directory-table tr, table.directory-table td {
    display: block;
    width: 100%;
    padding: 4px 0;
  }
  .company-title {
    font-size: 20pt;
  }
}
