/*
Theme Name: Artistdonations Shell
Theme URI: https://example.com/artistdonations-shell
Author: Benjamin Finder for Artistdonations
Author URI: https://example.com
Description: Minimal classic shell theme for Artistdonations. It intentionally keeps the theme layer thin so layouts, assets, and interactive UI can stay in the plugin.
Version: 1.5.4
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: artistdonations-shell
*/

:root {
  --ad-shell-bg: #ffffff;
  --ad-shell-fg: #1f2937;
  --ad-shell-muted: #6b7280;
  --ad-shell-link: #111827;
  --ad-shell-focus: #2563eb;
}

html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  background: var(--ad-shell-bg);
  color: var(--ad-shell-fg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: var(--ad-shell-link);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--ad-shell-focus);
  outline-offset: 2px;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  max-width: 100%;
}

.site {
  min-height: 100vh;
}

.site-main {
  display: block;
  width: 100%;
}

.entry-content {
  width: 100%;
}

.entry-content > :first-child {
  margin-top: 0;
}

.entry-content > :last-child {
  margin-bottom: 0;
}

.artistdonations-shell-posts {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 40px 20px;
}

.artistdonations-shell-post {
  margin: 0 0 48px;
}

.artistdonations-shell-post:last-child {
  margin-bottom: 0;
}

.artistdonations-shell-post__title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
}

.artistdonations-shell-post__meta {
  margin: -4px 0 24px;
  color: var(--ad-shell-muted);
  font-size: 0.95rem;
}

.artistdonations-shell-post__content > :first-child,
.artistdonations-shell-page > :first-child {
  margin-top: 0;
}

.artistdonations-shell-post__content > :last-child,
.artistdonations-shell-page > :last-child {
  margin-bottom: 0;
}

.artistdonations-shell-page {
  width: 100%;
}

.comments-area {
  width: min(100%, 960px);
  margin: 48px auto 0;
  padding: 0 20px 48px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f3f4f6;
  clip: auto !important;
  clip-path: none;
  color: #111827;
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  height: auto;
  left: 16px;
  line-height: normal;
  padding: 12px 16px;
  text-decoration: none;
  top: 16px;
  width: auto;
  z-index: 100000;
}

.skip-link {
  position: absolute;
}

@media (max-width: 782px) {
  .artistdonations-shell-posts {
    padding: 28px 16px;
  }
}
