/*
Theme Name: Simple Form
Version: 1.1.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: simpleform
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
@font-face {
  font-family: Figtree;
  src: url("assets/fonts/figtree-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Figtree;
  src: url("assets/fonts/figtree-500.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Figtree;
  src: url("assets/fonts/figtree-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Figtree;
  src: url("assets/fonts/figtree-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --bg: #f4f5f7;
  --paper: #fff;
  --ink: #20242c;
  --muted: #606775;
  --line: #dfe3e9;
  --accent: #284cdb;
  --pale: #edf1ff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Figtree, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 2px;
}
:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
input[type="submit"],
.wp-element-button {
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0.65rem 1rem;
  min-block-size: 44px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  text-decoration: none;
}
input:not([type="submit"]):not([type="checkbox"]),
textarea,
select {
  min-block-size: 44px;
  max-inline-size: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0.6rem 0.75rem;
  background: var(--paper);
  color: var(--ink);
}
input[type="checkbox"] {
  accent-color: var(--accent);
}
img,
video {
  max-inline-size: 100%;
  block-size: auto;
}
iframe {
  max-inline-size: 100%;
}
h1,
h2,
h3,
h4 {
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
h1 {
  font-size: clamp(2rem, 1.5rem + 1.5vw, 3rem);
}
h2 {
  font-size: clamp(1.5rem, 1.3rem + 0.5vw, 1.875rem);
}
h3 {
  font-size: 1.25rem;
}
p {
  text-wrap: pretty;
}
.shell {
  inline-size: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}
.site-header {
  background: var(--paper);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.25rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.055em;
  text-transform: lowercase;
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  inline-size: 30px;
  block-size: 30px;
  border-radius: 8px;
  color: white;
  background: var(--accent);
  font-size: 1.3rem;
  letter-spacing: 0;
}
.brand-stop {
  color: var(--accent);
}
.custom-logo-link {
  display: block;
  flex-shrink: 0;
}
.custom-logo {
  display: block;
  max-inline-size: 200px;
  max-block-size: 54px;
  inline-size: auto;
}
.site-nav {
  margin-inline-start: auto;
  min-inline-size: 0;
}
.site-nav ul,
.site-footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-button {
  anchor-name: --menu-button;
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
}
.menu-root {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6rem !important;
  inline-size: min(24rem, calc(100dvw - 2rem));
  max-block-size: calc(100dvh - 7rem);
  overflow: auto;
  position: fixed;
  inset: auto;
  inset-block-start: 5rem;
  inset-block-start: anchor(--menu-button bottom);
  inset-inline-end: 1rem;
  margin-block-start: 0.5rem !important;
}
.menu-root li {
  position: relative;
}
.menu-root a {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  padding: 0.5rem 0.7rem;
  text-decoration: none;
  font-size: 0.9375rem;
}
.menu-root a[aria-current="page"] {
  background: var(--pale);
  color: var(--accent);
  border-radius: 6px;
  font-weight: 600;
}
.menu-root a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.menu-root .sub-menu {
  padding-inline-start: 1rem;
}
.submenu-toggle {
  min-inline-size: 36px;
  min-block-size: 36px;
  padding: 0.2rem;
  background: transparent;
  color: var(--ink);
}
.is-wide .menu-button {
  display: none;
}
.is-wide .menu-root {
  position: static;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  inline-size: max-content;
  max-inline-size: none;
  max-block-size: none;
  overflow: visible;
  border: 0;
  padding: 0 !important;
  margin: 0 !important;
}
.is-wide .menu-root > li {
  flex-shrink: 0;
  white-space: nowrap;
}
.is-wide .sub-menu {
  position: fixed;
  inset: auto;
  position-area: block-end span-inline-end;
  position-try-fallbacks: flip-block, flip-inline;
  block-size: auto;
  inline-size: max-content;
  max-inline-size: calc(100dvw - 2rem);
  min-inline-size: 12rem;
  margin: 0.5rem 0 0;
  padding: 0.5rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.is-wide .sub-menu:not(:popover-open) {
  display: none;
}
.is-wide .sub-menu:popover-open {
  display: block;
}
.is-wide .sub-menu a {
  white-space: normal;
}
[hidden] {
  display: none !important;
}
@supports not (position-area: block-end) {
  .is-wide .sub-menu {
    position: fixed;
    margin: 0;
  }
}
@supports not selector(:popover-open) {
  .menu-root[popover] {
    display: block;
    position: static;
    inline-size: auto;
    border: 0;
  }
  .menu-button {
    display: none;
  }
  .header-inner {
    flex-wrap: wrap;
  }
}
.site-main {
  padding-block: 3.5rem 5rem;
  min-block-size: 65dvh;
}
.page-heading {
  margin-block-end: 2.25rem;
}
.page-heading h1 {
  margin: 0;
}
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}
.content-layout.has-sidebar {
  grid-template-columns: minmax(0, 1fr) 260px;
}
.post-list,
.reading-column {
  min-inline-size: 0;
}
.post-summary {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-block-end: 1.5rem;
}
.post-summary-body {
  padding: 1.75rem 2rem;
}
.post-summary h2 {
  margin: 0.5rem 0 0.75rem;
}
.post-summary h2 a {
  color: var(--ink);
  text-decoration: none;
}
.post-summary h2 a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.post-image {
  display: block;
}
.post-image img {
  display: block;
  inline-size: 100%;
  aspect-ratio: 2.4;
  object-fit: cover;
}
.post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  font-size: 0.8125rem;
  font-weight: 600;
}
.post-categories a {
  text-decoration: none;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
.post-excerpt {
  margin-block-start: 1rem;
}
.post-excerpt p {
  margin: 0;
}
.blog-sidebar {
  display: grid;
  gap: 1.75rem;
  min-inline-size: 0;
}
.widget {
  overflow-wrap: anywhere;
}
.widget-title,
.widget h2,
.widget h3 {
  font-size: 1rem;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.widget ul,
.widget ol {
  padding-inline-start: 1.25rem;
}
.widget li {
  margin-block: 0.5rem;
}
.widget a {
  color: var(--ink);
}
.widget a:hover {
  color: var(--accent);
}
.search-form {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  flex-wrap: wrap;
}
.search-form label {
  min-inline-size: 0;
  flex: 1 1 8rem;
}
.search-form input {
  inline-size: 100%;
}
.search-form button {
  flex: 0 0 auto;
}
.single-article,
.page-article,
.full-width-page {
  padding: 2.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-inline-size: 0;
}
.article-heading h1 {
  margin: 0.8rem 0 1rem;
}
.article-heading {
  margin-block-end: 2rem;
}
.article-image {
  display: block;
  inline-size: 100%;
  border-radius: 6px;
  margin-block-end: 2rem;
}
.page-article {
  max-inline-size: 860px;
  margin-inline: auto;
}
.entry-content {
  overflow-wrap: anywhere;
}
.entry-content > * {
  margin-block: 1.5rem;
}
.entry-content > :first-child {
  margin-block-start: 0;
}
.entry-content > :last-child {
  margin-block-end: 0;
}
.entry-content :where(p, ul, ol) {
  max-inline-size: 70ch;
}
.entry-content :where(h2, h3, h4) {
  margin-block-start: 2rem;
}
.entry-content blockquote {
  margin-inline: 0;
  padding: 1rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.entry-content pre {
  overflow: auto;
  padding: 1.25rem;
  background: var(--bg);
  border-radius: 7px;
}
.entry-content :where(table) {
  border-collapse: collapse;
  inline-size: 100%;
}
.entry-content :where(th, td) {
  padding: 0.75rem;
  border: 1px solid var(--line);
  text-align: start;
}
.entry-content .wp-block-table {
  overflow: auto;
}
.entry-content figure {
  max-inline-size: 100%;
  margin-inline: 0;
}
.entry-content .aligncenter {
  margin-inline: auto;
}
.entry-content .alignleft {
  float: inline-start;
  margin-inline-end: 1.5rem;
}
.entry-content .alignright {
  float: inline-end;
  margin-inline-start: 1.5rem;
}
.entry-content::after {
  content: "";
  display: table;
  clear: both;
}
.entry-content .alignwide,
.entry-content .alignfull {
  max-inline-size: 100%;
}
figcaption,
.wp-caption-text {
  font-size: 0.875rem;
  color: var(--muted);
}
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-block-start: 2rem;
  font-size: 0.875rem;
}
.navigation.pagination,
.post-navigation,
.page-links {
  margin-block: 2rem;
}
.nav-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.nav-links .page-numbers {
  display: inline-flex;
  min-inline-size: 44px;
  min-block-size: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  padding: 0.4rem 0.75rem;
}
.nav-links .current {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.nav-links .dots {
  border: 0;
  background: transparent;
}
.comments-area {
  margin-block-start: 2.5rem;
}
.comment-list {
  padding: 0;
  list-style: none;
}
.comment-list .children {
  list-style: none;
  padding-inline-start: 1.25rem;
}
.comment-body {
  padding: 1.25rem;
  margin-block: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.comment-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.comment-author .says {
  display: none;
}
.comment-metadata {
  font-size: 0.8125rem;
}
.comment-form label {
  display: block;
  font-weight: 500;
}
.comment-form textarea,
.comment-form input:not([type="checkbox"]):not([type="submit"]) {
  inline-size: 100%;
}
.site-footer {
  background: var(--paper);
  padding-block: 2.5rem;
}
.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 2rem;
  padding-block-end: 2.5rem;
}
.footer-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  font-size: 0.875rem;
}
.footer-name {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.site-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.site-footer nav a {
  color: var(--muted);
}
.copyright {
  color: var(--muted);
  margin-inline-start: auto;
}
.screen-reader-text {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  inset-block-start: 1rem;
  inset-inline-start: 1rem;
  inline-size: auto;
  block-size: auto;
  margin: 0;
  clip-path: none;
  padding: 0.75rem 1rem;
  background: white;
  color: var(--accent);
  z-index: 100000;
}
.editor-styles-wrapper {
  font-family: Figtree, system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.65;
}
@media (max-width: 800px) {
  .content-layout.has-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }
  .blog-sidebar {
    padding-block-start: 0.5rem;
  }
}
@media (max-width: 540px) {
  .shell {
    inline-size: calc(100% - 32px);
  }
  .header-inner {
    gap: 1rem;
  }
  .brand {
    font-size: 1.2rem;
  }
  .site-main {
    padding-block: 2rem 3rem;
  }
  .single-article,
  .page-article,
  .full-width-page,
  .post-summary-body {
    padding: 1.25rem;
  }
  .content-layout {
    gap: 2rem;
  }
  .copyright {
    margin-inline-start: 0;
    inline-size: 100%;
  }
}
@media (forced-colors: active) {
  .brand-mark,
  .nav-links .current {
    border: 1px solid ButtonText;
  }
}

.pagination .nav-links {
  justify-content: flex-start;
  gap: 0.5rem;
}
.comment-form-cookies-consent {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
