/* Joomla Center: tag DIRECTORY only, RU / EN.
   Load after template.css, preset and custom.css.
   Image: /images/joomla-tags-hero.webp. Pagination has its own global CSS. */

body.com-tags.view-tags #sp-component .tag-category {
  --tags-link: #236093;
  --tags-line: #d8e1eb;
  --tags-image: url("/images/joomla-tags-hero.webp");
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(120px, auto) minmax(120px, auto) auto;
  isolation: isolate;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* A shared background for the existing title and description, no extra HTML. */
body.com-tags.view-tags #sp-component .tag-category::before,
body.com-tags.view-tags #sp-component .tag-category::after {
  content: "";
  grid-area: 1 / 1 / 3 / 2;
  min-height: 240px;
  border-radius: 12px;
  pointer-events: none;
}

body.com-tags.view-tags #sp-component .tag-category::before {
  z-index: 0;
  border: 1px solid #4f87be;
  background: radial-gradient(ellipse at 95% 60%, #76b6ed33, transparent 55%),
    linear-gradient(110deg, #143b74, #1b5798 64%, #2a6eac);
}

body.com-tags.view-tags #sp-component .tag-category::after {
  z-index: 1;
  justify-self: end;
  width: 39%;
  max-width: 340px;
  background: var(--tags-image) right 16px center / contain no-repeat;
}

body.com-tags.view-tags #sp-component .tag-category > h1 {
  grid-area: 1 / 1;
  z-index: 2;
  align-self: end;
  min-width: 0;
  margin: 0;
  padding: 30px 41% 12px 32px;
  border: 0;
  background: none;
  box-shadow: none;
  border-bottom: 0 !important; /* Existing custom.css forces a title underline. */
  color: #fff;
  font-family: inherit;
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -.025em;
  text-align: start;
  text-transform: none;
  text-shadow: none;
  overflow-wrap: anywhere;
}

body.com-tags.view-tags #sp-component .tag-category > h1::before,
body.com-tags.view-tags #sp-component .tag-category > h1::after {
  content: none;
}

body.com-tags.view-tags #sp-component .tag-category > .com-tags__description {
  grid-area: 2 / 1;
  z-index: 2;
  align-self: start;
  min-width: 0;
  margin: 0;
  padding: 0 41% 30px 32px;
  border: 0;
  background: none;
  color: #e3efff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

body.com-tags.view-tags #sp-component .tag-category > .com-tags__description p {
  margin: 0 0 8px;
  color: inherit;
  font: inherit;
}

body.com-tags.view-tags #sp-component .tag-category > .com-tags__description p:last-child {
  margin-bottom: 0;
}

body.com-tags.view-tags #sp-component .tag-category > .com-tags__description a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .18em;
}

/* The title can stand alone when the description is disabled. */
body.com-tags.view-tags #sp-component .tag-category:not(:has(> .com-tags__description))::before,
body.com-tags.view-tags #sp-component .tag-category:not(:has(> .com-tags__description))::after {
  grid-row-end: 2;
}

body.com-tags.view-tags #sp-component .tag-category:not(:has(> .com-tags__description)) {
  grid-template-rows: minmax(240px, auto) auto;
}

body.com-tags.view-tags #sp-component .tag-category:not(:has(> .com-tags__description)) > h1 {
  align-self: center;
  padding-bottom: 30px;
}

/* No common white panel around the filter and directory. */
body.com-tags.view-tags #sp-component .tag-category > .com-tags__items {
  grid-column: 1;
  min-width: 0;
  margin: 24px 0 0;
  margin-bottom: 0 !important; /* Existing custom.css has an important margin. */
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.com-tags.view-tags #sp-component .tag-category #adminForm {
  min-width: 0;
  margin: 0 0 20px !important; /* Existing .com-tags form rule is important. */
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.com-tags.view-tags #sp-component .com-tags-tags__filter,
body.com-tags.view-tags #sp-component .com-tags-tags__filter .btns-group-wrap {
  display: flex;
  width: 100%;
  min-width: 0;
  gap: 8px;
}

body.com-tags.view-tags #sp-component .com-tags-tags__filter #filter-search {
  flex: 1 1 0%;
  width: 0;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #bfd2e4;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  color: #173c55;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

body.com-tags.view-tags #sp-component .com-tags-tags__filter #filter-search::placeholder {
  color: #71869a;
  opacity: 1;
}

body.com-tags.view-tags #sp-component .com-tags-tags__filter #filter-search:focus {
  outline: 0;
  border-color: #4f96c9;
  box-shadow: 0 0 0 3px #2360931f;
}

body.com-tags.view-tags #sp-component .com-tags-tags__filter button {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #115a91;
  border-radius: 8px;
  background: #115a91;
  box-shadow: none;
  color: #fff;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.com-tags.view-tags #sp-component .com-tags-tags__filter button[type="reset"] {
  border-color: #bfd2e4;
  background: #fff;
  color: var(--tags-link);
}

/* Independent icons also work if the template's icon font fails to load. */
body.com-tags.view-tags #sp-component .com-tags-tags__filter button > span {
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: var(--tags-control-icon) center / contain no-repeat;
  mask: var(--tags-control-icon) center / contain no-repeat;
}

body.com-tags.view-tags #sp-component .com-tags-tags__filter button > span::before {
  content: none;
}

body.com-tags.view-tags #sp-component .com-tags-tags__filter button[type="submit"] {
  --tags-control-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E");
}

body.com-tags.view-tags #sp-component .com-tags-tags__filter button[type="reset"] {
  --tags-control-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M6 18 18 6'/%3E%3C/svg%3E");
}

/* Bootstrap breakpoints: xs = 1 column, sm/md = 2, lg and up = 3. */
body.com-tags.view-tags #sp-component .tag-category .com-tags__category {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 0;
  columns: auto;
  list-style: none;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.com-tags.view-tags #sp-component .tag-category .com-tags__category > li {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--tags-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  list-style: none;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.com-tags.view-tags #sp-component .tag-category .com-tags__category > li > h3 {
  display: flex;
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: none;
}

body.com-tags.view-tags #sp-component .tag-category .com-tags__category > li > h3 > a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 8px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 74px;
  padding: 14px;
  border-radius: 7px;
  color: var(--tags-link);
  font: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .2s ease;
}

body.com-tags.view-tags #sp-component .tag-category .com-tags__category > li > h3 > a::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #e8f5ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23236093' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 13-8 8a2 2 0 0 1-2.8 0L3 14.8a2 2 0 0 1 0-2.8l8-8H20Z'/%3E%3Ccircle cx='16' cy='8' r='1'/%3E%3C/svg%3E") center / 23px 23px no-repeat;
  transition: background-color .2s ease;
}

body.com-tags.view-tags #sp-component .tag-category .com-tags__category > li > h3 > a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

body.com-tags.view-tags #sp-component .tag-category .com-tags__category > li:focus-within {
  border-color: #8bb9dc;
  background: #edf6ff;
  box-shadow: 0 3px 10px #115a9112;
}

body.com-tags.view-tags #sp-component .tag-category .com-tags__category > li > h3 > a:focus-visible,
body.com-tags.view-tags #sp-component .com-tags-tags__filter button:focus-visible {
  outline: 3px solid #4f96c9;
  outline-offset: 3px;
}

@media (hover: hover) {
  body.com-tags.view-tags #sp-component .tag-category .com-tags__category > li:hover {
    border-color: #8bb9dc;
    background: #edf6ff;
    box-shadow: 0 3px 10px #115a9112;
  }
  body.com-tags.view-tags #sp-component .tag-category .com-tags__category > li > h3 > a:hover {
    color: #115a91;
  }
  body.com-tags.view-tags #sp-component .tag-category .com-tags__category > li > h3 > a:hover::before {
    background-color: #d9eeff;
  }
  body.com-tags.view-tags #sp-component .tag-category .com-tags__category > li > h3 > a:hover::after {
    transform: translateX(2px) rotate(45deg);
  }
  body.com-tags.view-tags #sp-component .com-tags-tags__filter button[type="submit"]:hover {
    border-color: #0b4776;
    background: #0b4776;
    box-shadow: 0 3px 8px #115a9126;
  }
  body.com-tags.view-tags #sp-component .com-tags-tags__filter button[type="reset"]:hover {
    border-color: #8bb9dc;
    background: #edf6ff;
  }
}

@media (min-width: 576px) {
  body.com-tags.view-tags #sp-component .tag-category .com-tags__category {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  body.com-tags.view-tags #sp-component .tag-category .com-tags__category {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  body.com-tags.view-tags #sp-component .tag-category { grid-template-rows: minmax(108px, auto) minmax(108px, auto) auto; }
  body.com-tags.view-tags #sp-component .tag-category:not(:has(> .com-tags__description)) { grid-template-rows: minmax(216px, auto) auto; }
  body.com-tags.view-tags #sp-component .tag-category::before,
  body.com-tags.view-tags #sp-component .tag-category::after { min-height: 216px; }
  body.com-tags.view-tags #sp-component .tag-category > h1 { padding-left: 24px; padding-right: 37%; font-size: 30px; }
  body.com-tags.view-tags #sp-component .tag-category > .com-tags__description { padding-left: 24px; padding-right: 37%; font-size: 15px; }
  body.com-tags.view-tags #sp-component .tag-category::after { width: 35%; background-position: right 10px center; }
  body.com-tags.view-tags #sp-component .tag-category .com-tags__category { gap: 12px; }
  body.com-tags.view-tags #sp-component .tag-category .com-tags__category > li > h3 { font-size: 16px; }
  body.com-tags.view-tags #sp-component .tag-category .com-tags__category > li > h3 > a { gap: 10px; padding: 12px; min-height: 66px; }
}

@media (max-width: 575.98px) {
  body.com-tags.view-tags #sp-component .tag-category::after { width: 42%; opacity: .16; background-position: right 6px center; }
  body.com-tags.view-tags #sp-component .tag-category > h1 { padding: 26px 24px 12px; }
  body.com-tags.view-tags #sp-component .tag-category > .com-tags__description { padding: 0 24px 26px; }
  body.com-tags.view-tags #sp-component .tag-category > .com-tags__items { margin-top: 20px; }
  body.com-tags.view-tags #sp-component .tag-category .com-tags__category > li > h3 > a { min-height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  body.com-tags.view-tags #sp-component .tag-category,
  body.com-tags.view-tags #sp-component .tag-category *,
  body.com-tags.view-tags #sp-component .tag-category *::before,
  body.com-tags.view-tags #sp-component .tag-category *::after { transition: none; }
}
/* Joomla Center: content lists of a selected tag, RU / EN.
   Load after template.css, preset and custom.css.
   Scope: view-tag only. The tag directory uses view-tags and tags.css.
   Pagination continues to use the site's separate global stylesheet. */

body.com-tags.view-tag #sp-component .com-tags-tag.tag-category {
  --tag-list-link: #236093;
  --tag-list-line: #d8e1eb;
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 32px;
  border: 1px solid var(--tag-list-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px #173c5508;
  color: #173c55;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.com-tags.view-tag #sp-component .com-tags-tag.tag-category::before,
body.com-tags.view-tag #sp-component .com-tags-tag.tag-category::after {
  content: none;
}

body.com-tags.view-tag #sp-component .com-tags-tag > h1 {
  position: relative;
  margin: 0 0 20px;
  padding: 0 0 22px;
  border: 0;
  border-bottom: 0 !important; /* Existing custom.css forces an underline. */
  background: none;
  box-shadow: none;
  color: #173c55;
  font-family: inherit;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
  text-align: start;
  text-transform: none;
  text-shadow: none;
  overflow-wrap: anywhere;
}

body.com-tags.view-tag #sp-component .com-tags-tag > h1::before {
  content: none;
}

body.com-tags.view-tag #sp-component .com-tags-tag > h1::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  display: block;
  width: 64px;
  height: 4px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: #328fee;
}

body.com-tags.view-tag #sp-component .com-tags-tag > .com-tags-tag__description {
  min-width: 0;
  height: auto;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #61758c;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

body.com-tags.view-tag #sp-component .com-tags-tag > .com-tags-tag__description p {
  margin: 0 0 10px;
  color: inherit;
  font: inherit;
}

body.com-tags.view-tag #sp-component .com-tags-tag > .com-tags-tag__description p:last-child {
  margin-bottom: 0;
}

body.com-tags.view-tag #sp-component .com-tags-tag > .com-tags__items {
  min-width: 0;
  margin: 0 !important; /* Existing custom.css sets an important bottom margin. */
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* Keep the existing Joomla form and its submit/reset handlers. */
body.com-tags.view-tag #sp-component .com-tags-tag #adminForm {
  min-width: 0;
  margin: 0 0 24px !important; /* Existing .com-tags form margin is important. */
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.com-tags.view-tag #sp-component .com-tags-tags__filter,
body.com-tags.view-tag #sp-component .com-tags-tags__filter .btns-group-wrap {
  display: flex;
  width: 100%;
  min-width: 0;
  gap: 8px;
}

body.com-tags.view-tag #sp-component .com-tags-tags__filter #filter-search {
  flex: 1 1 0%;
  width: 0;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #bfd2e4;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  color: #173c55;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  transition: border-color .2s ease, box-shadow .2s ease;
}

body.com-tags.view-tag #sp-component .com-tags-tags__filter #filter-search::placeholder {
  color: #71869a;
  opacity: 1;
}

body.com-tags.view-tag #sp-component .com-tags-tags__filter #filter-search:focus {
  outline: 0;
  border-color: #4f96c9;
  box-shadow: 0 0 0 3px #2360931f;
}

body.com-tags.view-tag #sp-component .com-tags-tags__filter button {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #115a91;
  border-radius: 8px;
  background: #115a91;
  box-shadow: none;
  color: #fff;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.com-tags.view-tag #sp-component .com-tags-tags__filter button[type="reset"] {
  border-color: #bfd2e4;
  background: #fff;
  color: #236093;
}

body.com-tags.view-tag #sp-component .com-tags-tags__filter button > span {
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: var(--tag-control-icon) center / contain no-repeat;
  mask: var(--tag-control-icon) center / contain no-repeat;
}

body.com-tags.view-tag #sp-component .com-tags-tags__filter button > span::before {
  content: none;
}

body.com-tags.view-tag #sp-component .com-tags-tags__filter button[type="submit"] {
  --tag-control-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E");
}

body.com-tags.view-tag #sp-component .com-tags-tags__filter button[type="reset"] {
  --tag-control-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M6 18 18 6'/%3E%3C/svg%3E");
}

/* A single list of title links at every viewport width. */
body.com-tags.view-tag #sp-component .com-tags-tag__category {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  columns: auto;
  list-style: none;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.com-tags.view-tag #sp-component .com-tags-tag__category > li {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
  border-bottom: 1px solid var(--tag-list-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.com-tags.view-tag #sp-component .com-tags-tag__category > li > h3 {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tag-list-link);
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: none;
}

body.com-tags.view-tag #sp-component .com-tags-tag__category > li > h3::before,
body.com-tags.view-tag #sp-component .com-tags-tag__category > li > h3::after {
  content: none;
}

body.com-tags.view-tag #sp-component .com-tags-tag__category > li > h3 > a {
  display: block;
  min-width: 0;
  min-height: 56px;
  margin: 0;
  padding: 16px 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--tag-list-link);
  font: inherit;
  white-space: normal;
  overflow-wrap: anywhere;
  text-decoration: none;
  text-underline-offset: .18em;
  transition: background-color .2s ease, color .2s ease;
}

/* Title-only presentation, including pages where Joomla outputs optional extras. */
body.com-tags.view-tag #sp-component .com-tags-tag__category > li > :not(h3),
body.com-tags.view-tag #sp-component .com-tags-tag img {
  display: none;
}

body.com-tags.view-tag #sp-component .com-tags-tag__category > li > h3 > a:focus-visible {
  outline: 2px solid #4f96c9;
  outline-offset: -2px;
  background: #edf6ff;
  color: #115a91;
  text-decoration: underline;
}

body.com-tags.view-tag #sp-component .com-tags-tags__filter button:focus-visible {
  outline: 3px solid #4f96c9;
  outline-offset: 3px;
}

@media (hover: hover) {
  body.com-tags.view-tag #sp-component .com-tags-tag__category > li > h3 > a:hover {
    background: #edf6ff;
    color: #115a91;
    text-decoration: underline;
  }
  body.com-tags.view-tag #sp-component .com-tags-tags__filter button[type="submit"]:hover {
    border-color: #0b4776;
    background: #0b4776;
    box-shadow: 0 3px 8px #115a9126;
  }
  body.com-tags.view-tag #sp-component .com-tags-tags__filter button[type="reset"]:hover {
    border-color: #8bb9dc;
    background: #edf6ff;
  }
}

/* Bootstrap sm breakpoint. Long titles wrap in the same single-column list. */
@media (max-width: 575.98px) {
  body.com-tags.view-tag #sp-component .com-tags-tag.tag-category { padding: 20px; }
  body.com-tags.view-tag #sp-component .com-tags-tag > h1 { font-size: 30px; }
  body.com-tags.view-tag #sp-component .com-tags-tag__category > li > h3 > a { padding: 14px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  body.com-tags.view-tag #sp-component .com-tags-tag *,
  body.com-tags.view-tag #sp-component .com-tags-tag *::before,
  body.com-tags.view-tag #sp-component .com-tags-tag *::after { transition: none; }
}
/* The template renders article tags as a direct sibling of .articleBody.
   Zero-size separator text neutralizes the existing &nbsp; between links;
   link margins provide consistent spacing without changing the HTML. */
.site .tags {
  margin-block: 2rem 0;
  padding-block-start: 1.25rem;
  border-block-start: 1px solid #d8e1eb;
  font-size: 0;
}
.site .tags a[rel="tag"] {
  display: inline-block;
  max-inline-size: 100%;
  margin: 0 8px 8px 0;
  padding: 5px 10px;
  border: 1px solid #cbd9e6;
  border-radius: 6px;
  background: #edf3f9;
  color: #244e75;
  font: 500 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
  vertical-align: top;
  white-space: normal;
  overflow-wrap: anywhere;
}
.site .tags a[rel="tag"]::before { 
    margin-inline-end: 6px; 
    font-family: 'Font Awesome 5 Free';
    font-weight: bold;
}
.site .tags a[rel="tag"]:is(:hover, :active) {
  border-color: #8baac6;
  background: #ddeaf6;
  color: #173f69;
}
.site .tags a[rel="tag"]:focus-visible {
  outline: 3px solid #357ab7;
  outline-offset: 3px;
  background: #ddeaf6;
  color: #173f69;
}