.footer {
  background: var(--c-header);
  padding: 30px 0;
  margin-top: 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-links a {
  color: #e0f0e8;
  font-size: 0.88rem;
  padding: 4px 8px;
  border-radius: 4px;
}
.footer-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.footer-logos {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-logos img {
  height: 40px;
  opacity: 0.85;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}
.footer-legal-links a {
  color: var(--c-muted);
  font-size: 0.82rem;
  text-decoration: underline;
}
.footer-legal-links a:hover {
  color: #fff;
}
.copyright {
  text-align: center;
  color: var(--c-muted);
  font-size: 0.82rem;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.widget {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(24, 50, 41, 0.96), rgba(40, 83, 58, 0.96));
  border-top: 2px solid var(--c-accent);
  padding: 12px 16px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.widget.visible {
  transform: translateY(0);
}
.widget-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.widget-text {
  color: #fff;
  font-size: 0.92rem;
}
.widget-text b {
  color: var(--c-accent);
}
.widget a {
  color: var(--c-text-dark);
  font-weight: 700;
  text-decoration: none;
}
.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
  background: var(--c-card-h);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}
.author-box img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-info h3 {
  color: var(--c-accent);
  margin-bottom: 4px;
}
.author-info p {
  color: #e0f0e8;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.author-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.author-links a {
  color: var(--c-accent);
  font-size: 0.85rem;
  text-decoration: underline;
}
.text-content {
  line-height: 1.7;
  color: #e0f0e8;
}
.text-content h2 {
  color: #fff;
  margin: 20px 0 10px;
  font-size: 1.5rem;
}
.text-content h3 {
  color: var(--c-accent);
  margin: 16px 0 8px;
  font-size: 1.2rem;
}
.text-content p {
  margin-bottom: 12px;
}
.text-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 12px;
}
.text-content ol {
  list-style: decimal;
  padding-left: 24px;
  margin-bottom: 12px;
}
.text-content li {
  margin-bottom: 6px;
}
.text-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
}
.text-content table th,
.text-content table td {
  padding: 10px 14px;
  text-align: left;
  border: 1px solid var(--c-border);
}
.text-content table th {
  background: var(--c-card-h);
  color: var(--c-accent);
}
.text-content a {
  color: var(--c-accent);
  text-decoration: underline;
}
.text-content blockquote {
  border-left: 3px solid var(--c-accent);
  padding: 10px 16px;
  margin: 12px 0;
  background: rgba(240, 196, 43, 0.05);
  border-radius: 0 6px 6px 0;
}
.text-content img {
  border-radius: var(--radius-sm);
  margin: 10px 0;
}
