/* HD Vest Financial — myhdvest.com */
/* Original: ASP.NET/Bootstrap, corporate financial advisory */
/* Layout: 1120px, professional blue, boxed corporate */

/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; }
body {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  line-height: 1.7;
  color: #333333;
  background: #f4f6f8;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #2471a3; text-decoration: none; transition: color 0.2s; }
a:hover { color: #1a5276; }

/* ═══════════════════════════════════════
   HEADER
   ═══════════════════════════════════════ */
.hv-header {
  background: #1a5276;
  padding: 0;
}
.hv-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hv-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hv-logo-icon {
  height: 32px;
  width: auto;
}
.hv-logo-text {
  font-size: 1.2em;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.hv-logo-text .hv-sub {
  display: block;
  font-size: 0.48em;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}
.hv-menu-btn {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.7);
  font-size: 1em;
  padding: 5px 12px;
  cursor: pointer;
  border-radius: 3px;
}
.hv-menu-btn:hover { border-color: #fff; color: #fff; }

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.hv-nav {
  background: #fff;
  border-bottom: 1px solid #dde4ea;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.hv-nav-list {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  list-style: none;
  gap: 0;
}
.hv-nav-list a {
  display: block;
  color: #555;
  padding: 11px 16px;
  font-size: 0.84em;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.hv-nav-list a:hover,
.hv-nav-list a.active {
  color: #1a5276;
  border-bottom-color: #1a5276;
}

/* ═══════════════════════════════════════
   MAIN WRAP
   ═══════════════════════════════════════ */
.hv-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 20px;
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hv-hero {
  position: relative;
  margin-bottom: 26px;
  border-radius: 4px;
  overflow: hidden;
}
.hv-hero-img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  display: block;
}
.hv-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(26,82,118,0.85));
  padding: 30px 24px 20px;
}
.hv-hero-overlay h1 {
  font-size: 1.7em;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 6px;
}
.hv-hero-overlay p {
  font-size: 0.88em;
  color: rgba(255,255,255,0.7);
  max-width: 460px;
}

/* ═══════════════════════════════════════
   SECTION HEADING
   ═══════════════════════════════════════ */
.hv-section-head {
  font-size: 1.15em;
  font-weight: 700;
  color: #1a5276;
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 2px solid #5dade2;
}

/* ═══════════════════════════════════════
   ARTICLE LISTING
   ═══════════════════════════════════════ */
.hv-listing {
  margin: 18px 0;
}
.hv-item {
  background: #fff;
  border: 1px solid #dde4ea;
  border-radius: 4px;
  padding: 14px;
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
  transition: border-color 0.2s;
}
.hv-item:hover { border-color: #5dade2; }
.hv-item-thumb {
  width: 150px;
  min-width: 150px;
  height: 105px;
  object-fit: cover;
  border-radius: 3px;
}
.hv-item-text h3 {
  font-size: 0.95em;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}
.hv-item-text h3 a { color: #333; }
.hv-item-text h3 a:hover { color: #1a5276; }
.hv-item-text p {
  font-size: 0.8em;
  color: #888;
  line-height: 1.5;
}
.hv-item-date {
  font-size: 0.72em;
  color: #aab;
  margin-top: 4px;
}

/* ═══════════════════════════════════════
   ARTICLE PAGE
   ═══════════════════════════════════════ */
.hv-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}
.hv-article-header {
  margin-bottom: 18px;
}
.hv-breadcrumb {
  font-size: 0.76em;
  color: #aab;
  margin-bottom: 10px;
}
.hv-breadcrumb a { color: #2471a3; }
.hv-article-header h1 {
  font-size: 1.6em;
  font-weight: 700;
  color: #1a5276;
  line-height: 1.2;
  margin-bottom: 8px;
}
.hv-meta {
  font-size: 0.78em;
  color: #aab;
  padding-bottom: 10px;
  border-bottom: 1px solid #dde4ea;
  margin-bottom: 16px;
}
.hv-cover {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 18px;
  border: 1px solid #dde4ea;
}
.hv-inset {
  float: right;
  margin: 0 0 12px 18px;
  max-width: 260px;
  border-radius: 3px;
  border: 1px solid #dde4ea;
}

/* ═══════════════════════════════════════
   ARTICLE BODY
   ═══════════════════════════════════════ */
.hv-prose {
  font-size: 1em;
  line-height: 1.8;
  color: #444;
}
.hv-prose h2 {
  color: #1a5276;
  font-size: 1.2em;
  font-weight: 700;
  margin: 24px 0 10px;
}
.hv-prose h3 {
  color: #333;
  font-size: 1em;
  font-weight: 700;
  margin: 18px 0 6px;
}
.hv-prose p { margin-bottom: 12px; }
.hv-prose ul, .hv-prose ol {
  margin: 6px 0 14px 24px;
}
.hv-prose li { margin-bottom: 4px; }
.hv-prose strong { color: #333; }
.hv-prose blockquote {
  border-left: 3px solid #5dade2;
  margin: 14px 0;
  padding: 10px 18px;
  background: #f0f7fc;
  color: #555;
  font-style: italic;
  border-radius: 0 4px 4px 0;
}
.hv-prose a { text-decoration: underline; text-underline-offset: 2px; }
.hv-prose a:hover { color: #1a5276; }

/* ═══════════════════════════════════════
   TABLES
   ═══════════════════════════════════════ */
.hv-prose table {
  border-collapse: collapse;
  width: 100%;
  margin: 12px 0;
  font-size: 0.88em;
}
.hv-prose th, .hv-prose td {
  padding: 8px 12px;
  border: 1px solid #dde4ea;
  text-align: left;
}
.hv-prose th {
  background: #1a5276;
  color: #fff;
  font-weight: 600;
}
.hv-prose tr:nth-child(even) { background: #f0f7fc; }
.hv-prose tr:hover { background: #e4f0f9; }

/* ═══════════════════════════════════════
   RELATED
   ═══════════════════════════════════════ */
.hv-related {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid #dde4ea;
}
.hv-related h2 {
  font-size: 1.05em;
  color: #1a5276;
  margin-bottom: 12px;
  font-weight: 700;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.hv-footer {
  background: #1a5276;
  padding: 24px 20px;
  margin-top: 30px;
}
.hv-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hv-footer-brand {
  flex: 2;
  min-width: 180px;
}
.hv-footer-brand p {
  color: rgba(255,255,255,0.35);
  font-size: 0.78em;
  margin-top: 6px;
  line-height: 1.5;
}
.hv-footer-col {
  flex: 1;
  min-width: 130px;
}
.hv-footer-col h4 {
  color: #5dade2;
  font-size: 0.76em;
  margin-bottom: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hv-footer-col ul { list-style: none; }
.hv-footer-col li { margin-bottom: 4px; }
.hv-footer-col a { color: rgba(255,255,255,0.4); font-size: 0.78em; }
.hv-footer-col a:hover { color: #5dade2; }
.hv-footer-copy {
  max-width: 1120px;
  margin: 12px auto 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.72em;
  color: rgba(255,255,255,0.25);
}

/* ═══════════════════════════════════════
   SERVICE PAGES
   ═══════════════════════════════════════ */
.hv-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px;
}
.hv-page h1 {
  font-size: 1.5em;
  font-weight: 700;
  color: #1a5276;
  margin-bottom: 14px;
}
.hv-page h2 {
  color: #1a5276;
  font-size: 1.1em;
  margin: 18px 0 8px;
  font-weight: 700;
}
.hv-page p { margin-bottom: 10px; color: #555; }
.hv-page ul { margin: 5px 0 12px 18px; color: #555; }
.hv-page li { margin-bottom: 3px; }

/* ═══════════════════════════════════════
   RESPONSIVE — 810px
   ═══════════════════════════════════════ */
@media (max-width: 810px) {
  .hv-menu-btn { display: block; }
  .hv-nav-list { display: none; flex-direction: column; padding: 0; }
  .hv-nav-list.open { display: flex; }
  .hv-nav-list a { padding: 10px 20px; border-bottom: 1px solid #eee; }
  .hv-hero-img { height: 230px; }
  .hv-hero-overlay h1 { font-size: 1.4em; }
  .hv-item { flex-direction: column; }
  .hv-item-thumb { width: 100%; min-width: auto; height: 160px; }
  .hv-article-header h1 { font-size: 1.35em; }
  .hv-footer-inner { flex-direction: column; }
  .hv-inset { float: none; max-width: 100%; margin: 0 0 12px 0; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — 500px
   ═══════════════════════════════════════ */
@media (max-width: 500px) {
  .hv-hero-overlay h1 { font-size: 1.15em; }
  .hv-hero-img { height: 180px; }
  .hv-logo-text { font-size: 1em; }
  .hv-logo-text .hv-sub { display: none; }
  .hv-article-header h1 { font-size: 1.2em; }
}
