/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%; /* 1rem = 10px, matching TwentyTwenty */
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 1.8rem;
  line-height: 1.5;
  color: #000;
  background: #fff;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
}

@supports ( font-variation-settings: normal ) {
  body {
    font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
  }
}

a {
  color: #2776d7;
  text-decoration: underline;
  transition: all 0.15s linear;
}

a:hover {
  color: #2776d7;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 58rem;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== Header ===== */
.site-header {
  background: #282828;
  position: relative;
  z-index: 100;
}

.header-inner {
  max-width: 168rem;
  margin: 0 auto;
  padding: 3.15rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-titles-wrapper {
  display: flex;
  align-items: baseline;
  margin-right: 4rem;
  padding: 0 0 0 4rem;
}

.site-logo {
  color: #fff;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-decoration: none;
  white-space: nowrap;
}

.site-logo:hover {
  color: #fff;
  text-decoration: none;
}

.site-description-header {
  color: #999;
  font-size: 1.8rem;
  font-weight: 500;
  margin-left: 2.4rem;
  white-space: nowrap;
}

.header-navigation {
  display: flex;
  align-items: center;
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav a {
  color: #3e8ff3;
  margin-left: 2.4rem;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.0277em;
  text-decoration: none;
  transition: color 0.15s linear;
}

.site-nav a:hover,
.site-nav a.active {
  color: #3e8ff3;
  text-decoration: underline;
}

.search-toggle {
  display: flex;
  align-items: center;
  padding: 0 3rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

.search-toggle::before {
  content: "";
  display: block;
  height: 2.7rem;
  width: 0.1rem;
  background: #3f3f3f;
  position: absolute;
  left: 0;
  top: calc(50% - 1.35rem);
}

.search-toggle svg {
  width: 2.3rem;
  height: 2.3rem;
  fill: currentColor;
}

.search-toggle .toggle-text {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.3rem;
  color: #fff;
}

/* ===== Hero / Entry Header (matching TwentyTwenty cover header) ===== */
.hero {
  background: #282828;
  color: #fff;
  padding: 10rem 0 5rem;
  text-align: center;
}

.hero .section-inner {
  max-width: 100rem;
  margin: 0 auto;
  width: calc(100% - 4rem);
}

.hero h1 {
  font-size: 8.4rem;
  font-weight: 800;
  margin-bottom: 0;
  letter-spacing: -0.015em;
  line-height: 1.138;
}

.hero-subtitle {
  font-size: 1.8rem;
  color: #fff;
  margin-top: 2rem;
  margin-bottom: 0;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 0.5em;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.btn {
  display: inline-block;
  padding: 1.1em 1.44em;
  border-radius: 6px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.0333em;
  transition: opacity 0.15s linear;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.25;
  text-align: center;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: #6d6d6d;
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background: #5a5a5a;
  color: #fff;
}

.btn-secondary {
  background: #2776d7;
  color: #fff;
  border: none;
}

.btn-secondary:hover {
  background: #1e5fb0;
  color: #fff;
}

.btn-faq {
  background: #6f2029;
  color: #fff;
  border: none;
}

.btn-faq:hover {
  background: #5c1a22;
  color: #fff;
}

.btn-news {
  background: #00374e;
  color: #fff;
  border: none;
}

.btn-news:hover {
  background: #002b3d;
  color: #fff;
}

.hero-links {
  margin-top: 2rem;
  display: flex;
  gap: 0.5em;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Post Content (homepage body) ===== */
.post-content {
  padding: 5rem 0 0;
  background: #fff;
  text-align: center;
}

.post-content .container {
  max-width: 58rem;
  padding: 0;
  width: calc(100% - 4rem);
}

.post-content .alignfull {
  max-width: 100%;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===== CC0 Content ===== */
.cc0-content {
  max-width: 58rem;
  margin: 0 auto;
  padding: 4rem 0;
}

.cc0-logo {
  margin-bottom: 1.5rem;
}

.cc0-content h2 {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  color: #000;
  font-weight: 700;
}

.cc0-content p {
  font-family: "Hoefler Text", "Noto Serif", Garamond, "Times New Roman", serif;
  font-size: 2.1rem;
  color: #000;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  text-align: left;
}

.disclaimer {
  margin-top: 2rem;
  font-size: 2.1rem;
  font-family: "Hoefler Text", "Noto Serif", Garamond, "Times New Roman", serif;
  color: #000;
  border-top: 2px solid #dbdbdb;
  padding-top: 2rem;
  text-align: left;
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  background: #282828;
  color: #fff;
  padding: 10rem 0 5rem;
  text-align: center;
}

.page-hero .section-inner {
  max-width: 100rem;
  margin: 0 auto;
  width: calc(100% - 4rem);
}

.page-hero h1 {
  font-size: 8.4rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.138;
}

/* ===== Page Content ===== */
.page-content {
  padding: 5rem 0 4rem;
  background: #fff;
}

.page-content .container {
  max-width: 58rem;
}

.page-content h2 {
  font-size: 3.2rem;
  color: #000;
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0;
  border-bottom: none;
  font-weight: 700;
}

.page-content h3 {
  font-size: 2.8rem;
  color: #000;
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.page-content h4 {
  font-size: 2.4rem;
  color: #000;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.page-content p,
.page-content li,
.page-content blockquote {
  font-family: "Hoefler Text", "Noto Serif", Garamond, "Times New Roman", serif;
  font-size: 2.1rem;
  line-height: 1.476;
  color: #000;
}

.page-content p {
  margin-bottom: 1.5rem;
}

.page-content ul, .page-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.page-content li {
  margin-bottom: 0.5rem;
}

.page-content strong {
  color: #000;
  font-weight: 700;
}

.page-content hr {
  border: none;
  border-top: 2px solid #dbdbdb;
  margin: 3rem 0;
}

.page-content blockquote {
  border-left: 2px solid #dbdbdb;
  padding: 0 2rem;
  margin: 1.5rem 0;
  color: #6d6d6d;
}

/* ===== Table of Contents (WordPress Easy TOC match) ===== */
.toc-container {
  background: #f9f9f9;
  border: 1px solid #aaa;
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
  display: inline-block;
  width: auto;
}

.toc-container .toc-title {
  font-size: 2.52rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.toc-container #TableOfContents {
  font-size: 2.1rem;
  line-height: 1.7;
}

.toc-container #TableOfContents ol {
  list-style: decimal;
  padding-left: 2rem;
  margin: 0;
}

.toc-container #TableOfContents ol ol {
  list-style: decimal;
  padding-left: 2.5rem;
}

.toc-container #TableOfContents ol ol ol {
  list-style: decimal;
  padding-left: 2.5rem;
}

.toc-container #TableOfContents li {
  margin-bottom: 0.2rem;
}

.toc-container #TableOfContents a,
.toc-container #TableOfContents strong {
  color: #333;
  text-decoration: none;
  font-weight: 400;
}

.toc-container #TableOfContents a:hover {
  text-decoration: underline;
  color: #2776d7;
}

.page-content a {
  color: #2776d7;
  text-decoration: underline;
  font-weight: 700;
}

.page-content a:hover {
  color: #2776d7;
}

.page-content img {
  display: block;
  margin: 2rem auto;
}

/* ===== Footer ===== */
.site-footer {
  background: #282828;
  color: #fff;
  padding: 3rem 0;
  text-align: center;
  font-size: 1.6rem;
  border-top: 1px solid #3f3f3f;
}

.site-footer .section-inner {
  max-width: 168rem;
  margin: 0 auto;
  width: calc(100% - 4rem);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.footer-credits {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-powered {
  color: #6d6d6d;
}

.to-the-top {
  color: #6d6d6d;
  text-decoration: none;
  margin-left: 2.4rem;
  white-space: nowrap;
}

.to-the-top:hover {
  text-decoration: underline;
}

/* ===== Responsive: match TwentyTwenty breakpoints ===== */

/* --- Below 1000px: hide desktop header nav, show mobile header --- */
@media (max-width: 999px) {
  .header-inner {
    padding: 3.15rem 0;
    justify-content: center;
  }

  .header-titles-wrapper {
    margin-right: 0;
    padding: 0 4rem;
    justify-content: center;
    text-align: center;
  }

  .header-navigation {
    display: none;
  }

  .site-description-header {
    display: none;
  }

  .site-footer .section-inner {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .footer-credits {
    flex-direction: column;
    align-items: center;
  }
}

/* --- 700px+: larger headings, wider section-inner, button font --- */
@media (min-width: 700px) {
  .hero h1,
  .page-hero h1 {
    font-size: 6.4rem;
  }

  .page-content h2 {
    font-size: 4.8rem;
    margin: 6rem auto 3rem;
  }

  .page-content h3 {
    font-size: 4rem;
    margin: 6rem auto 3rem;
  }

  .page-content h4 {
    font-size: 3.2rem;
    margin: 4.5rem auto 2.5rem;
  }

  .hero .section-inner,
  .page-hero .section-inner {
    width: calc(100% - 8rem);
  }

  .header-inner {
    padding: 3.8rem 0;
  }

  .site-logo {
    font-size: 2.4rem;
  }

  .btn {
    font-size: 1.7rem;
  }
}

/* --- 1000px+: desktop header with nav visible --- */
@media (min-width: 1000px) {
  .header-inner {
    padding: 2.8rem 0;
  }
}

/* --- Below 700px: base mobile sizes (TwentyTwenty defaults) --- */
@media (max-width: 699px) {
  .hero h1,
  .page-hero h1 {
    font-size: 3.6rem;
  }

  .hero .section-inner,
  .page-hero .section-inner {
    width: calc(100% - 4rem);
  }

  .page-content h2 {
    font-size: 3.2rem;
  }

  .page-content h3 {
    font-size: 2.8rem;
  }

  .page-content h4 {
    font-size: 2.4rem;
  }

  .post-content .container {
    width: calc(100% - 4rem);
  }
}

/* --- 1220px+: largest desktop heading size --- */
@media (min-width: 1220px) {
  .hero h1,
  .page-hero h1 {
    font-size: 8.4rem;
  }
}
