:root {
  --page: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #eef4f6;
  --ink: #121417;
  --ink-soft: #2d3741;
  --muted: #62707d;
  --line: #dce4ea;
  --brand: #006d77;
  --brand-strong: #00545c;
  --accent: #d94f39;
  --gold: #f5b841;
  --success: #2f8f5b;
  --shadow: 0 18px 44px rgba(18, 20, 23, .09);
  --shadow-soft: 0 10px 28px rgba(18, 20, 23, .06);
  --radius: 8px;
  --container: 1180px;
  --text: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  min-width: 320px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 12% 0, rgba(0, 109, 119, .12), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(217, 79, 57, .10), transparent 24rem),
    linear-gradient(180deg, #eef4f6 0, #f8fafc 320px, #ffffff 760px),
    var(--page);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 109, 119, .055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 20, 23, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .72), transparent 62%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .72), transparent 62%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(0, 109, 119, .32);
  outline-offset: 3px;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

svg {
  display: inline-block;
  vertical-align: middle;
}

.svg-sprite {
  display: none;
}

p,
ul,
ol,
blockquote,
figure,
table {
  margin: 0 0 1.25rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

strong,
b {
  font-weight: 700;
}

small {
  font-size: .875rem;
}

::selection {
  background: rgba(0, 109, 119, .18);
  color: var(--ink);
}

#wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.grid-container {
  width: min(var(--container), calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
  padding-right: 0;
  padding-left: 0;
}

.row,
.center,
.content,
.content-wrapper,
.widgets {
  min-width: 0;
}

.clear {
  clear: both;
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.hide-on-desktop {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.textcenter {
  text-align: center;
}

.fw-bold,
.bold {
  font-weight: 700 !important;
}

.no-margin {
  margin: 0 !important;
}

.white {
  color: #ffffff !important;
}

.cover {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.absolute {
  position: absolute;
}

.border,
.article-wrapper .border {
  display: none;
}

.title,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1,
.title.large {
  font-size: 2.25rem;
}

h2,
.title.medium {
  font-size: 1.75rem;
}

h3,
.title {
  font-size: 1.35rem;
}

h4,
.title.small {
  font-size: 1.1rem;
}

.title.usmall {
  font-size: .98rem;
}

.title.ularge {
  font-size: 3rem;
}

.title.bordered {
  position: relative;
  padding-bottom: .8rem;
}

.title.bordered::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--brand), rgba(226, 76, 61, .72), transparent);
}

.gradient-effect a {
  color: inherit;
}

.button,
button,
input[type="button"],
input[type="submit"] {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--brand);
  color: #ffffff;
  font: 700 .95rem/1 var(--display);
  letter-spacing: 0;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  background: var(--brand-strong);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(0, 109, 119, .22);
  transform: translateY(-1px);
}

.button.dark {
  background: var(--ink);
}

.main {
  flex: 1;
  padding-top: 40px;
  padding-bottom: 76px;
}

#header {
  position: sticky;
  top: 16px;
  z-index: 50;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(18, 20, 23, .96), rgba(22, 43, 47, .94)),
    var(--ink);
  box-shadow: 0 18px 54px rgba(18, 20, 23, .18);
  backdrop-filter: blur(18px);
}

.header-inner,
#header .menu-wrapper > div {
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(210px, auto) minmax(260px, 1fr) minmax(240px, 360px);
  align-items: center;
  gap: 22px;
  padding: 0 18px;
}

.logo {
  flex: 0 0 auto;
}

.logo a,
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: auto;
  max-width: 154px;
  max-height: 38px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.brand-mark {
  width: 50px;
  height: 50px;
  position: relative;
  display: inline-flex;
  flex: 0 0 50px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
}

.brand-mark img {
  width: 42px;
  max-width: 42px;
  max-height: 20px;
}

.brand-fallback {
  display: none;
}

.brand-copy {
  display: grid;
  gap: 2px;
  color: #ffffff;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 1.02rem;
  line-height: 1;
  letter-spacing: .02em;
}

.brand-copy small {
  color: rgba(255, 255, 255, .64);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.15;
}

.main-nav {
  flex: 1;
  width: auto;
  margin: 0;
}

.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: .72rem .95rem;
  color: rgba(255, 255, 255, .76);
  font: 700 .9rem/1.1 var(--display);
  letter-spacing: 0;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
  background: rgba(255, 255, 255, .1);
  color: #ffffff;
}

.main-nav a:hover {
  transform: translateY(-1px);
}

.menu-mobile {
  display: none;
}

.menu-mobile:hover {
  background: rgba(255, 255, 255, .16);
  color: #ffffff;
  transform: none;
  box-shadow: none;
}

.site-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
}

.site-search input {
  min-width: 0;
  height: 40px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #ffffff;
  font: 600 .92rem/1 var(--text);
  outline: 0;
}

.site-search:focus-within {
  border-color: rgba(245, 184, 65, .55);
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 3px rgba(245, 184, 65, .12);
}

.site-search input::placeholder {
  color: rgba(255, 255, 255, .58);
}

.site-search button {
  min-height: 40px;
  border-radius: 6px;
  padding: 0 .9rem;
  background: #ffffff;
  color: var(--brand-strong);
  box-shadow: none;
}

.site-search button:hover {
  background: var(--gold);
  color: var(--ink);
  box-shadow: none;
}

.fa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  line-height: 1;
}

.fa-bars::before {
  content: "";
  width: 22px;
  height: 16px;
  display: block;
  background:
    linear-gradient(currentColor 0 0) top left / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) center left / 100% 2px no-repeat,
    linear-gradient(currentColor 0 0) bottom left / 100% 2px no-repeat;
}

.fa-chevron-up::before {
  content: "";
  width: 10px;
  height: 10px;
  display: block;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(2px) rotate(45deg);
}

.fa-exclamation-circle::before {
  content: "!";
  width: 1em;
  height: 1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: .08em solid currentColor;
  border-radius: 50%;
  font-weight: 800;
}

.fa-share::before {
  content: "<";
  font-weight: 800;
}

.fa-flip-horizontal {
  transform: scaleX(-1);
}

.articles {
  height: auto !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
  margin: 0;
}

.infinite-feed {
  position: relative;
}

.feed-sentinel {
  grid-column: 1 / -1;
  width: 100%;
  height: 1px;
  pointer-events: none;
}

.home-intro {
  max-width: 760px;
  margin: 0 0 30px;
  border-left: 4px solid var(--brand);
  padding: 10px 0 10px 22px;
}

.home-intro .eyebrow {
  margin: 0 0 8px;
  color: var(--brand-strong);
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-intro .title {
  margin-bottom: 10px;
}

.home-intro p:last-child {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 500;
}

.articles > article {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  float: none !important;
  padding: 0 !important;
  transform: none !important;
}

.article-wrapper {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(18, 20, 23, .055);
  contain: layout paint;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.article-wrapper::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent), var(--gold));
  opacity: 0;
  transition: opacity .22s ease;
}

.article-wrapper:hover {
  border-color: rgba(0, 109, 119, .34);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.article-wrapper:hover::before {
  opacity: 1;
}

.article-wrapper header {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.post-format-wrapper,
.featured-image,
.thumb {
  min-width: 0;
}

.featured-image {
  position: relative;
  overflow: hidden;
  background: var(--surface-soft);
}

.featured-image .thumb,
.fullimage,
.thumb.cover {
  display: block;
}

.featured-image .thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.article-wrapper .featured-image .thumb[data-title]::after {
  content: attr(data-title);
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 3;
  min-height: 58px;
  max-height: calc(100% - 28px);
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .88);
  color: var(--tile-accent, var(--brand-strong));
  padding: 12px 14px;
  font-family: var(--display);
  font-size: clamp(.98rem, .52vw + .72rem, 1.12rem);
  font-weight: 700;
  line-height: 1.17;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  letter-spacing: 0;
  text-wrap: balance;
  box-shadow: 0 12px 28px rgba(18, 20, 23, .075);
  backdrop-filter: blur(8px);
}

.fullimage {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(0, 109, 119, .12), rgba(217, 79, 57, .08)),
    #dbe7ea;
  transition: transform .35s ease, filter .35s ease;
}

.featured-image .thumb > .fullimage {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.fullimage::before {
  content: "";
  position: absolute;
  inset: 0;
  display: none;
}

.fullimage.loaded::before,
.fullimage[style*="background-image"]::before {
  display: none;
}

.article-wrapper .featured-image .fullimage[data-title]:not(.topic-placeholder)::before {
  display: block;
  background:
    linear-gradient(180deg, rgba(18, 20, 23, .02), rgba(18, 20, 23, .30)),
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, .20), transparent 34%);
}

.featured-image img.fullimage {
  object-fit: cover;
}

.topic-placeholder {
  --tile-a: #eef2f7;
  --tile-b: #dfe8ef;
  --tile-c: #f8fafc;
  --tile-accent: #536d83;
  --tile-shadow: rgba(83, 109, 131, .22);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  isolation: isolate;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 20%, var(--tile-shadow), transparent 34%),
    radial-gradient(circle at 86% 74%, rgba(255, 255, 255, .82), transparent 34%),
    linear-gradient(135deg, var(--tile-a) 0, var(--tile-b) 58%, var(--tile-c) 100%);
}

.topic-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block !important;
  border: 0;
  border-top: 4px solid var(--tile-accent);
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .58) 0 42%, rgba(255, 255, 255, 0) 42% 100%),
    linear-gradient(90deg, rgba(255, 255, 255, .22) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 20, 23, .04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 66%);
  background-size: 100% 100%, 32px 32px, 32px 32px, 100% 100%;
  opacity: .88;
  pointer-events: none;
}

.topic-placeholder::after {
  content: attr(data-title);
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  min-height: 68px;
  display: block;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .74);
  color: var(--tile-accent);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.22;
  padding: 12px 14px;
  overflow: hidden;
  text-align: left;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 18px 44px var(--tile-shadow);
  backdrop-filter: blur(8px);
}

.article-wrapper .featured-image .topic-placeholder::after {
  display: none;
}

.topic-placeholder-0 {
  --tile-a: #eef2f7;
  --tile-b: #d9e3ec;
  --tile-c: #f8fafc;
  --tile-accent: #536d83;
  --tile-shadow: rgba(83, 109, 131, .22);
}

.topic-placeholder-1 {
  --tile-a: #e9f8f8;
  --tile-b: #cfecef;
  --tile-c: #f4fbfa;
  --tile-accent: #006d77;
  --tile-shadow: rgba(0, 109, 119, .24);
}

.topic-placeholder-2 {
  --tile-a: #fff7df;
  --tile-b: #eed99d;
  --tile-c: #fffdf5;
  --tile-accent: #a97000;
  --tile-shadow: rgba(169, 112, 0, .22);
}

.topic-placeholder-3 {
  --tile-a: #ebf8f0;
  --tile-b: #cfe8d8;
  --tile-c: #f4fbf5;
  --tile-accent: #2f8f5b;
  --tile-shadow: rgba(47, 143, 91, .22);
}

.topic-placeholder-4 {
  --tile-a: #f1effc;
  --tile-b: #ddd6f1;
  --tile-c: #faf8ff;
  --tile-accent: #6254a4;
  --tile-shadow: rgba(98, 84, 164, .22);
}

.topic-placeholder-5 {
  --tile-a: #fff0ec;
  --tile-b: #f0cfc6;
  --tile-c: #fff9f7;
  --tile-accent: #c14936;
  --tile-shadow: rgba(193, 73, 54, .22);
}

.topic-placeholder-6 {
  --tile-a: #edf4ff;
  --tile-b: #d2e1f7;
  --tile-c: #f8fbff;
  --tile-accent: #365b95;
  --tile-shadow: rgba(54, 91, 149, .24);
}

.topic-placeholder-7 {
  --tile-a: #fbf2ea;
  --tile-b: #e8d4c1;
  --tile-c: #fff9f3;
  --tile-accent: #8a5834;
  --tile-shadow: rgba(138, 88, 52, .22);
}

.topic-placeholder-8 {
  --tile-a: #e9fbff;
  --tile-b: #cdeaf1;
  --tile-c: #f5fdff;
  --tile-accent: #007f8d;
  --tile-shadow: rgba(0, 127, 141, .22);
}

.topic-placeholder-9 {
  --tile-a: #f4eff9;
  --tile-b: #dfd2ec;
  --tile-c: #fbf8ff;
  --tile-accent: #765a92;
  --tile-shadow: rgba(118, 90, 146, .22);
}

.topic-placeholder-10 {
  --tile-a: #f5f7e9;
  --tile-b: #dde4b7;
  --tile-c: #fbfcf3;
  --tile-accent: #6f7c2e;
  --tile-shadow: rgba(111, 124, 46, .22);
}

.topic-placeholder-11 {
  --tile-a: #fff0f4;
  --tile-b: #efd0da;
  --tile-c: #fff9fb;
  --tile-accent: #a54c68;
  --tile-shadow: rgba(165, 76, 104, .22);
}

.article-wrapper:hover .fullimage {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}

.article-wrapper .main-title {
  display: none;
}

.article-wrapper .main-title a {
  color: var(--ink);
}

.article-wrapper .main-title a:hover {
  color: var(--brand);
}

.article-wrapper .meta {
  display: none;
}

.author-meta {
  display: none;
}

.author {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: .55rem;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 600;
}

.author-image {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background-color: var(--surface-soft);
}

.site-author-image {
  background-image: url("/images/googlelogo.jpg");
}

.author-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag-description {
  position: relative;
  overflow: hidden;
  margin-bottom: 34px;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 109, 119, .26);
  background:
    linear-gradient(135deg, #0f3337 0, #17464a 58%, #26363f 100%);
  color: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-soft);
}

.tag-description .grid-container,
.tag-description .grid-small {
  position: relative;
  z-index: 1;
  padding-top: 42px;
  padding-bottom: 42px;
}

.tag-description .title {
  margin: 0;
}

.tag-description .icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
}

.tag-description .icon svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.tag-description .overlay {
  display: none;
}

.search-hero {
  margin-bottom: 30px;
}

.search-summary {
  max-width: 680px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, .78);
  font-weight: 500;
}

.search-empty {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 34px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.search-empty p {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
}

#archives .tag-description:not(:first-child) {
  background: var(--surface);
  color: var(--ink-soft);
  border-color: var(--line);
}

#archives .row > .grid-container.section:last-child .tag-description {
  background: var(--surface);
  color: var(--ink-soft);
  border-color: var(--line);
}

#archives .tag-description:not(:first-child) .grid-container {
  width: min(900px, calc(100% - 40px));
  padding-top: 34px;
  padding-bottom: 34px;
}

#archives .row > .grid-container.section:last-child .tag-description .grid-container {
  width: min(900px, calc(100% - 40px));
  padding-top: 34px;
  padding-bottom: 34px;
}

#archives .tag-description:not(:first-child) p,
#archives .tag-description:not(:first-child) li {
  color: var(--ink-soft);
}

#archives .row > .grid-container.section:last-child .tag-description p,
#archives .row > .grid-container.section:last-child .tag-description li {
  color: var(--ink-soft);
}

#single .center.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

#single .left-content,
#sidebar {
  width: auto !important;
  float: none !important;
  padding: 0 !important;
}

.main-article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  contain: layout paint;
}

.main-article > header {
  position: relative;
}

.main-article .featured-image {
  border-bottom: 1px solid var(--line);
}

.main-article .featured-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--surface-soft);
}

.main-article .tags {
  right: 18px;
  bottom: 18px;
  z-index: 2;
}

.ctag {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  margin: 0 8px 8px 0;
  border: 1px solid rgba(0, 109, 119, .2);
  border-radius: 999px;
  padding: .4rem .75rem;
  background: rgba(0, 109, 119, .08);
  color: var(--brand-strong);
  font-size: .88rem;
  font-weight: 700;
}

.ctag:hover {
  background: var(--brand);
  color: #ffffff;
}

.main-article .tags .ctag {
  border-color: rgba(255, 255, 255, .32);
  background: rgba(18, 20, 23, .72);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.main-article .meta {
  padding: 30px 34px 0;
}

.main-article .meta .author {
  margin-bottom: 18px;
}

.main-article .meta .title {
  margin-bottom: 24px;
  font-size: 2.45rem;
  line-height: 1.16;
}

.post-content {
  padding: 0 34px 38px;
}

.post-content .text {
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.86;
}

.post-content .text > *:last-child {
  margin-bottom: 0;
}

.post-content .text a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.post-content .text h1,
.post-content .text h2,
.post-content .text h3,
.post-content .text h4,
.post-content .text h5,
.post-content .text h6 {
  margin-top: 2rem;
  margin-bottom: .85rem;
  color: var(--ink);
}

.post-content .text img,
.kg-image,
.kg-card img {
  width: 100%;
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: 0 1px 0 rgba(18, 20, 23, .04);
}

.kg-card,
.kg-image-card {
  margin: 2rem 0;
}

.kg-card figcaption {
  margin-top: .7rem;
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}

.post-content blockquote {
  margin: 1.6rem 0;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  background: #fff6f4;
  color: var(--ink);
  font-weight: 600;
}

.post-content table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.post-content th,
.post-content td {
  border-bottom: 1px solid var(--line);
  padding: .85rem 1rem;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.post-content th {
  background: var(--surface-soft);
  color: var(--ink);
  font-weight: 700;
}

.related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.related article {
  position: relative !important;
  min-height: 210px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  padding: 0 !important;
  box-shadow: var(--shadow-soft);
}

.related .thumb {
  position: absolute;
  inset: 0;
  opacity: .82;
  transition: transform .35s ease, opacity .35s ease;
}

.related .topic-placeholder::after {
  content: attr(data-initial);
  inset: auto 18px 18px auto;
  left: auto;
  min-height: 54px;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
  font-size: 1.35rem;
  line-height: 1;
  text-align: center;
}

.related article:hover .thumb {
  opacity: .95;
  transform: scale(1.04);
}

.related .full-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.related .info {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 2;
}

.related .title {
  font-size: 1.08rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .32);
}

.related .button {
  position: absolute;
  top: 18px;
  z-index: 4;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .9);
}

.related .button::before {
  content: "";
  width: 10px;
  height: 10px;
  display: block;
  border-top: 2px solid var(--brand-strong);
  border-right: 2px solid var(--brand-strong);
}

.related .prev .button::before {
  transform: rotate(-135deg);
}

.related .next .button::before {
  transform: rotate(45deg);
}

.related .prev .button {
  left: 18px;
}

.related .next .button {
  right: 18px;
}

.related .overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(18, 20, 23, .06), rgba(18, 20, 23, .78));
}

#sidebar {
  position: sticky;
  top: 104px;
  align-self: start;
}

#sidebar .widget {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 109, 119, .13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .92);
  padding: 20px;
  box-shadow: 0 18px 44px rgba(18, 20, 23, .075);
  content-visibility: auto;
  contain-intrinsic-size: 300px;
}

#sidebar .widget::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--gold), var(--accent));
}

#sidebar .widget-categories .title,
#sidebar .widget-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

#sidebar .widget-categories .title::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 3px solid rgba(0, 109, 119, .22);
  border-top-color: var(--brand);
  border-radius: 50%;
}

#sidebar .widget ul,
#sidebar .category-nav {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#sidebar .widget li {
  margin: 0;
  border: 0;
}

#sidebar .category-item a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 16px;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  border: 1px solid rgba(18, 20, 23, .07);
  border-radius: var(--radius);
  padding: 6px 10px 6px 7px;
  background: linear-gradient(180deg, #ffffff, #f6fafb);
  color: var(--ink-soft);
  font-weight: 800;
  line-height: 1.28;
  box-shadow: 0 8px 22px rgba(18, 20, 23, .035);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

#sidebar .category-item a:hover {
  border-color: rgba(0, 109, 119, .25);
  background: #ffffff;
  color: var(--brand-strong);
  box-shadow: 0 12px 28px rgba(0, 109, 119, .10);
  transform: translateY(-1px);
}

#sidebar .category-glyph {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 109, 119, .16);
  border-radius: 50%;
  background: rgba(0, 109, 119, .08);
  color: var(--brand-strong);
  font-size: .72rem;
  font-weight: 900;
}

#sidebar .category-label {
  min-width: 0;
}

#sidebar .category-arrow {
  width: 9px;
  height: 9px;
  justify-self: end;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: .44;
  transform: rotate(45deg);
  transition: transform .18s ease, opacity .18s ease;
}

#sidebar .category-item a:hover .category-arrow {
  opacity: 1;
  transform: translateX(3px) rotate(45deg);
}

.ads img,
.textwidget img {
  width: 100%;
  border-radius: var(--radius);
}

#footer {
  position: relative;
  overflow: hidden;
  margin-top: 64px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: #11191b;
  color: rgba(255, 255, 255, .78);
  box-shadow: 0 24px 70px rgba(18, 20, 23, .18);
}

#footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--gold), var(--accent));
}

#footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .32;
}

#footer .footer-shell {
  position: relative;
  z-index: 1;
  padding: 32px;
}

#footer .footer-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  padding-bottom: 24px;
}

#footer .footer-brand {
  display: inline-grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: fit-content;
  color: #ffffff;
}

#footer .footer-brand-mark {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
}

#footer .footer-brand img,
#footer .footer-logo img {
  max-height: 38px;
  object-fit: contain;
}

#footer .footer-brand strong {
  display: block;
  color: #ffffff;
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

#footer .footer-brand small {
  display: block;
  color: rgba(255, 255, 255, .62);
  font-weight: 700;
  line-height: 1.35;
}

#footer .footer-kicker {
  max-width: 420px;
  justify-self: end;
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-weight: 600;
  line-height: 1.6;
}

#footer .widgets {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(280px, 1.1fr);
  gap: 30px 38px;
  padding: 0;
}

#footer .widget {
  min-width: 0;
  width: auto !important;
  float: none !important;
  padding: 0 !important;
}

#footer .footer-about {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, .10);
  padding-top: 24px !important;
}

#footer .title,
#footer .widget-title {
  color: #ffffff;
}

#footer .title.bordered::after {
  background: linear-gradient(90deg, var(--gold), rgba(255, 255, 255, .18), transparent);
}

#footer .item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 8px;
  background: rgba(255, 255, 255, .045);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

#footer .item:hover {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .075);
  transform: translateY(-1px);
}

#footer .item .thumb {
  width: 76px !important;
  height: 62px;
  overflow: hidden;
  border-radius: 6px;
  padding: 0 !important;
  background: rgba(255, 255, 255, .12);
}

#footer .item .fullimage {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

#footer .topic-placeholder::after {
  content: attr(data-initial);
  inset: auto 10px 10px auto;
  left: auto;
  min-height: 34px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
}

#footer .item .title {
  margin: 0;
  font-size: .96rem;
  line-height: 1.42;
}

#footer .item .title a {
  color: #ffffff;
}

#footer .footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#footer .ctag {
  min-height: 32px;
  margin: 0;
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .88);
}

#footer .ctag:hover {
  border-color: transparent;
  background: #ffffff;
  color: var(--brand-strong);
}

#footer .footer-about-text {
  columns: 2 320px;
  column-gap: 38px;
  color: rgba(255, 255, 255, .72);
  font-weight: 500;
}

#footer .footer-about-text p {
  margin-bottom: 1rem;
  break-inside: avoid;
  color: rgba(255, 255, 255, .72);
}

#footer .footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  padding-top: 24px;
  text-align: center;
}

#footer .footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: .94;
}

#footer .footer-logo img {
  filter: brightness(0) invert(1);
}

#footer .published {
  margin: 0;
  color: rgba(255, 255, 255, .58);
  text-align: center;
  font-size: .88rem;
}

#footer .published a {
  color: #ffffff;
  font-weight: 800;
}

#back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

#page-404 .center.content {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

#page-404 article {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: rgba(255, 255, 255, .82);
  text-align: center;
  box-shadow: var(--shadow);
}

#page-404 .not-found {
  padding: 48px 28px 28px;
  background: linear-gradient(135deg, #0f3337, #273034);
}

#page-404 .not-found .fa {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 4rem;
}

#page-404 .text {
  padding: 32px 28px 0;
}

#page-404 .text p {
  color: rgba(255, 255, 255, .74);
}

#page-404 .buttons {
  padding: 24px 28px 40px;
}

[data-aos] {
  opacity: 1;
  transform: none;
}

.lazy {
  transition: opacity .22s ease, filter .22s ease;
}

img.lazy:not(.loaded) {
  opacity: .7;
}

@media (max-width: 1023px) {
  .hide-on-tablet {
    display: none !important;
  }

  .header-inner,
  #header .menu-wrapper > div {
    grid-template-columns: minmax(190px, auto) minmax(220px, 1fr);
  }

  .site-search {
    grid-column: 1 / -1;
    margin-bottom: 12px;
  }

  .articles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #single .center.content {
    grid-template-columns: 1fr;
  }

  #sidebar {
    display: none !important;
  }

  .main-article .meta .title {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .grid-container {
    width: min(var(--container), calc(100% - 28px));
  }

  .hide-on-mobile {
    display: none !important;
  }

  .hide-on-desktop {
    display: block !important;
  }

  .main {
    padding-top: 24px;
    padding-bottom: 52px;
  }

  #header {
    top: 0;
    width: 100%;
    margin-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .header-inner,
  #header .menu-wrapper > div {
    min-height: 68px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 10px 14px 12px;
  }

  .brand-link {
    min-width: 0;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .brand-copy strong {
    font-size: .95rem;
  }

  .brand-copy small {
    font-size: .7rem;
  }

  .logo img,
  .brand-mark img {
    max-width: 36px;
    max-height: 18px;
  }

  .menu-mobile {
    position: static;
    z-index: 3;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .1);
    color: #ffffff;
    cursor: pointer;
  }

  .site-search {
    grid-column: 1 / -1;
    margin: 0;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    padding: 0 0 4px;
  }

  #header.menu-open .main-nav {
    display: block;
  }

  .main-nav ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: stretch;
    padding-top: 12px;
  }

  .main-nav a {
    width: 100%;
    justify-content: flex-start;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .88);
  }

  .articles,
  .related,
  #footer .widgets {
    grid-template-columns: 1fr;
  }

  .article-wrapper .main-title {
    min-height: 0;
    font-size: 1rem;
  }

  .tag-description .grid-container,
  .tag-description .grid-small {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .title.ularge {
    font-size: 2.35rem;
  }

  h1,
  .title.large {
    font-size: 1.8rem;
  }

  .main-article .meta,
  .post-content {
    padding-right: 20px;
    padding-left: 20px;
  }

  .main-article .meta {
    padding-top: 24px;
  }

  .main-article .meta .title {
    font-size: 1.72rem;
  }

  .post-content {
    padding-bottom: 28px;
  }

  .post-content .text {
    font-size: 1rem;
    line-height: 1.78;
  }

  .related article {
    min-height: 180px;
  }

  #footer {
    width: calc(100% - 28px);
  }

  #footer .widgets {
    padding: 28px 20px 18px;
  }

  #back-to-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 1023px) {
  #footer .footer-head,
  #footer .widgets {
    grid-template-columns: 1fr;
  }

  #footer .footer-kicker {
    max-width: none;
    justify-self: start;
  }
}

@media (max-width: 767px) {
  #wrapper {
    overflow-x: hidden;
  }

  #header {
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .header-inner,
  #header .menu-wrapper > div {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr) 46px;
    overflow: hidden;
  }

  .brand-block,
  .brand-link,
  .brand-copy {
    min-width: 0;
    overflow: hidden;
  }

  .brand-copy strong,
  .brand-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-search {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr) 64px;
  }

  .site-search input {
    width: 100%;
    font-size: 16px;
  }

  .articles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .article-wrapper .main-title {
    min-height: 3.85rem;
    padding: 12px 10px 8px;
    font-size: .82rem;
    line-height: 1.32;
  }

  .author-meta {
    padding: 0 10px 12px;
  }

  .author-image {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .author-name {
    font-size: .68rem;
  }

  #single .center.content,
  #single .left-content,
  .main-article,
  .post-content,
  .post-content .text {
    max-width: 100%;
  }

  .main-article {
    border-radius: var(--radius);
  }

  .main-article .meta {
    padding: 22px 18px 0;
  }

  .main-article .meta .title {
    font-size: clamp(1.55rem, 7.4vw, 2rem);
    line-height: 1.14;
    overflow-wrap: anywhere;
  }

  .post-content {
    padding-right: 18px;
    padding-left: 18px;
  }

  .post-content .text {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .post-content .text h2 {
    font-size: clamp(1.35rem, 6.4vw, 1.8rem);
    line-height: 1.18;
  }

  .post-content table {
    font-size: .88rem;
  }

  .related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .related article {
    min-height: 132px;
  }

  .related .info {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .related .title {
    font-size: .76rem;
    line-height: 1.28;
  }

  .related .button {
    top: 10px;
    width: 32px;
    height: 32px;
    min-height: 32px;
  }

  #footer .footer-shell {
    padding: 24px 18px;
  }

  #footer .footer-brand {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  #footer .footer-brand-mark {
    width: 48px;
    height: 48px;
  }

  #footer .footer-about-text {
    columns: 1;
  }

  #footer .widgets {
    gap: 22px;
    padding: 0;
  }

  #footer .item {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  #footer .item .thumb {
    width: 68px !important;
    height: 58px;
  }

  .featured-image .thumb {
    aspect-ratio: 1 / 1.08;
  }

  .article-wrapper .featured-image .thumb[data-title]::after {
    inset: 12px;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px;
    font-size: clamp(.82rem, 3.65vw, 1.02rem);
    line-height: 1.12;
    overflow: visible;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
  }

  .topic-placeholder {
    padding: 10px;
  }
}

@media (max-width: 420px) {
  .articles {
    gap: 11px;
  }

  .featured-image .thumb {
    aspect-ratio: 1 / 1.12;
  }

  .article-wrapper .featured-image .thumb[data-title]::after {
    inset: 10px;
    padding: 10px;
    font-size: clamp(.76rem, 3.5vw, .94rem);
    line-height: 1.1;
  }
}

html {
  scroll-behavior: auto;
}

*,
*::before,
*::after {
  animation: none !important;
  transition: none !important;
}

.article-wrapper:hover,
.main-nav a:hover,
.button:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
#sidebar .category-item a:hover,
#footer .item:hover {
  transform: none !important;
}

.article-wrapper:hover .fullimage,
.related article:hover .thumb,
#sidebar .category-item a:hover .category-arrow {
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
