/**
 * Layout for secondary templates (page, single, archive, 404, search).
 * Front page uses inline CSS from _extracted_head.html.
 */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none;
  display: block;
  height: auto;
  width: auto;
  left: 0.5rem;
  top: 0.5rem;
  padding: 0.75rem 1rem;
  z-index: 100001;
  background: #1f3d2b;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}
.site-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(31, 61, 43, 0.12);
  background: rgba(255, 255, 255, 0.97);
}
.site-header-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}
.site-branding .custom-logo-link {
  display: inline-block;
}
.site-branding .custom-logo {
  display: block;
  height: auto;
  max-height: 3rem;
  width: auto;
}
.site-title-link {
  font-weight: 700;
  font-size: 1.15rem;
}
.site-nav .primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.site-nav .primary-menu a {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.site-search .search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.site-search .search-field {
  min-width: 10rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(31, 61, 43, 0.2);
  border-radius: 4px;
  font-size: 0.95rem;
}
.site-search .search-submit {
  padding: 0.45rem 0.85rem;
  background: #1f3d2b;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
}
.site-search .search-submit:hover,
.site-search .search-submit:focus {
  background: #2e5740;
}
.site-header a {
  font-weight: 600;
  color: #1f3d2b;
  text-decoration: none;
}
.site-header a:hover,
.site-header a:focus {
  color: #c8813a;
}
.footer-nav {
  margin-bottom: 1rem;
}
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}
.footer-menu a {
  color: #44413b;
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-menu a:hover {
  color: #c8813a;
}
.site-info a {
  color: inherit;
  text-decoration: none;
}
.site-info a:hover {
  color: #c8813a;
}
.comments-area {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}
.comments-title {
  font-size: 1.25rem;
  color: #1f3d2b;
  margin-bottom: 1.25rem;
}
.comment-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.comment-list .children {
  list-style: none;
  margin: 0.75rem 0 0 1rem;
  padding: 0;
}
.comment-body {
  border-bottom: 1px solid #e5ddd0;
  padding: 1rem 0;
}
.comment-meta {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.35rem;
}
.reply {
  margin-top: 0.35rem;
}
.reply a {
  font-size: 0.85rem;
  color: #c8813a;
  font-weight: 600;
}
.comment-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1f3d2b;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(31, 61, 43, 0.2);
  border-radius: 4px;
  margin-bottom: 0.75rem;
  font-family: inherit;
}
.comment-form .form-submit input {
  padding: 0.55rem 1.25rem;
  background: #1f3d2b;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}
.no-comments {
  color: #666;
  font-style: italic;
}
.site-main {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  color: #2a2a2a;
  line-height: 1.7;
}
.site-main .entry-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 500;
  color: #1f3d2b;
  margin-bottom: 1rem;
}
.site-main .entry-meta {
  font-size: 0.9rem;
  color: #44413b;
  margin-bottom: 1.5rem;
}
.site-main .entry-content > * + * {
  margin-top: 1rem;
}
.site-main .entry-content a {
  color: #c8813a;
}
.posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.posts-list li {
  padding: 1rem 0;
  border-bottom: 1px solid #e5ddd0;
}
.posts-list a {
  font-weight: 600;
  color: #1f3d2b;
  text-decoration: none;
}
.posts-list a:hover {
  color: #c8813a;
}
.site-footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #44413b;
  border-top: 1px solid rgba(31, 61, 43, 0.1);
  background: #f4efe6;
}
.not-found {
  text-align: center;
  padding: 2rem 0;
}
.not-found .btn-home {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.65rem 1.25rem;
  background: #1f3d2b;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}
.not-found .btn-home:hover {
  background: #2e5740;
}
