:root {
  --ink: #141412;
  --muted: #686758;
  --paper: #fff;
  --canvas: #fff;
  --accent: #ca3c08;
  --line: #e8e5ce;
}

* { box-sizing: border-box; }
html { font-size: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Source Sans Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.site {
  width: 100%;
  min-height: 100vh;
  background: var(--paper);
}
.site-header {
  background: #333 url("/wp-content/uploads/2016/05/cropped-IMG_7386.jpg") no-repeat top center;
  background-size: cover;
}
.site-header .home-link {
  display: block;
  width: 100%;
  max-width: 1080px;
  min-height: 230px;
  margin: 0 auto;
  padding: 0 20px;
  color: #fff;
  text-shadow: 0 2px 4px rgb(0 0 0 / 0.7);
  text-decoration: none;
}
.home-link:hover { text-decoration: none; }
.site-title {
  display: block;
  padding-top: 58px;
  font-family: Bitter, Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.05;
}
.main-navigation { background: #f7f5e7; }
.navigation-inner {
  display: flex;
  align-items: stretch;
  max-width: 1080px;
  min-height: 62px;
  margin: 0 auto;
  padding: 0 20px;
}
.nav-menu {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-menu a {
  display: block;
  padding: 19px 20px;
  color: #141412;
  font-weight: 700;
}
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: #db572f; text-decoration: none; }

.site-main {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 50px max(24px, 8%);
}
.entry { max-width: 760px; margin: 0 auto 55px; }
.entry-header { margin-bottom: 26px; }
.entry-title, .archive-header h1 {
  margin: 0;
  font-family: Bitter, Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
}
.entry-title a { color: var(--ink); }
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 18px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.875rem;
}
.entry-content { overflow-wrap: anywhere; }
.entry-content p { margin: 0 0 1.5em; }
.entry-content h2, .entry-content h3 { margin-top: 1.8em; font-family: Bitter, Georgia, serif; }
.entry-content blockquote { margin-left: 0; padding-left: 22px; border-left: 4px solid var(--line); color: var(--muted); }
.entry-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.entry-content td, .entry-content th { padding: 7px; border: 1px solid var(--line); }
.alignleft { float: left; margin: 5px 24px 18px 0; }
.alignright { float: right; margin: 5px 0 18px 24px; }
.aligncenter { display: block; clear: both; margin: 18px auto; }
.section-blog .entry-content img:not(.avatar),
.section-photos .entry-content img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 18px auto;
}
.section-blog .entry-content a:has(> img),
.section-photos .entry-content a:has(> img) { display: block; width: 100%; }
.section-blog .entry-content .wp-caption,
.section-photos .entry-content .wp-caption { width: 100% !important; }
.section-blog .entry-content .alignleft,
.section-blog .entry-content .alignright,
.section-photos .entry-content .alignleft,
.section-photos .entry-content .alignright { float: none; }
.gallery { display: grid; grid-template-columns: 1fr; gap: 24px; }
.gallery-item { width: 100%; margin: 0; text-align: center; }
.gallery-icon, .gallery-item a { display: block; width: 100%; }
.gallery-caption, .wp-caption-text { color: var(--muted); font-size: 0.82rem; }
.wp-caption { max-width: 100%; }

.home-entry { text-align: center; }
.home-entry h1 { margin-bottom: 0; font-family: Bitter, Georgia, serif; }
.splash-link img { display: block; margin: 0 auto 22px; }
.home-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 9px; }
.archive-header { max-width: 760px; margin: 0 auto 35px; }
.list-entry { padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.list-entry .entry-title { font-size: clamp(1.5rem, 3vw, 2rem); }
.pagination { display: flex; justify-content: space-between; gap: 20px; max-width: 760px; margin: 0 auto; }
.term-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; max-width: 760px; margin: 0 auto; }
.term-grid a { display: flex; justify-content: space-between; padding: 10px 12px; background: #f7f6ef; }

.comments-area { clear: both; margin-top: 55px; padding-top: 24px; border-top: 1px solid var(--line); }
.comment-list { padding-left: 0; list-style: none; }
.comment { margin: 0 0 25px; }
.comment-body { padding: 18px; background: #f7f6ef; }
.children { margin-top: 18px; list-style: none; }
.avatar { float: left; margin: 0 14px 8px 0; border-radius: 50%; }

#authorsure-author-profile ul { display: flex; align-items: center; gap: 8px; padding: 0; list-style: none; }
#authorsure-author-profile li { display: inline-flex; }
.wppb-wrapper { margin: 20px 0; font-weight: 700; text-align: center; }
.wppb-progress { height: 24px; margin-top: 7px; overflow: hidden; border-radius: 4px; background: #e7e7e7; }
.wppb-progress > span { display: block; height: 100%; background: #65a94b; }

#cd-timeline { position: relative; margin: 25px 0; padding-left: 62px; }
#cd-timeline::before { position: absolute; top: 0; bottom: 0; left: 22px; width: 4px; content: ""; background: var(--line); }
.cd-timeline-block { position: relative; margin: 0 0 30px; }
.cd-timeline-img { position: absolute; left: -62px; width: 48px; height: 48px; border: 4px solid #fff; border-radius: 50%; box-shadow: 0 0 0 3px var(--line); }
.cd-timeline-content { padding: 20px 24px; border: 1px solid var(--line); border-radius: 4px; background: #faf9f4; }
.cd-timeline-item-title { margin: 0 0 8px !important; font-size: 1.3rem; }
.cd-timeline-content p:last-child { margin-bottom: 0; }

.site-footer { padding: 28px; color: #ccc; background: #220e10; text-align: center; }
.site-footer p { margin: 0; }

@media (max-width: 640px) {
  .site-header .home-link { min-height: 170px; padding: 0 20px; }
  .site-title { padding-top: 38px; }
  .navigation-inner { padding: 0; }
  .nav-menu { padding: 0; }
  .nav-menu li { flex: 1 1 33.333%; text-align: center; }
  .nav-menu a { padding: 12px 8px; }
  .site-main { padding-top: 34px; }
  .alignleft, .alignright { float: none; display: block; margin: 18px auto; }
}
