/* ==========================================================================
   Herbal Dispatch help centre — Help Scout Docs custom CSS
   Upload at: Manage → Docs → Herbal Dispatch FAQ → Custom Code → Upload stylesheet
   Matches the help.herodispatch.com template on the Herbal Dispatch palette.

   Every rule here was applied to the live site and the result measured, not
   written from a reading of the markup. Notes on what fought back:

   1. .category cards carry width:104px and box-sizing:content-box, a Bootstrap 2
      leftover. In a 360px grid column that renders a 158px card, which was the
      cramped look. Section 4 forces width:auto and border-box; measured back at
      360px.
   2. The logo is NOT an <img>. Help Scout renders
      <a class="brand"><span>Herbal Dispatch FAQ</span></a> and the logo is a
      background image on that span with text-indent:-9000px hiding the words.
      Carried forward in section 1. Remove it and the header goes blank.
      The mark is now the round HD badge, embedded as a data URI in :root, so
      the span is square (96px desktop, 54px mobile) rather than a wide
      wordmark slot, and the bar grew to 114px to hold it, matching the new
      storefront theme's header.
   3. The search button already contains <i class="icon-search"></i><span>Search
      </span>. Only the glyph is hidden here. Do not add a ::after with
      content:'Search' or the button says it twice.
   4. Help Scout injects its own <style> from the colour pickers, setting
      .navbar-inner to #125a5b and nav links to #c0c0c0. This file loads after
      and wins.
   5. The nav emits a link per public collection plus the Beacon's CONTACT.
      Section 1 hides the collection links and cases the Beacon label, leaving
      Hero's exact pair: Help Center and Contact.

   SETTINGS ALREADY CHANGED IN HELP SCOUT (2026-09-10), for the record:
   - Docs home link text: "HELP CENTER" → "Help Center"
   - Site description (the hero heading): "How Can We Help?" → "How can we help?"
   - Show on homepage: Categories → Most Popular Articles
   - Collection "POPULAR" (an empty TEST COLLECTION): Public → Private, which
     takes it out of the nav without deleting anything

   HERO PARITY PASS (2026-09-10, after reviewing Hero's own stylesheet at
   s3.amazonaws.com/.../helpscout-hero-dispatch.css): Hero's file contains no
   rule that builds or reveals the category cards, so the cards were always a
   Help Scout setting, not CSS. With "Most Popular Articles" selected, HD now
   emits Hero's exact markup: section.most-pop-articles.two-col + hr.sep +
   section.category-list. Confirmed live. The numbers below were then matched to
   Hero's measured values: hero band sized by 1792/600 ratio (429px at 1280px
   wide, same as Hero), h1 46px Helvetica Neue, search row 56px, section
   headings 27px Helvetica Neue, card radius 16px, card title 18px, article
   count 13px. Palette stays Herbal Dispatch teal; Hero's file is coral.

   STILL OPTIONAL, one field each:
   - The list heading reads "POPULAR ARTICLES" because that is the collection's
     name. Rename it to "Most Popular Articles" for exact Hero parity. Left alone
     here because renaming changes the collection slug and any bookmarked
     /collection/1-popular-articles link.
   - The Beacon's label is genuinely "CONTACT" inside the Beacon, which may be
     shared with other sites. Cased with CSS here rather than edited there.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --hd-teal:#10595A;
  --hd-teal-dark:#0C4041;
  --hd-coral:#DC4F3F;
  --hd-coral-dark:#C13E30;
  --hd-ink:#101A1C;
  --hd-muted:#586B6D;
  --hd-line:#D6E3E3;
  --hd-line-soft:#EDF2F2;
  --hd-paper:#FBFDFD;
  --hd-bar:#F1F0EE;                 /* the light top bar Hero uses */

  /* Hero sets every heading in Helvetica Neue and body copy in Inter. Matched
     here so the two help centres set type identically. */
  --hd-display:"Helvetica Neue",Helvetica,"Liberation Sans",Arial,sans-serif;

  /* The round Herbal Dispatch badge, embedded so the header never depends on
     an external file staying put. Sized to the new storefront theme, which
     draws assets/img/hd-seal.png at 96px in a 114px bar (9px clear above and
     below) and 54px in a 72px bar on mobile. Those exact numbers are used
     below. 192px source so it stays crisp at 96px on retina. Replace the data
     URI to change the mark. */
  --hd-logo:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAMAAABlApw1AAABIFBMVEUPWFkAAAD9/f0ATE5ShocnaWmux8dql5jI2dnZ5OSVtbY4dHUaYWIGVlaGq6vj7Ox6oqMTXmBCfH0APj4PWFkPWVoPWVq90dEAf3+hvb4PWVoOWFkPWVpGf4BekJAJZWV1n6AHSkqjv8AAOToA///R3+AWTWRhjo8AAH8AAP8APkAAP38MVWEAfwAhX2AAAAAAAAAAAAAAA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qpoeT3HCp48VjHHM5asaWptMBgeU6HrA61jvNsx/TvO9ZxcrDmR3WwJqhJKxW767A6QQoE/kK2YMq7uWNbfufBmhaDXytHm2YW5oQGx8jEchrnNMkQJxz3UohxCfzyaNP94442XTxc9mc1CgBUh02Q2JK8faUjKaCcgN/8/sNlgzaaCNzK8b7GdLXZDqClmSrfdbzv6gHLzWIIfLE3tPm+A5Znj7gOHdJnMlw/OMUecR0mzHTfcsR1IMLSIeOEXpPZMqLwuXTI+OG3HTIejnlHQ8nC3T3HvHelEA3otx7z7jEwfDRUSa0uz1qIGZUFkUi5lUC3gmyD5Z4r4b8WgTkU7N4TJWH6Qf0ko4anMDVUj+SngskKqUgp/TeBfwMC1qz9eKtQ8BmhatdD506pN5es90N0bHJ2nAf/6XpobkDgx192pd6PwySfZjfQXNi70Rku05OK/XB8t+/8zx/fg4DN3JnPHV7RMJXQwQ9mmWS2pJ+PMkzlfECvh3+a973cBMptCHhGspyEhgVxNWyfZvZoJxCzom0ef377cRPz3ImAl7d/GjKgYV1rLl/mwdfDrx83iO5DEPCc5FgJ3TBIy0FvX/D0cg8MdyHgzlA0f3wdno9XIWFuPT4fvuLzfycCCYb94dlSormAhrvh9fmw//EI6B+DgDsIzP319WawOK7BfzSwv315LbB/yKcfg4CVh6fYw7B/O7w/G0QAJkcD+PP74W0fezLu43t4/T8o5EQnkF5YwAAAAABJRU5ErkJggg==');

  --hd-sand:#EDEAE4;                /* the warm circle behind Hero's card icons */

  --hd-ic-member:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DC4F3F' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='4' width='20' height='16' rx='2'/><circle cx='8.5' cy='11' r='2.2'/><path d='M5 16.2c.7-1.4 2-2.2 3.5-2.2s2.8.8 3.5 2.2'/><path d='M15 10h4'/><path d='M15 14h4'/></svg>");
  --hd-ic-order:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DC4F3F' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='20' r='1.4'/><circle cx='18' cy='20' r='1.4'/><path d='M2 3h2.2l2.4 12.1a1.5 1.5 0 0 0 1.5 1.2h8.6a1.5 1.5 0 0 0 1.5-1.2L21 7H5.4'/></svg>");
  --hd-ic-product:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DC4F3F' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10z'/><path d='M2 21c0-3 1.85-5.36 5.08-6'/></svg>");

  --hd-doc:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><path d='M14 2v6h6'/><path d='M16 13H8'/><path d='M16 17H8'/></svg>");
}

body,
.navbar,
#docsSearch,
#contentArea{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  color:var(--hd-ink);
  background:#fff;
}

/* ==========================================================================
   1. Top bar: light, logo left, nav right, sentence case
   ========================================================================== */

.navbar .navbar-inner,
#mainNav .navbar-inner{
  background:var(--hd-bar);
  border:none;
  box-shadow:none;
  min-height:114px;
  filter:none;
}
/* Hero's measured header geometry: a 1080px centred container with zero
   padding, so at 1280 the logo starts at x:100 and the nav ends 100px from the
   right edge. Below 1080 Hero pads the bar itself by 14px rather than the
   container. Hero only applies that under 979px, which leaves its logo flush
   against the window edge between 979 and 1080; the gutter is carried up to
   1079 here so HD never does that. */
#mainNav .container-fluid{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  max-width:1080px;
  margin:0 auto;
  padding:0;
}
/* Bootstrap 2 puts a clearfix ::before on .container-fluid. In a flex row that
   becomes a real zero-width flex item, and the 24px gap after it pushed the
   logo 24px right of the container edge. Measured: x:124 with it, x:100
   without, which is Hero's number. */
#mainNav .container-fluid::before,
#mainNav .container-fluid::after{display:none;}
@media(max-width:1079px){
  .navbar .navbar-inner,#mainNav .navbar-inner{padding:0 14px;}
}

/* the logo: background image on the span, text pushed off screen */
#mainNav .brand{
  display:flex;
  align-items:center;
  height:114px;
  padding:0;
  margin:0;
  text-shadow:none;
}
#mainNav .brand span{
  display:block;
  width:96px;
  height:96px;
  text-indent:-9000px;
  overflow:hidden;
  background:var(--hd-logo) left center / contain no-repeat;
}
@media(max-width:600px){
  .navbar .navbar-inner,#mainNav .navbar-inner{min-height:72px;}
  #mainNav .brand{height:72px;}
  #mainNav .brand span{width:54px;height:54px;}
}

/* nav right, sentence case. Hero's nav is not uppercase; that single
   difference does most of the work of making this look like Hero. */
/* .nav-collapse is height:0 until Bootstrap opens it, so the ul overflows it
   and starts ON the bar's centre line instead of being centred on it, which
   left the links sitting low. translateY(-50%) pulls the ul up by half its own
   height without touching layout, so the links centre at every width while
   keeping their right edge on the container edge. Measured: links and badge
   both centre at y:57 desktop and y:36 mobile. Do not swap this for absolute
   positioning; below 980px the collapse box is not at the container's right
   edge and the links fly off screen. */
#mainNav .nav-collapse{margin-left:auto;}
#mainNav ul.nav{
  display:flex;
  align-items:center;
  gap:4px;
  margin:0;
  float:none;
  white-space:nowrap;
  transform:translateY(-50%);
}
#mainNav ul.nav > li{float:none;margin:0;}
.navbar .nav li a,
#mainNav ul.nav > li > a{
  text-transform:none;
  font-size:15px;
  font-weight:600;
  letter-spacing:0;
  color:var(--hd-ink);
  padding:0 15px;
  background:none;
  text-shadow:none;
  transition:color .15s;
}
.navbar .nav li a:hover,
.navbar .nav li a:focus,
#mainNav ul.nav > li > a:hover{
  color:var(--hd-teal);
  background:none;
}

/* Hero does not mark the current page in the bar */
.navbar .nav .active a,
.navbar .nav .active a:hover,
.navbar .nav .active a:focus{
  color:var(--hd-ink);
  background:none;
  box-shadow:none;
}
.navbar .nav .active a::after{display:none;}

/* HD has exactly two nav links and they fit inline down to 320px (measured:
   badge ends at x:74, first link starts at x:98). The ul is display:flex at
   every width, so Bootstrap's toggle never hides anything and just sat there
   as a dead control. Hidden rather than styled. */
#mainNav .btn-navbar{display:none;}

/* Hero's nav is exactly two items: Help Center and Contact. HD's site also
   emits a link per public collection, and the Beacon adds CONTACT in caps.
   Verified live: the nav is Help Center (/), the collection (/collection/...)
   and the Beacon's CONTACT (href="#"). These two rules leave Hero's pair. */
#mainNav ul.nav > li:has(> a[href^="/collection/"]){display:none;}
/* the Beacon label is set inside the Beacon itself and is shared, so it is
   cased here rather than edited there */
#mainNav ul.nav > li > a[href="#"]{text-transform:lowercase;}
#mainNav ul.nav > li > a[href="#"]::first-letter{text-transform:uppercase;}

/* ==========================================================================
   2. Hero
   ========================================================================== */

#docsSearch{
  /* The dark layer is a gradient over whatever image is set in Customize, so
     the heading stays readable on any photo. Raise .55 toward .70 if a new
     hero image is busy through the middle. */
  background-image:
    linear-gradient(rgba(8,18,18,.55), rgba(8,18,18,.55)),
    url('https://cdn.shopify.com/s/files/1/0569/5550/2675/files/Herbal_Dispatch_hero.jpg?v=1659753358');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  /* Hero parity: the band is sized by ratio, not padding, so it lands at the
     same height as help.herodispatch.com at every width. border-box keeps the
     20px side gutter out of the ratio maths. */
  box-sizing:border-box;
  aspect-ratio:1792 / 600;
  min-height:340px;
  padding:0 20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  border:none;
}
#docsSearch h1{
  font-family:var(--hd-display);
  font-weight:700;
  font-size:46px;
  line-height:1.05;
  letter-spacing:-.03em;
  color:#fff;
  text-transform:none;
  text-shadow:0 2px 18px rgba(0,0,0,.4);
  margin:0 0 32px;
}
@media(max-width:760px){
  #docsSearch{aspect-ratio:auto;min-height:210px;padding:26px 16px;}
  #docsSearch h1{font-size:30px;line-height:1.1;margin-bottom:24px;}
}

/* search field: white pill, coral button flush against it */
#docsSearch #searchBar{
  display:flex;
  max-width:640px;
  margin:0 auto;
  position:relative;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 12px 34px rgba(0,0,0,.22);
}
#docsSearch #searchBar input.search-query{
  flex:1;
  min-width:0;
  height:56px;
  margin:0;
  padding:0 22px;
  border:none;
  border-radius:0;
  background:#fff;
  box-shadow:none;
  font-family:'Inter',sans-serif;
  font-size:16px;
  color:var(--hd-ink);
}
#docsSearch #searchBar input.search-query:focus{outline:none;box-shadow:none;}
#docsSearch #searchBar input.search-query::placeholder{color:#8A9A9B;}

#docsSearch #searchBar button{
  flex:none;
  width:118px;
  height:56px;
  border:none;
  border-radius:0;
  background:var(--hd-coral);
  color:#fff;
  font-family:'Inter',sans-serif;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
  transition:background .15s;
}
#docsSearch #searchBar button:hover{background:var(--hd-coral-dark);}
/* the label span is already in the markup; only the glyph is hidden */
#docsSearch #searchBar button i.icon-search{display:none;}
#docsSearch #searchBar button span{display:inline;}
@media(max-width:520px){
  #docsSearch #searchBar button{width:92px;font-size:15px;}
  #docsSearch #searchBar input.search-query{height:50px;}
  #docsSearch #searchBar button{height:50px;}
}

/* the type-ahead dropdown */
#serp-dd{border-radius:10px;overflow:hidden;box-shadow:0 18px 40px rgba(16,26,28,.18);}
#serp-dd .result a{color:var(--hd-ink);}
#serp-dd .result a:hover,
#serp-dd .result > li.active{background:var(--hd-line-soft);color:var(--hd-teal);}

/* ==========================================================================
   3. Most Popular Articles, two columns

   Turn this on at Customize → "Show on homepage" → Most Popular Articles. That
   setting gives the article list AND the category cards below it, which is
   exactly Hero's homepage. Verified live on HD.

   HD now emits Hero's markup: <section class="most-pop-articles two-col">,
   <hr class="sep">, <section class="category-list">. Earlier it emitted
   <section class="threeCol row-fluid"><section class="collection">; the rules
   for that older wrapper are kept below so the file survives either shape.

   The document icon is a real <i class="icon-article-doc"> in the markup, so it
   needs colouring, not generating.
   ========================================================================== */

#contentArea{max-width:1120px;margin:0 auto;padding:64px 32px 44px;}
@media(max-width:640px){#contentArea{padding:44px 18px 32px;}}

/* flatten Help Scout's column wrapper */
#contentArea .threeCol.row-fluid,
#contentArea .twoCol.row-fluid{display:block;width:auto;margin:0;}
#contentArea .threeCol .collection,
#contentArea .twoCol .collection{
  float:none;width:auto;margin:0;padding:0;background:none;border:none;box-shadow:none;
}

#contentArea .collection-head,
.most-pop-articles h2{text-align:center;padding:0;border:none;}
/* The wrapper carries the gap in the legacy collection layout; in Hero's
   .most-pop-articles layout there is no wrapper, so the heading carries it
   itself. Without this the heading sits flush on the first row of links. */
#contentArea .collection-head{margin:0 0 34px;}
#contentArea .collection-head h2{margin:0;}
.most-pop-articles h2{margin:0 0 40px;}
@media(max-width:640px){.most-pop-articles h2{margin:0 0 28px;}}
#contentArea .collection-head h2,
.most-pop-articles h2{
  padding:0;
  font-family:var(--hd-display);
  font-weight:700;
  font-size:27px;
  line-height:1.15;
  letter-spacing:-.02em;
  color:var(--hd-ink);
  text-transform:none;
}
#contentArea .collection-head h2 a{color:var(--hd-ink);text-decoration:none;}
#contentArea .collection-head h2 a:hover{color:var(--hd-teal);}
/* Hero has no subtitle under the heading */
#contentArea .collection-head p{display:none;}
@media(max-width:640px){
  #contentArea .collection-head h2,
  .most-pop-articles h2{font-size:23px;}
}

#contentArea .collection-body{padding:0;background:none;border:none;}

#contentArea ul.popArticles,
.most-pop-articles.two-col ul.popArticles{
  columns:2;
  column-gap:56px;
  max-width:940px;
  margin:0 auto;
  padding:0;
  list-style:none;
}
@media(max-width:760px){
  #contentArea ul.popArticles,
  .most-pop-articles.two-col ul.popArticles{columns:1;}
}
#contentArea ul.popArticles li{
  break-inside:avoid;
  margin:0 0 16px;
  padding:0;
  list-style:none;
  border:none;
  background:none;
}
#contentArea ul.popArticles li a{
  display:flex;
  align-items:flex-start;
  gap:11px;
  padding:0;
  font-size:16px;
  line-height:1.5;
  color:var(--hd-ink);
  text-decoration:none;
  transition:color .15s;
}
#contentArea ul.popArticles li a:hover{
  color:var(--hd-teal);
  text-decoration:underline;
  text-underline-offset:2px;
}
#contentArea ul.popArticles li a i{flex:none;margin-top:2px;color:var(--hd-muted);opacity:.85;}
#contentArea ul.popArticles li a:hover i{color:var(--hd-teal);opacity:1;}

hr.sep{border:none;border-top:1px solid var(--hd-line);margin:52px 0;}

/* ==========================================================================
   4. Collection heading + category cards

   Two things about Help Scout's own stylesheet that have to be overridden by
   force here, both verified on the live page:
     - .category is width:104px and box-sizing:content-box, a Bootstrap 2
       leftover. Inside a grid column that makes a 158px card in a 360px slot,
       which is exactly the cramped look. width:auto + border-box fixes it.
     - it also carries margin:0 2.875px 20px, which fights the grid gap.
   Hero's cards show an icon, the title and the article count. The description
   paragraph is hidden to match; delete that rule to keep the descriptions.
   ========================================================================== */

/* the collection heading ("POPULAR ARTICLES"). The capitals are the collection's
   real name, not CSS, so rename it in Help Scout to "Most Popular Articles" to
   match Hero exactly. */
.collection-category > h2,
#contentArea .collection-category h2{
  text-align:center;
  font-family:var(--hd-display);
  font-weight:700;
  font-size:27px;
  letter-spacing:-.02em;
  color:var(--hd-ink);
  text-transform:none;
  margin:0 0 34px;
}
@media(max-width:640px){.collection-category > h2{font-size:23px;}}

.category-list{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  float:none;
}
@media(max-width:900px){.category-list{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.category-list{grid-template-columns:1fr;}}
.category-list::before,
.category-list::after{display:none;}          /* kill the Bootstrap clearfix */

.category-list .category,
#contentArea .category-list a.category{
  box-sizing:border-box;
  width:auto;
  max-width:none;
  min-height:0;
  margin:0;
  float:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  background:#fff;
  border:1px solid var(--hd-line);
  border-radius:16px;
  padding:34px 26px 30px;
  text-decoration:none;
  transition:border-color .15s, box-shadow .15s, transform .15s;
}
.category-list .category:hover{
  border-color:var(--hd-teal);
  box-shadow:0 10px 26px rgba(16,89,90,.09);
  transform:translateY(-2px);
}

/* the circular icon Hero puts above each title */
.category-list .category::before{
  content:'';
  width:74px;
  height:74px;
  flex:none;
  border-radius:50%;
  background-color:var(--hd-sand);
  background-repeat:no-repeat;
  background-position:center;
  background-size:32px 32px;
  margin-bottom:20px;
}
#category-4::before{background-image:var(--hd-ic-member);}
#category-6::before{background-image:var(--hd-ic-order);}
#category-5::before{background-image:var(--hd-ic-product);}

.category-list .category h3{
  font-family:var(--hd-display);
  font-weight:700;
  font-size:18px;
  line-height:1.3;
  letter-spacing:-.015em;
  color:var(--hd-ink);
  text-transform:none;
  margin:0 0 10px;
}
/* Hero shows icon + title + count only. Remove this rule to keep descriptions. */
.category-list .category > p:not(.article-count){display:none;}

.category-list .category .article-count{
  font-size:13px;
  font-weight:600;
  color:var(--hd-coral);
  margin:0;
}

/* ==========================================================================
   5. Collection and article pages
   ========================================================================== */

#contentArea h1,
#fullArticle h1{
  font-family:'Inter',sans-serif;
  font-weight:700;
  letter-spacing:-.02em;
  color:var(--hd-ink);
}
#fullArticle{font-size:16px;line-height:1.75;color:#22312F;}
#fullArticle h2,
#fullArticle h3{
  font-family:'Inter',sans-serif;
  font-weight:600;
  letter-spacing:-.015em;
  color:var(--hd-ink);
}
#fullArticle a,
.contentWrapper a,
.collection a{color:var(--hd-teal);}
#fullArticle a:hover,
.contentWrapper a:hover,
.collection a:hover{color:var(--hd-coral);}
#fullArticle blockquote{
  border-left:3px solid var(--hd-teal);
  background:var(--hd-line-soft);
  border-radius:0 10px 10px 0;
  padding:14px 20px;
  margin:22px 0;
  color:#2C4142;
}
#fullArticle code,
#fullArticle pre{
  background:var(--hd-line-soft);
  border-radius:8px;
  color:var(--hd-ink);
}

.article-list li a{color:var(--hd-ink);text-decoration:none;}
.article-list li a:hover{color:var(--hd-teal);text-decoration:underline;}

/* breadcrumbs */
#contentArea .breadcrumb,
.breadcrumb{
  background:none;
  padding:0;
  margin-bottom:18px;
  font-size:13px;
  color:var(--hd-muted);
}
.breadcrumb a{color:var(--hd-muted);}
.breadcrumb a:hover{color:var(--hd-teal);}

/* was this helpful / feedback footer */
.rating,
#fullArticle + .rating{border-top:1px solid var(--hd-line);padding-top:24px;}

/* ==========================================================================
   6. Footer
   ========================================================================== */

#contentArea footer.center,
footer.center{
  border-top:1px solid var(--hd-line);
  margin-top:56px;
  padding-top:26px;
  font-size:13px;
  color:var(--hd-muted);
}
footer.center a{color:var(--hd-muted);}
footer.center a:hover{color:var(--hd-teal);}
