/* Colóquio Epistemologia — estilos principais (ExtraNews-inspired) */
:root {
  --navy: #001d3d;
  --nav: #333333;
  --teal: #00a699;
  --teal-hover: #00897b;
  --text: #555555;
  --heading: #111111;
  --muted: #777777;
  --line: #dcdcdc;
  --bg: #ffffff;
  --topbar: #f3f3f3;
  --footer: #1a1a1a;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 30px;
}

@media (max-width: 700px) {
  .news-grid { grid-template-columns: 1fr; }
}

article.post-card {
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s ease, transform .45s ease;
}

article.post-card.is-visible {
  opacity: 1;
  transform: none;
}

.categories {
  display: inline-block;
  background: #cfcfcf;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  margin-bottom: 10px;
  line-height: 1.2;
}

.categories a { color: #fff; }

.indextitle,
.blogtitle,
.section-title,
.page-head h1,
.widget-title {
  font-family: "Bitter", Georgia, "Times New Roman", serif;
}

.indextitle {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.indextitle a {
  color: var(--heading);
}

.indextitle a:hover {
  color: var(--teal);
}

.post-card .date {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.post-card .date a { color: var(--muted); }

.post-card .excerpt {
  color: var(--text);
  margin: 0 0 14px;
  font-size: 14px;
}

.post-card .excerpt a {
  color: var(--teal);
  text-decoration: underline;
}

.post-card .excerpt a:hover {
  color: var(--teal-hover);
}

a.more-link,
.btn-teal,
button.btn-teal {
  display: inline-block;
  background: var(--teal);
  color: #fff !important;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}

a.more-link:hover,
.btn-teal:hover {
  background: var(--teal-hover);
  transform: translateY(-1px);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 28px;
  align-items: center;
}

.pagination a,
.pagination span {
  display: inline-block;
  min-width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  background: #e3e3e3;
  color: #333;
  font-size: 13px;
  font-weight: 600;
}

.pagination .current {
  background: #333;
  color: #fff;
}

.pagination a:hover {
  background: #555;
  color: #fff;
}

.pagination .next {
  padding: 0 12px;
  width: auto;
}

/* Sidebar */
.sidebar-cta,
.sidebar-campus {
  margin-bottom: 18px;
}

.sidebar-cta img,
.sidebar-campus img {
  display: block;
  max-width: 100%;
  height: auto;
}

.sidebar-cta a {
  display: block;
  transition: transform .2s ease, box-shadow .2s ease;
}

.sidebar-cta a:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}

.widget {
  margin-bottom: 26px;
}

.widget-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--heading);
  border-bottom: 2px solid #333;
  padding-bottom: 6px;
}

.widget-recent ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget-recent li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.widget-recent a {
  color: #444;
  font-size: 13px;
  flex: 1;
}

.widget-recent a:hover { color: var(--teal); }

.widget-recent .chev {
  color: #aaa;
  font-size: 12px;
}

.partner-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.partner-grid .thumb {
  display: block;
  border: 1px solid #999;
  padding: 3px;
  background: #fff;
}

.partner-grid img {
  display: block;
  width: 100%;
  height: 75px;
  object-fit: contain;
}

/* Single / page */
.single-article .categories { margin-bottom: 12px; }
.single-article .blogtitle {
  font-size: 28px;
  color: var(--heading);
  margin: 0 0 8px;
}
.single-article .meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}
.single-article .entry-content {
  font-size: 15px;
  color: #333;
}
.single-article .entry-content p { margin: 0 0 1em; }
.single-article .entry-content a { text-decoration: underline; }

.page-content h3 {
  color: var(--heading);
  margin: 1.4em 0 .5em;
}

.contact-form .form-row { margin-bottom: 14px; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 4px; color: #333; }
.contact-form .required { color: #c00; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 520px;
  border: 1px solid #ccc;
  padding: 8px 10px;
  font: inherit;
}
.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
  border-color: #c00;
  background: #fff5f5;
}
.form-feedback { margin-top: 12px; font-weight: 600; }
.form-feedback.ok { color: var(--teal); }
.form-feedback.err { color: #c00; }

/* Footer */
#footer {
  background: var(--footer);
  color: #ddd;
  margin-top: 20px;
  padding: 28px 16px 12px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 50px;
  align-items: flex-start;
}

.footer-label {
  color: #fff;
  font-weight: 700;
  margin: 0 0 10px;
}

.footer-realizacao img {
  max-width: 360px;
  width: 100%;
  height: auto;
}

.footer-apoio {
  position: relative;
  padding-top: 8px;
}

.footer-logos {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.footer-logos img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #fff;
  padding: 3px;
  border: 1px solid #666;
}

.footer-copy {
  border-top: 1px solid #333;
  margin-top: 20px;
  padding-top: 10px;
  font-size: 11px;
  color: #999;
}

.footer-copy a { color: #bbb; }

.scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: #333;
  color: #fff;
  padding: 8px 12px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 50;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.alert {
  padding: 12px 14px;
  background: #e8f5f3;
  border-left: 4px solid var(--teal);
  margin-bottom: 18px;
}

.search-results .post-card { margin-bottom: 18px; }
