body {
  --site-canvas: #e6eff2;
  --site-paper: #fff;
  --site-nav: #edf5f5;
  --site-nav-ink: #315d78;
  --site-active: #d7e8e8;
  --site-heading: #31566a;
  --site-ink: #40515a;
  --site-muted: #748a90;
  --site-link: #4b7052;
  background: var(--site-canvas);
  color: var(--site-ink);
  font: 15px/1.6 "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

#wrapper { background: none; }
.container { width: min(1060px, calc(100% - 48px)); }

#header {
  position: relative;
  display: flex;
  height: 112px;
  margin-top: 32px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: #315d78;
}

#header::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(24, 47, 60, 0.7), rgba(24, 47, 60, 0.18) 45%, transparent 70%);
}

#logo {
  position: relative;
  z-index: 2;
  display: flex;
  float: none;
  flex: 1 1 auto;
  align-items: flex-end;
  width: auto;
  height: auto;
  min-height: 0;
  padding-bottom: 18px;
  background: transparent;
}

#logo h1 {
  padding: 0 24px 0 32px;
  color: #fff;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.04em;
  text-transform: none;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
}

#banner {
  position: absolute;
  inset: 0;
  float: none;
  width: 100%;
  height: 100%;
  padding: 0;
}

#banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#menu { height: auto; background: var(--site-nav); }
#menu ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  height: auto;
  margin: 0;
  padding: 10px 24px;
  background: none;
}
#menu li, #menu li.active {
  float: none;
  height: auto;
  padding: 0;
  background: none;
}
#menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--site-nav-ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.3;
  text-transform: none;
}
#menu li.active a, #menu a:hover {
  background: var(--site-active);
  text-decoration: none;
}

#page { display: flow-root; background: var(--site-paper); }
#content {
  box-sizing: border-box;
  float: left;
  width: calc(100% - 310px);
  padding: 36px 32px 16px 42px;
  background: none;
}
#sidebar {
  box-sizing: border-box;
  float: right;
  width: 310px;
  padding: 40px 40px 12px 0;
  background: none;
}
#sidebar ul {
  max-width: 230px;
  margin: 0 auto;
  padding: 0;
  border: 0;
}
#sidebar > ul > li:first-child > br { display: none; }
#sidebar img.border {
  display: block;
  box-sizing: border-box;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 14px;
}
#sidebar p { line-height: 1.6; }
#sidebar iframe { max-width: 100%; }
#page p, #page ul { text-align: left; }
#page p[style*="text-align:center"] { text-align: center; }
#page a {
  color: var(--site-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

#sidebar a.twitter-follow-button {
  display: inline-flex;
  box-sizing: border-box;
  height: 28px;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font: 700 14px/1 Arial, sans-serif;
  text-decoration: none;
}
#sidebar a.twitter-follow-button::before {
  content: "\1D54F";
  font-size: 18px;
  font-weight: normal;
}

.post .title {
  margin: 0;
  padding: 0;
  color: var(--site-heading);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
}
.post .entry {
  margin: 0;
  padding: 16px 0 24px;
  border: 0;
}
.post .entry p {
  margin: 0 0 16px;
  padding: 0;
  line-height: 1.55;
}
.post .entry h4 {
  margin: 28px 0 16px;
  color: var(--site-heading);
  font-size: 16px;
}
#content iframe {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  aspect-ratio: 600 / 338;
  border: 0;
  border-radius: 8px;
}
#page .clearfix { height: 0; font-size: 0; line-height: 0; }
#page > .date { color: var(--site-muted); font-size: 13px; }
#footer { padding: 24px 0 40px; background: none; }
#footer p { color: var(--site-muted); font-size: 13px; }

@media (max-width: 760px) {
  .container { width: calc(100% - 24px); }
  #header { height: 92px; margin-top: 16px; }
  #logo { padding-bottom: 16px; }
  #logo h1 { padding-left: 24px; font-size: 28px; }
  #menu ul { gap: 2px; }
  #menu a { padding: 8px 10px; font-size: 14px; }
  #content, #sidebar {
    float: none;
    width: 100%;
    padding: 28px 24px 8px;
  }
  #sidebar ul { max-width: 100%; }
  #sidebar { padding-top: 8px; }
}
