/* ===============================
   RESET BÁSICO
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: #f5f5f5;
  color: #222;
}

/* ===============================
   CONTAINER
================================ */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ===============================
   HEADER
================================ */
.site-header {
  background: #006400;
  color: #fff;
  padding: 15px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Branding (logo + nome) */

/* Logo WordPress (the_custom_logo) */
.custom-logo-link img,
.custom-logo {
  max-height: 100px !important;
  width: auto !important;
}

/* Garante alinhamento */
.custom-logo-link {
  display: flex;
  align-items: center;
}

.site-title {
  margin-left: 12px;   /* espaço entre logo e nome */
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  color: #fff;
}

.branding {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.logo img {
  max-height: 70px;
  width: auto;
}


/* Nome do site */
.site-title {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

/* ===============================
   MENU
================================ */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===============================
   CONTEÚDO
================================ */
main {
  padding: 30px 0;
}

/* Notícias */
.post {
  background: #fff;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.post h2,
.post h1 {
  margin-bottom: 10px;
  color: #006400;
}

.post p {
  margin-bottom: 10px;
}

/* ===============================
   GALERIA
================================ */
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.galeria img {
  width: 100%;
  border-radius: 6px;
}

/* ===============================
   TABELAS (CAMPEONATO)
================================ */
.table-responsive {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

table th,
table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: center;
}

table th {
  background: #006400;
  color: #fff;
}

/* ===============================
   FOOTER
================================ */
.site-footer {
  background: #006400;
  color: #fff;
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #00ff7f;
}

/* ===============================
   RESPONSIVO
================================ */
@media (max-width: 768px) {

  .site-header .container {
    flex-direction: column;
    gap: 15px;
  }

  .logo img {
    max-height: 65px;
  }

  .site-title {
    display: none;
    text-align: center;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  main {
    padding: 20px 0;
  }
    
}
