/* Rendiciones - View & Node Detail */

.rendiciones-page {
  padding: 2rem 1rem;
  max-width: 960px;
  margin: 0 auto;
}

.rendiciones-intro {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: #f0f6ff;
  border-left: 4px solid #003b71;
  border-radius: 4px;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Grid */
.rendiciones-grid {
  margin-top: 1rem;
}

/* Cards */
.rendicion-card {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
}

.rendicion-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.rendicion-card-img img {
  width: 100%;
  height: auto;
  display: block;
}

.rendicion-card-img a {
  display: block;
}

.rendicion-card-body {
  padding: 1rem;
}

.rendicion-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.rendicion-card-title a {
  color: #003b71;
  text-decoration: none;
}

.rendicion-card-title a:hover {
  color: #00509e;
  text-decoration: underline;
}

/* Empty state */
.rendiciones-empty {
  padding: 2rem;
  text-align: center;
  color: #6c757d;
  font-style: italic;
}

/* Node detail - responsive iframes (YouTube embeds in body) */
.node--rendiciones-x-annio .node-detail-body iframe {
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.rendicion-extra {
  margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .rendiciones-page {
    padding: 1rem 0.5rem;
  }
}
