* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body,
html {
  height: 100%;
}
.post-content,
.blog-card {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  line-height: 1.6;
}
.post-title,
.card-title {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  color: #260040;
  line-height: 1.3;
}
.author-photo,
.card-author-photo {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #daa520;
}
a {
  color: #260040;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #daa520;
  text-decoration: underline;
}
a:focus-visible {
  outline: 3px solid #260040;
  outline-offset: 2px;
  text-decoration: underline;
  background: rgba(218,165,32,0.1);
}
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #260040;
  color: #fff;
  padding: 8px;
  z-index: 100;
}
.skip-link:focus {
  top: 0;
}
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  min-height: 100vh;
}
.post-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #dad7d7;
}
.post-title {
  color: #333;
  font-family: "Raleway", sans-serif;
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 400;
  margin-bottom: 2rem;
  line-height: 1.2;
}
.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.post-meta-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.author-photo {
  width: 40px;
  height: 40px;
}
.author-info {
  display: flex;
  flex-direction: column;
}
.author-name {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  color: #333;
}
.post-date {
  font-size: 0.9rem;
  color: #757575;
}
.post-meta-right .social-share {
  display: flex;
  gap: 0.75rem;
}
.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: #daa520;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  padding: 8px;
}
.share-btn:hover {
  background: #fcf6e8;
  transform: scale(1.1);
}
.share-btn:focus-visible {
  outline: 3px solid #daa520;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(218,165,32,0.2);
}
.share-btn i {
  width: 20px;
  height: 20px;
}
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.tag {
  display: inline-block;
  background: #fbf4e4;
  color: #260040;
  padding: 0.4rem 1rem;
  border-radius: 16px;
  font-family: "Lato", sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  border: 1px solid #f5e4bb;
  transition: background 0.2s ease;
}
.tag:hover {
  background: #f9efd6;
}
.post-lede {
  font-family: "Lato", sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  font-style: italic;
  color: #555;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}
.post-content {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: #333;
}
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
  font-family: "Raleway", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #333;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.post-content h1 {
  font-size: 2.5rem;
}
.post-content h2 {
  font-size: 1.5rem;
  border-bottom: 2px solid #daa520;
  padding-bottom: 0.5rem;
}
.post-content h3 {
  font-size: 1.2rem;
}
.post-content h4 {
  font-size: 1rem;
}
.post-content p {
  color: #666;
  font-family: "Lato", sans-serif;
  font-style: normal;
  font-weight: 300;
  margin-bottom: 1.2rem;
  text-align: justify;
}
.post-content ul,
.post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}
.post-content li {
  margin-bottom: 0.5rem;
}
.post-content code {
  background: #faf2ff;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.9em;
}
.post-content pre {
  background: #260040;
  color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}
.post-content pre code {
  background: transparent;
  padding: 0;
}
.post-content blockquote {
  border-left: 4px solid #daa520;
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  color: #666;
  font-style: italic;
}
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}
.post-content table th,
.post-content table td {
  padding: 0.75rem;
  border: 1px solid #dad7d7;
  text-align: left;
}
.post-content table th {
  background: #f6e9ff;
  color: #260040;
  font-weight: 400;
}
.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
}
@media (max-width: 768px) {
  .blog-post {
    padding: 3rem 1.5rem;
  }
  .post-title {
    font-size: 2rem;
  }
  .post-meta {
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .blog-post {
    padding: 2rem 1rem;
  }
  .post-title {
    font-size: 1.8rem;
  }
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .post-meta-right {
    width: 100%;
  }
  .post-meta-right .social-share {
    justify-content: flex-start;
    gap: 0.5rem;
  }
  .share-btn {
    width: 48px;
    height: 48px;
  }
  .post-content h2 {
    font-size: 1.5rem;
  }
  .post-content h3 {
    font-size: 1.2rem;
  }
}
html:has(.blog-post) {
  scroll-snap-type: none;
  scroll-behavior: auto;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .share-btn:hover {
    transform: none;
  }
}
