/*
Theme Name: Smashing Data
Theme URI: https://smashingdata.au/
Author: Smashing Data
Description: A clean, accessible theme for the Smashing Data website.
Version: 1.0.0
Requires at least: 7.0
Requires PHP: 8.2
Text Domain: smashing-data
*/

:root {
  --sd-background: #fff;
  --sd-text: #111;
  --sd-muted: #555;
  --sd-rule: #d9d9d9;
  --sd-content-width: 70rem;
  --sd-home-width: 42rem;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

body {
  margin: 0;
  background: var(--sd-background);
  color: var(--sd-text);
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

a:hover,
a:focus {
  text-decoration-thickness: 2px;
}

.site-main {
  width: min(100% - 3rem, var(--sd-content-width));
  margin: 0 auto;
  padding: 4.5rem 0 4rem;
}

.home .site-main {
  max-width: var(--sd-home-width);
}

.entry-title {
  margin: 0 0 2rem;
  font-size: 1.6rem;
  line-height: 1.2;
}

.home .entry-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.entry-content > * {
  max-width: 100%;
}

.entry-content p {
  margin: 0 0 1rem;
}

.entry-content .lede {
  margin-bottom: 1.75rem;
  font-size: 1.1rem;
  line-height: 1.45;
}

.entry-content .brand-logo {
  margin: 0 0 2rem;
}

.brand-logo img,
img.brand-logo {
  display: block;
  width: 32rem;
  max-width: 100%;
  height: auto;
}

.entry-content hr {
  margin: 2rem 0 1.5rem;
  border: 0;
  border-top: 1px solid var(--sd-rule);
}

.entry-content .contact {
  color: var(--sd-muted);
  font-size: 0.98rem;
}

.post-list article {
  margin-bottom: 3rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 3rem;
}

.crm-container {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (max-width: 640px) {
  html {
    font-size: 17px;
  }

  .site-main {
    width: min(100% - 2.5rem, var(--sd-content-width));
    padding: 3rem 0;
  }
}
