/*
Theme Name: Tavernanerd Rebuild
Theme URI: https://tavernanerd.com.br
Author: Tavernanerd
Description: Novo tema independente inspirado na identidade visual histórica do Tavernanerd.
Version: 0.1.0
Text Domain: tavernanerd-rebuild
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&family=Cinzel+Decorative:wght@400;700;900&family=Nunito+Sans:wght@400;600;700;800&display=swap');

:root {
  --tnr-orange: #ff5d00;
  --tnr-orange-soft: #ff8a3d;
  --tnr-ink: #050609;
  --tnr-navy: #181e2b;
  --tnr-paper: #fdfdfd;
  --tnr-text: #252525;
  --tnr-border: #e5e7eb;
  --tnr-radius: 4px;
  --tnr-content-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--tnr-paper);
  color: var(--tnr-text);
  font-family: "Nunito Sans", Arial, sans-serif;
  line-height: 1.6;
}

a { color: var(--tnr-orange); text-decoration: none; }
a:hover, a:focus { color: var(--tnr-orange-soft); }
img { max-width: 100%; height: auto; }

.tnr-container {
  width: min(100% - 2rem, var(--tnr-content-width));
  margin-inline: auto;
}

.tnr-screen-reader-text {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.tnr-topbar {
  background: #050609;
  color: #fff;
  font-size: 0.875rem;
  min-height: 42px;
  position: relative;
  z-index: 20;
}

.tnr-topbar-inner {
  align-items: center;
  display: grid;
  gap: 0;
  grid-template-columns: 150px minmax(0, 1fr) 210px auto;
  min-height: 42px;
}

.tnr-news-badge {
  align-items: center;
  align-self: stretch;
  background: #ff5d00;
  display: flex;
  font-family: "Nunito Sans", Arial, sans-serif;
  font-weight: 800;
  justify-content: center;
  padding: 0 12px;
}

.tnr-news-headline {
  overflow: hidden;
  padding: 0 24px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tnr-news-headline a { color: #fff; }

.tnr-header-search {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  display: flex;
  justify-content: space-between;
}

.tnr-header-search input {
  background: transparent;
  border: 0;
  color: #fff;
  min-width: 0;
  outline: 0;
  padding: 4px 0;
  width: 100%;
}

.tnr-header-search input::placeholder { color: #fff; }
.tnr-header-search button {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
}

.tnr-social-menu { padding-left: 18px; }
.tnr-menu-social { gap: 12px; }
.tnr-menu-social a { color: #fff; font-weight: 800; padding: 0; }

.tnr-branding-row {
  background: #181e2b;
  min-height: 64px;
  padding: 0;
  position: relative;
  z-index: 15;
}

.tnr-branding-inner {
  min-height: 64px;
  position: relative;
}

.tnr-branding {
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  z-index: 30;
}

.tnr-branding .custom-logo-link,
.tnr-branding .custom-logo {
  display: block;
}

.tnr-branding .custom-logo {
  height: auto;
  max-height: 156px;
  max-width: 220px;
  object-fit: contain;
}

.tnr-site-title {
  color: #fff;
  display: block;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  padding: 16px 10px;
}

.tnr-header-menu-left,
.tnr-header-menu-right {
  position: relative;
  z-index: 35;
}

.tnr-header-menu-left { justify-self: start; }
.tnr-header-menu-right { justify-self: end; }

.tnr-header-menu .tnr-menu { gap: 8px; }
.tnr-header-menu a {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 18px 10px;
}

.tnr-header-menu a:hover { color: #ff5d00; }

.tnr-header-menu .sub-menu {
  background: rgba(24, 30, 43, .96);
  display: none;
  min-width: 220px;
  padding: 8px;
  position: absolute;
  z-index: 100;
}

.tnr-header-menu .menu-item-has-children:hover > .sub-menu { display: block; }
.tnr-header-menu .sub-menu a { padding: 8px 10px; }

.tnr-primary-navigation {
  background: #181e2b;
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-bottom: 80px;
  min-height: 0;
}

.tnr-primary-navigation .tnr-container { display: none; }

.tnr-topbar-inner,
.tnr-branding-inner,
.tnr-footer-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.tnr-branding-row {
  background: var(--tnr-paper);
  padding: 1.25rem 0;
}

.tnr-branding-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}

.tnr-branding { text-align: center; }
.tnr-site-title {
  color: var(--tnr-ink);
  font-family: Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
}

.tnr-header-menu-right .tnr-menu { justify-content: flex-end; }
.tnr-menu,
.tnr-menu ul {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tnr-menu a {
  color: inherit;
  display: block;
  font-weight: 600;
  padding: 0.4rem 0;
}

.tnr-primary-navigation {
  background: var(--tnr-ink);
  color: #fff;
}

.tnr-menu-primary {
  justify-content: center;
  min-height: 3rem;
}

.tnr-menu-primary a:hover,
.tnr-menu-primary a:focus {
  color: var(--tnr-orange-soft);
}

.tnr-menu-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--tnr-radius);
  color: #fff;
  cursor: pointer;
  display: none;
  font: inherit;
  justify-content: center;
  margin: 0.65rem auto;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
}

.tnr-menu-toggle:hover,
.tnr-menu-toggle:focus {
  background: var(--tnr-orange);
  border-color: var(--tnr-orange);
}

.tnr-header-widgets,
.tnr-content-layout,
.tnr-footer-widgets {
  padding: 2rem 0;
}

.tnr-content-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
}

.tnr-post-card {
  border-bottom: 1px solid var(--tnr-border);
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(10rem, 16rem) minmax(0, 1fr);
  padding: 0 0 1.5rem;
  margin: 0 0 1.5rem;
}

.tnr-post-card-image img,
.tnr-entry-image img {
  display: block;
  width: 100%;
}

.tnr-entry-title,
.tnr-page-title,
.tnr-post-card-title {
  color: var(--tnr-ink);
  font-family: Georgia, serif;
  line-height: 1.2;
}

.tnr-post-card-title { margin: 0.35rem 0 0.75rem; }
.tnr-post-meta { color: #6b7280; font-size: 0.875rem; }
.tnr-sidebar .widget { margin-bottom: 1.5rem; }
.tnr-widget-title,
.widget-title {
  border-bottom: 2px solid var(--tnr-orange);
  color: var(--tnr-ink);
  padding-bottom: 0.4rem;
}

.tnr-site-footer {
  background: var(--tnr-navy);
  color: #fff;
}

.tnr-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1rem 0;
}

.tnr-error-page { padding: 4rem 0; text-align: center; }
.tnr-error-code { color: var(--tnr-orange); font-size: 4rem; font-weight: 700; margin: 0; }

.tnr-header-menu,
.tnr-social-menu,
.tnr-primary-navigation { text-transform: uppercase; letter-spacing: 0.035em; }

.tnr-header-menu-left { justify-self: start; }
.tnr-header-menu-right { justify-self: end; }
.tnr-header-menu a { color: var(--tnr-ink); }
.tnr-header-menu a:hover,
.tnr-header-menu a:focus { color: var(--tnr-orange); }

.tnr-news-ticker {
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tnr-post-card {
  background: #fff;
  border-top: 3px solid transparent;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.tnr-post-card:hover {
  border-top-color: var(--tnr-orange);
  box-shadow: 0 0.5rem 1.5rem rgba(5, 6, 9, 0.08);
  transform: translateY(-2px);
}

.tnr-post-card-title a,
.tnr-entry-title,
.tnr-page-title {
  text-shadow: 0 0 0 transparent;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.tnr-post-card-title a:hover,
.tnr-post-card-title a:focus {
  color: var(--tnr-orange);
  text-shadow: 0 0 0.75rem rgba(255, 93, 0, 0.28);
}

.tnr-entry-header {
  border-bottom: 1px solid var(--tnr-border);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
}

.tnr-entry-categories,
.tnr-entry-tags {
  color: var(--tnr-orange);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.75rem;
}

.tnr-entry-tags a {
  background: #fff1e8;
  border-radius: 999px;
  display: inline-block;
  margin: 0.2rem 0.25rem 0.2rem 0;
  padding: 0.25rem 0.65rem;
}

.tnr-entry-content { font-size: 1.08rem; }
.tnr-entry-content img { height: auto; }
.tnr-entry-content blockquote {
  border-left: 4px solid var(--tnr-orange);
  color: #4b5563;
  margin: 1.5rem 0;
  padding: 0.5rem 1rem;
}

.tnr-pagination .nav-links {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tnr-pagination a,
.tnr-pagination .current,
.tnr-button {
  border: 1px solid var(--tnr-orange);
  border-radius: var(--tnr-radius);
  display: inline-block;
  padding: 0.45rem 0.75rem;
}

.tnr-pagination .current,
.tnr-pagination a:hover,
.tnr-pagination a:focus,
.tnr-button {
  background: var(--tnr-orange);
  color: #fff;
}

.tnr-widget-title,
.widget-title { font-family: Georgia, serif; }
.tnr-header-widgets .widget,
.tnr-footer-widgets .widget { margin-bottom: 1.5rem; }

.tnr-category-filmes .tnr-category-accent { color: #7c3aed; }
.tnr-category-games .tnr-category-accent { color: #16a34a; }
.tnr-category-arte .tnr-category-accent { color: #2563eb; }
.tnr-category-tv .tnr-category-accent { color: #dc2626; }
.tnr-category-tecnologia .tnr-category-accent { color: #0284c7; }
.tnr-category-livros .tnr-category-accent { color: #db2777; }
.tnr-category-taverna .tnr-category-accent { color: var(--tnr-orange); }
.tnr-category-miniaturas .tnr-category-accent { color: #0f766e; }

.tnr-home-layout {
  padding: 2rem 0 4rem;
}

.tnr-home-widget-area {
  margin-bottom: 2rem;
}

.tnr-home-featured {
  margin-bottom: 3rem;
}

.tnr-featured-card {
  background: #fff;
  border-top: 4px solid var(--tnr-orange);
  box-shadow: 0 0.75rem 2rem rgba(5, 6, 9, 0.1);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 1fr);
  overflow: hidden;
}

.tnr-featured-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.tnr-featured-content {
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.tnr-featured-title {
  font-family: Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
}

.tnr-section-heading {
  align-items: baseline;
  border-bottom: 2px solid var(--tnr-orange);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tnr-section-title {
  color: var(--tnr-ink);
  font-family: Georgia, serif;
  margin: 0 0 0.75rem;
}

.tnr-section-link {
  color: var(--tnr-orange);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.tnr-section-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 3rem;
}

.tnr-section-card {
  background: #fff;
  border-bottom: 3px solid var(--tnr-orange);
  box-shadow: 0 0.35rem 1rem rgba(5, 6, 9, 0.07);
}

.tnr-section-card-image img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  width: 100%;
}

.tnr-section-card-content {
  padding: 1rem;
}

.tnr-section-card-title {
  font-family: Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.25;
  margin: 0.35rem 0 0;
}

.tnr-home-content {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
  padding: 2rem 0 4rem;
}

.tnr-recent-posts-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 2fr) minmax(13rem, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  margin-bottom: 3rem;
}

.tnr-recent-post {
  background: #fff;
  border-bottom: 3px solid var(--tnr-orange);
  box-shadow: 0 0.35rem 1rem rgba(5, 6, 9, 0.07);
  overflow: hidden;
}

.tnr-recent-post-featured { grid-row: 1 / span 2; }
.tnr-recent-post-image img,
.tnr-editorial-card-image img {
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.tnr-recent-post-featured .tnr-recent-post-image img { aspect-ratio: 16 / 9; }
.tnr-recent-post-secondary { display: grid; grid-template-columns: 9rem minmax(0, 1fr); }
.tnr-recent-post-secondary .tnr-recent-post-image img { height: 100%; min-height: 9rem; }
.tnr-recent-post-content,
.tnr-editorial-card-content { padding: 1rem; }
.tnr-recent-post-title,
.tnr-editorial-card-title { font-family: Georgia, serif; line-height: 1.2; margin: 0.35rem 0 0; }

.tnr-editorial-section,
.tnr-after-content-area { margin-top: 3rem; }

.tnr-editorial-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tnr-editorial-card {
  background: #fff;
  box-shadow: 0 0.35rem 1rem rgba(5, 6, 9, 0.07);
}

.tnr-editorial-card-image img { aspect-ratio: 16 / 9; }

.tnr-after-content-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tnr-after-content-card {
  border-bottom: 1px solid var(--tnr-border);
  padding: 0.75rem 0;
}

.tnr-after-content-card h3 { font-family: Georgia, serif; margin: 0.25rem 0 0; }

.tnr-topbar,
.tnr-primary-navigation,
.tnr-header-widgets {
  background: #0e0e11;
  color: #fff;
}

.tnr-topbar { line-height: 1; }
.tnr-branding-row { background: #fff; }
.tnr-branding-inner { min-height: 212px; }
.tnr-branding .custom-logo { display: block; height: auto; max-height: 212px; max-width: 300px; width: auto; }
.tnr-site-title { font-family: Georgia, serif; font-size: clamp(2rem, 6vw, 4rem); font-weight: 700; }
.tnr-header-menu { align-self: center; }
.tnr-header-widgets { line-height: 1; margin-top: -38px; }
.tnr-header-widgets .widget { margin: 0; }

.tnr-header-recent-widget {
  background: #181e2b;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 15px 0;
  position: relative;
  z-index: 1;
}

.tnr-header-recent-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tnr-header-recent-card {
  background: rgba(0, 0, 0, .2);
  min-width: 0;
  overflow: hidden;
}

.tnr-header-recent-image {
  display: block;
  overflow: hidden;
}

.tnr-header-recent-image img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  width: 100%;
}

.tnr-header-recent-content { padding: 10px; }
.tnr-header-recent-content .tnr-post-meta { color: #b7c0ca; }
.tnr-header-recent-content h2 {
  font-family: "Nunito Sans", Arial, sans-serif !important;
  font-size: 16px;
  line-height: 21px;
  margin: 0;
}
.tnr-header-recent-content h2 a { color: #fff; }

.tnr-primary-navigation,
.tnr-primary-navigation .sub-menu {
  position: relative;
  z-index: 100000;
}

@media (max-width: 768px) {
  .tnr-header-recent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tnr-header-recent-content h2 { font-size: 14px; line-height: 19px; }
}

.tnr-banner-widget {
  margin: 0 auto 1rem;
  max-width: 729px;
  text-align: center;
}

.tnr-banner-widget img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
  width: 729px;
}

.tnr-footer-widgets {
  background: #0e0e11;
  color: #fff;
  padding: 3rem 0 2rem;
}

.tnr-footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tnr-footer-column .widget,
.tnr-footer-fallback .widget { margin: 0; }
.tnr-footer-column a,
.tnr-footer-fallback a { color: #fff; }
.tnr-footer-column .widget-title,
.tnr-footer-fallback .widget-title { color: var(--tnr-orange); }
.tnr-footer-column ul,
.tnr-footer-fallback ul { list-style: none; margin: 0; padding: 0; }
.tnr-footer-column li,
.tnr-footer-fallback li { border-bottom: 1px solid rgba(255,255,255,.12); padding: .45rem 0; }

.tnr-back-to-top-area {
  background: #17171b;
  padding: .7rem 0;
  text-align: center;
}

.tnr-back-to-top { color: #fff; font-weight: 700; }
.tnr-back-to-top span { margin-left: .35rem; }

.tnr-footer-bottom {
  background: #09090b;
  color: #fff;
  padding: 1rem 0;
}

.tnr-footer-inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.tnr-footer-inner p { margin: 0; }
.tnr-menu-footer { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.tnr-menu-footer a { color: #fff; }

body { font-family: "Nunito Sans", Arial, sans-serif; }

.tnr-menu,
.tnr-post-meta,
.tnr-entry-categories,
.tnr-post-excerpt,
.tnr-entry-content,
.tnr-copyright,
.tnr-contact-widget,
.tnr-footer-column,
.tnr-sidebar,
.tnr-widget,
.tnr-section-link {
  font-family: "Nunito Sans", Arial, sans-serif;
}

.tnr-site-title {
  font-family: "Cinzel Decorative", "Cinzel", Georgia, serif;
}

.tnr-section-title,
.tnr-featured-title,
.tnr-entry-title,
.tnr-recent-post-title,
.tnr-editorial-card-title,
.tnr-after-content-card h3,
.tnr-widget-title,
.widget-title,
.tnr-footer-column .widget-title {
  font-family: "Cinzel", Georgia, serif;
}

/* Tipografia e estrutura consolidadas a partir do Newspaper X + Microthemer */
html body,
html body p,
html body li,
html body button,
html body input,
html body textarea,
html body select,
html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6,
html body .tnr-section-title,
html body .tnr-featured-title,
html body .tnr-entry-title,
html body .tnr-recent-post-title,
html body .tnr-editorial-card-title,
html body .tnr-after-content-card h3 {
  font-family: "Nunito Sans", Arial, sans-serif !important;
}

html body .tnr-site-title,
html body .tnr-header-menu a,
html body .tnr-menu-primary a,
html body .tnr-menu-footer a {
  font-family: "Cinzel Decorative", "Cinzel", Georgia, serif !important;
}

html body .tnr-widget-title,
html body .widget-title,
html body .tnr-footer-column .widget-title,
html body .tnr-home-sidebar .widget-title {
  font-family: "Cinzel", Georgia, serif !important;
}

.tnr-primary-navigation {
  background-color: rgb(24, 30, 43);
  height: 56px;
  margin-bottom: 80px;
}

.tnr-primary-navigation .tnr-container {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, 0));
  border-bottom: 1px solid rgba(51, 51, 51, .3);
}

.tnr-header-menu a,
.tnr-menu-primary a,
.tnr-menu-footer a {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 15px;
  text-transform: capitalize;
}

.tnr-header-menu a:hover,
.tnr-menu-primary a:hover,
.tnr-menu-footer a:hover {
  color: rgb(255, 93, 0);
  text-shadow: 0 0 30px rgb(255, 93, 0);
}

.tnr-primary-navigation .sub-menu a {
  background-color: rgba(24, 30, 43, .8);
}

.tnr-home-content {
  align-items: start;
  gap: 30px;
  grid-template-columns: minmax(0, 770px) minmax(0, 350px);
}

.tnr-home-main {
  min-width: 0;
  width: 100%;
}

.tnr-home-sidebar {
  min-width: 0;
  width: 100%;
}

.tnr-site-main {
  background: #f7f7f7;
  padding-bottom: 60px;
}

.tnr-module-post-image,
.tnr-module-card-image {
  background: #e8eaed;
  display: block;
  overflow: hidden;
}

.tnr-module-post-image img,
.tnr-module-card-image img {
  object-position: 50% 50%;
}

.tnr-container {
  max-width: 1184px;
  padding-left: 15px;
  padding-right: 15px;
}

html body {
  color: #001936;
}

html body p {
  color: #8c9597;
  font-size: 15px;
  font-weight: 400;
  line-height: 25px;
}

html body a {
  color: #0a396d;
  line-height: 26px;
  text-decoration: none;
}

html body a:hover,
html body a:focus {
  color: #0e649b;
  text-decoration: none;
}

.tnr-section-heading {
  margin-bottom: 25px;
  margin-top: 65px;
  position: relative;
}

.tnr-section-heading::after {
  border-bottom: 1px dotted #b7b7b7;
  content: "";
  display: block;
  position: absolute;
  right: 0;
  top: 15px;
  width: 100%;
}

.tnr-section-title {
  background: #fff;
  border-left: 5px solid #0f5fa3;
  color: #001936;
  display: inline-block;
  font-size: 24px;
  font-weight: 900;
  line-height: 30px;
  margin: 0;
  padding: 2px 18px;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.tnr-home-sidebar {
  background: #fff;
  border-top: 5px solid #0f5fa3;
  padding: 15px;
}

.tnr-home-banner-area img {
  max-width: 728px;
}

.tnr-widget-posts { margin-bottom: 3rem; }

.tnr-section-title::before {
  color: #0f5fa3;
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: .72em;
  margin-right: .55rem;
  vertical-align: .08em;
}

.tnr-module-recent .tnr-section-title::before { content: "◆"; }
.tnr-module-tecnologia .tnr-section-title::before { content: "⚙"; }
.tnr-module-nas-telas .tnr-section-title::before { content: "▶"; }
.tnr-module-telonas .tnr-section-title::before { content: "◆"; }
.tnr-module-games .tnr-section-title::before { content: "✦"; }
.tnr-after-content-area .tnr-section-title::before { content: "✦"; }

.tnr-widget-posts + .tnr-widget-posts {
  margin-top: 1rem;
}

.tnr-hero-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.tnr-hero-post {
  background: linear-gradient(135deg, #181e2b 0%, #2e405a 55%, #0e649b 100%);
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.tnr-hero-post-main,
.tnr-hero-post-side {
  min-height: 220px;
}

.tnr-hero-post-main {
  min-height: 460px;
}

.tnr-hero-post-placeholder {
  background:
    radial-gradient(circle at 25% 25%, rgba(255, 93, 0, .34), transparent 28%),
    linear-gradient(135deg, #181e2b 0%, #2e405a 55%, #0e649b 100%);
  height: 100%;
  min-height: inherit;
}

.tnr-hero-post-placeholder::before {
  color: rgba(255, 255, 255, .2);
  content: "TAVERNANERD";
  font-family: "Cinzel Decorative", "Cinzel", Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 3rem);
  left: 50%;
  position: absolute;
  top: 42%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.tnr-branding-row {
  min-height: 64px;
}

.tnr-branding-inner {
  min-height: 64px;
}

.tnr-branding .custom-logo {
  max-height: 120px;
}

.tnr-primary-navigation {
  margin-bottom: 28px;
  min-height: 0;
}

.tnr-hero-post-main { grid-row: 1 / span 2; }

.tnr-hero-post-image,
.tnr-hero-post-image img {
  display: block;
  height: 100%;
  width: 100%;
}

.tnr-hero-post-image img {
  object-fit: cover;
  object-position: center;
}

.tnr-hero-post::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, 0) 68%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.tnr-hero-post-overlay {
  bottom: 0;
  color: #fff;
  left: 0;
  padding: 22px;
  position: absolute;
  right: 0;
  z-index: 2;
}

.tnr-hero-post-overlay .tnr-post-meta,
.tnr-hero-post-overlay .tnr-entry-categories { color: #d8e0e8; }
.tnr-hero-post-title {
  font-family: "Nunito Sans", Arial, sans-serif !important;
  font-size: clamp(1.1rem, 2.5vw, 2rem);
  line-height: 1.15;
  margin: 5px 0 0;
}

.tnr-hero-post-side .tnr-hero-post-overlay { padding: 14px; }
.tnr-hero-post-side .tnr-hero-post-title { font-size: 1.1rem; }
.tnr-hero-post-overlay a { color: #fff; }

@media (max-width: 768px) {
  .tnr-hero-grid { display: block; }
  .tnr-hero-post { min-height: 260px; margin-bottom: 15px; }
  .tnr-hero-post-main { min-height: 360px; }
}

.tnr-layout-a-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 2fr) minmax(13rem, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.tnr-module-post,
.tnr-module-card {
  background: #fff;
  border-bottom: 3px solid var(--tnr-orange);
  box-shadow: 0 .35rem 1rem rgba(5, 6, 9, .07);
  overflow: hidden;
}

.tnr-module-featured { grid-row: 1 / span 2; }
.tnr-module-secondary { display: grid; grid-template-columns: 9rem minmax(0, 1fr); }
.tnr-module-post-image img,
.tnr-module-card-image img {
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.tnr-module-featured .tnr-module-post-image img { aspect-ratio: 16 / 9; }
.tnr-module-secondary .tnr-module-post-image img { height: 100%; min-height: 9rem; }
.tnr-module-post-content,
.tnr-module-card-content { padding: 1rem; }
.tnr-module-post-title,
.tnr-module-card-title { line-height: 1.2; margin: .35rem 0 0; }

.tnr-module-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tnr-layout-b .tnr-module-card:first-child,
.tnr-layout-c .tnr-module-card:first-child { grid-column: span 2; }
.tnr-module-card-image img { aspect-ratio: 16 / 9; }

@media (max-width: 768px) {
  .tnr-layout-a-grid,
  .tnr-module-grid { display: block; }
  .tnr-module-post,
  .tnr-module-card { margin-bottom: 1.25rem; }
  .tnr-module-secondary { display: block; }
  .tnr-module-secondary .tnr-module-post-image img { height: auto; min-height: 0; }
}

.tnr-home-sidebar {
  background: #fff;
  border-top: 3px solid var(--tnr-orange);
  padding: 1rem;
}

.tnr-home-sidebar .widget-title,
.tnr-home-sidebar h3 {
  color: var(--tnr-orange);
  font-family: "Cinzel", Georgia, serif !important;
}

.tnr-home-sidebar ul,
.tnr-home-sidebar .wp-block-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tnr-home-sidebar li {
  border-bottom: 1px solid var(--tnr-border);
  padding: .55rem 0;
}

.tnr-home-banner-area {
  margin: 1.5rem 0;
}

.tnr-home-banner-area .tnr-banner-widget,
.tnr-home-banner-area .widget {
  margin-bottom: 1rem;
}

.tnr-home-banner-area img {
  display: block;
  height: auto;
  margin-inline: auto;
  max-width: 729px;
  width: 100%;
}

.tnr-footer-column .post-date,
.tnr-home-sidebar .post-date {
  color: #777;
  display: block;
  font-size: .8rem;
  margin-top: .2rem;
}

.tnr-social-labels {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .tnr-container { width: min(100% - 1.25rem, var(--tnr-content-width)); }

  .tnr-branding-inner,
  .tnr-content-layout,
  .tnr-home-content,
  .tnr-post-card,
  .tnr-featured-card,
  .tnr-section-grid,
  .tnr-recent-posts-grid,
  .tnr-editorial-grid,
  .tnr-after-content-grid,
  .tnr-footer-grid {
    display: block;
  }

  .tnr-recent-post,
  .tnr-editorial-card,
  .tnr-after-content-card,
  .tnr-footer-column {
    margin-bottom: 1.25rem;
  }

  .tnr-recent-post-secondary {
    display: block;
  }

  .tnr-recent-post-secondary .tnr-recent-post-image img {
    height: auto;
    min-height: 0;
  }

  .tnr-banner-widget img {
    width: 100%;
  }

  .tnr-footer-inner {
    display: block;
  }

  .tnr-footer-navigation {
    margin-top: 1rem;
  }

  .tnr-menu-footer {
    gap: .6rem 1rem;
  }

  .tnr-header-menu,
  .tnr-social-menu { display: none; }
  .tnr-topbar-inner { justify-content: center; }

  .tnr-menu-toggle { display: flex; }
  .tnr-menu-primary {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 0.75rem;
  }

  .tnr-primary-navigation.is-open .tnr-menu-primary { display: flex; }
  .tnr-menu-primary li,
  .tnr-menu-primary a { width: 100%; }
  .tnr-menu-primary a { padding: 0.65rem 0; }

  .tnr-post-card-image { display: block; margin-bottom: 1rem; }
  .tnr-featured-image img { aspect-ratio: 16 / 9; height: auto; }
  .tnr-section-card { margin-bottom: 1.25rem; }
  .tnr-sidebar { margin-top: 2rem; }
}

/* Ajuste final do cabeçalho e do hero, aplicado após as regras anteriores. */
.tnr-branding-row {
  background: #181e2b !important;
  min-height: 76px !important;
  padding: 0 !important;
}

.tnr-branding-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  min-height: 76px !important;
  position: relative;
}

.tnr-branding {
  left: auto !important;
  position: static !important;
  text-align: center;
  transform: none !important;
}

.tnr-site-title {
  color: #fff !important;
  font-size: clamp(1.35rem, 3vw, 2.25rem) !important;
  line-height: 1.1;
  padding: 20px 12px !important;
  white-space: nowrap;
}

.tnr-header-menu-left,
.tnr-header-menu-right {
  align-self: center;
  min-width: 0;
}

.tnr-header-menu-left { justify-self: start; }
.tnr-header-menu-right { justify-self: end; }
.tnr-header-menu a { color: #fff !important; padding: 20px 9px !important; }
.tnr-primary-navigation { display: none !important; }

.tnr-home-content {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 1184px;
}

.tnr-home-main { width: 100%; }
.tnr-hero-grid {
  grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
  width: 100%;
}

@media (max-width: 768px) {
  .tnr-branding-inner { grid-template-columns: 1fr !important; }
  .tnr-branding { order: -1; }
  .tnr-header-menu-left,
  .tnr-header-menu-right { justify-self: center; }
  .tnr-hero-grid { display: block; }
}

/* Submenus do cabeçalho histórico */
.tnr-header-menu-left > .tnr-menu,
.tnr-header-menu-right > .tnr-menu {
  align-items: center;
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tnr-header-menu li { position: relative; }
.tnr-header-menu .sub-menu {
  background: #181e2b !important;
  border-top: 3px solid #ff5d00;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .28);
  display: none !important;
  left: 0;
  list-style: none;
  margin: 0;
  min-width: 230px;
  opacity: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease;
  visibility: hidden;
  z-index: 100000;
}

.tnr-header-menu li:hover > .sub-menu,
.tnr-header-menu li:focus-within > .sub-menu {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.tnr-header-menu .sub-menu li { display: block; width: 100%; }
.tnr-header-menu a,
.tnr-menu-primary a,
.tnr-menu-footer a,
.tnr-header-menu .sub-menu a {
  font-family: "Cinzel Decorative", "Cinzel", Georgia, serif !important;
}

.tnr-header-menu .sub-menu a {
  color: #fff !important;
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.3;
  padding: 10px 14px !important;
  text-transform: capitalize;
  white-space: nowrap;
}

.tnr-header-menu .sub-menu a:hover,
.tnr-header-menu .sub-menu a:focus {
  background: #ff5d00;
  color: #fff !important;
}

@media (max-width: 768px) {
  .tnr-header-menu .sub-menu {
    left: 50%;
    transform: translate(-50%, 6px);
  }
  .tnr-header-menu li:hover > .sub-menu,
  .tnr-header-menu li:focus-within > .sub-menu {
    transform: translate(-50%, 0);
  }
}