/* PunKontexto – estilo blog simples */

:root {
  --color-bg: #fafafa;
  --color-text: #1a1a1a;
  --color-muted: #666;
  --color-accent: #c0392b;
  --color-accent-dark: #922b21;
  --color-border: #ddd;
  --color-letra-original-bg: #fff8e7;
  --color-letra-original-border: #e6c87a;
  --color-letra-traducao-bg: #eef6ff;
  --color-letra-traducao-border: #7eb8e8;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 720px;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */

.site-header {
  background: #fff;
  border-bottom: 2px solid var(--color-accent);
  margin-bottom: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-title:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list > li > a {
  color: var(--color-text);
  font-weight: 500;
}

.nav-list > li > a:hover {
  color: var(--color-accent);
}

/* Dropdown */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  font: inherit;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  padding: 0;
}

.nav-dropdown-toggle:hover {
  color: var(--color-accent);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0.5rem 0;
  z-index: 100;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 0.4rem 1rem;
  color: var(--color-text);
}

.nav-dropdown-menu li a:hover {
  background: var(--color-bg);
  text-decoration: none;
}

/* Newsletter */

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

.newsletter-bar {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2rem;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
}

.newsletter-text {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.newsletter-panel {
  flex: 1;
  min-width: 0;
  max-width: 360px;
}

.newsletter-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.newsletter-form {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  min-width: 0;
}

.newsletter-form[hidden] {
  display: none;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0.45rem 0.65rem;
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.4;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-bg);
}

.newsletter-form input[type="email"]:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  border-color: var(--color-accent);
}

.newsletter-form button {
  flex-shrink: 0;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  background: var(--color-accent);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.newsletter-form button:hover {
  background: var(--color-accent-dark);
}

.newsletter-form button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.newsletter-submit-frame {
  display: none;
  width: 0;
  height: 0;
  border: 0;
}

.newsletter-message {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
}

.newsletter-message--success {
  color: #1e6b3a;
  font-weight: 500;
}

.newsletter-message--error {
  color: var(--color-accent-dark);
}

.newsletter-bar--success .newsletter-text,
.newsletter-bar--error .newsletter-text {
  display: none;
}

.newsletter-bar--success .newsletter-inner,
.newsletter-bar--error .newsletter-inner {
  justify-content: center;
}

.newsletter-bar--success .newsletter-panel,
.newsletter-bar--error .newsletter-panel {
  max-width: none;
  flex: 0 1 auto;
}

/* Home & lists */

.home-intro {
  margin-bottom: 2rem;
}

.home-intro h1 {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}

.home-intro p {
  color: var(--color-muted);
  margin: 0;
}

.post-list-heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
}

.post-list-content {
  flex: 1;
  min-width: 0;
}

.post-list-date {
  display: block;
  margin: 0 0 0.15rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.4;
}

.post-list-heading-link {
  display: inline;
}

.post-list-item a {
  color: var(--color-text);
  text-decoration: none;
}

.post-list-item a:hover {
  color: var(--color-accent);
}

.post-list-taxonomy {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--color-muted);
}

.post-list-excerpt {
  margin-top: 0.35rem;
}

.post-list-summary {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-muted);
}

.post-list-summary-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.post-list-summary-link:hover .post-list-summary {
  color: var(--color-accent);
}

.post-list-read-more {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: none;
}

.post-list-read-more:hover {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

.post-list-read-more::after {
  content: " →";
}

.post-list-taxonomy a {
  color: var(--color-muted);
  text-decoration: none;
}

.post-list-taxonomy a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.post-list-taxonomy-label {
  margin-right: 0.2rem;
}

.post-list-taxonomy-sep {
  margin: 0 0.35rem;
  opacity: 0.6;
}

.post-list-artist {
  font-weight: 600;
}

.post-list-artist::after {
  content: " – ";
  font-weight: 400;
  color: var(--color-muted);
}

.post-list-cover {
  flex-shrink: 0;
  display: block;
  width: 88px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}

.post-list-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-list-cover:hover {
  border-color: var(--color-accent);
}

/* Post */

.post-header {
  margin-bottom: 2rem;
}

.post-title {
  font-size: 1.85rem;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.post-meta,
.post-taxonomy {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.post-taxonomy a {
  font-weight: 500;
}

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

.post-cover,
.post-figure {
  margin: 0 0 1.5rem;
}

.post-cover img,
.post-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.post-cover {
  margin-bottom: 2rem;
}

.post-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* YouTube embed */

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-bottom: 2rem;
  border-radius: 4px;
  background: #000;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Letras – formatação especial */

.letra {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.8;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 4px;
  border-left: 4px solid;
}

.letra-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.letra-original {
  background: var(--color-letra-original-bg);
  border-color: var(--color-letra-original-border);
}

.letra-original .letra-label {
  color: #8a6914;
}

.letra-traducao {
  background: var(--color-letra-traducao-bg);
  border-color: var(--color-letra-traducao-border);
}

.letra-traducao .letra-label {
  color: #2c6fad;
}

.letra p {
  margin: 0 0 0.5rem;
}

.letra p:last-child {
  margin-bottom: 0;
}

.letra .nota {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--color-muted);
  margin-top: 0.15rem;
  margin-bottom: 0.75rem;
}

.letra em {
  font-style: normal;
  font-weight: 600;
}

/* Category & page */

.category-header,
.page-header {
  margin-bottom: 2rem;
}

.category-header h1,
.page-header h1 {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}

.category-description {
  color: var(--color-muted);
  margin: 0;
}

.page-content h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
}

.page-content h3 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.outros-projetos p {
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.outros-projetos a {
  color: var(--color-accent);
  font-weight: 600;
}

.outros-projetos a:hover {
  color: var(--color-accent-dark);
}

/* Footer */

.site-footer {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-muted);
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo-link {
  display: inline-block;
  line-height: 0;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.footer-logo-link:hover {
  opacity: 1;
}

.footer-logo-link img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 140px;
}

.site-footer a {
  color: var(--color-muted);
}

.site-footer a:hover {
  color: var(--color-accent);
}

/* Responsive */

@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
  }

  .newsletter-text {
    font-size: 0.8125rem;
    white-space: normal;
    text-align: center;
  }

  .newsletter-panel {
    max-width: none;
    width: 100%;
  }

  .newsletter-message {
    text-align: center;
  }

  .post-list-cover {
    width: 72px;
  }
}
