/*
Theme Name: Section Ten Association
Theme URI: https://sectiontenassociation.com/
Author: Section Ten Association
Version: 1.0.0
Text Domain: sectiontenassociation
*/

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/S6u9w4BMUTPHh7USew8.ttf") format("truetype");
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/S6uyw4BMUTPHvxk.ttf") format("truetype");
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/S6u9w4BMUTPHh6UVew8.ttf") format("truetype");
}

:root {
  --sta-text: #212121;
  --sta-muted: #6b6b6b;
  --sta-accent: #1e6c93;
  --sta-bg: #f2f2f2;
  --sta-surface: #ffffff;
  --sta-sidebar: #212121;
  --sta-sidebar-muted: #b0b0b0;
  --sta-sidebar-accent: #49aad4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--sta-text);
  background: var(--sta-bg);
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  background: #ffffff;
  color: var(--sta-text);
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  z-index: 999;
}

.skip-link:focus-visible {
  left: 16px;
}

a {
  color: var(--sta-accent);
}

a:hover {
  color: #1a5a78;
}

a:focus-visible,
.site-nav a:focus-visible {
  outline: 2px solid var(--sta-sidebar-accent);
  outline-offset: 2px;
}

.site-shell {
  display: flex;
  min-height: 100vh;
}

.site-sidebar {
  width: 250px;
  background: var(--sta-sidebar);
  color: #ffffff;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.site-body {
  flex: 1;
  background: var(--sta-surface);
  display: flex;
  flex-direction: column;
}

.site-title {
  font-size: 19px;
  font-weight: 300;
  letter-spacing: 1px;
  margin: 0;
}

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

.site-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.site-logo {
  width: 120px;
  height: 72px;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px;
}

.site-brand__text {
  display: inline-block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-nav a {
  display: block;
  padding: 10px 8px;
  text-decoration: none;
  font-weight: 300;
  color: #ffffff;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav .current_page_item > a,
.site-nav .current-menu-item > a {
  color: var(--sta-sidebar-accent);
}

.site-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 32px 64px;
  width: 100%;
  background: var(--sta-surface);
}

.site-footer {
  border-top: 1px solid #e3e7ea;
  background: var(--sta-surface);
  color: var(--sta-muted);
  text-align: center;
  padding: 24px;
}

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

.site-content section {
  margin-bottom: 36px;
  padding: 24px;
  border: 1px solid #e3e7ea;
  border-radius: 12px;
  background: #ffffff;
}

.site-content h1,
.site-content h2,
.site-content h3 {
  color: var(--sta-accent);
  margin: 0 0 16px;
  line-height: 1.25;
}

.site-content h1 {
  font-size: 32px;
}

.site-content h2 {
  font-size: 24px;
}

.site-content h3 {
  font-size: 20px;
}

.site-content p {
  margin: 0 0 12px;
}

.site-content ul,
.site-content ol {
  padding-left: 22px;
  margin: 0 0 16px;
}

.site-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
}

.site-content table th,
.site-content table td {
  border: 1px solid #e3e7ea;
  padding: 8px 10px;
  text-align: left;
}

.site-content .tyJCtd {
  max-width: 900px;
  margin: 0 auto;
}

.sta-gallery-section {
  padding: 0;
  border: none;
  background: transparent;
}

.sta-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.sta-gallery__item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e3e7ea;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.sta-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
}

.sta-gallery__caption {
  font-size: 13px;
  color: var(--sta-muted);
  padding: 10px 12px 12px;
  background: #ffffff;
}

@media (max-width: 768px) {
  .site-shell {
    flex-direction: column;
  }

  .site-sidebar {
    width: 100%;
    position: static;
    padding: 20px 16px;
  }

  .site-main {
    padding: 28px 20px 48px;
  }

  .site-content section {
    padding: 18px;
  }
}
