 * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Open Sans', sans-serif;
      list-style: none;
    }

    body {
      overflow-x: hidden;
      position: relative;
    }
    
    a {text-decoration: none;}

    html, body {
      width: 100%;
      color: #111;
    font-size: 14px;
    line-height: 22px;
    background-color: var(--cor-principal);
    }

    header {
      background-color:var(--cor-header);
      color: white;
      padding: 1rem ;
    }
    .container {
      max-width: 1140px;
      width: 100%;
      margin: 0 auto;
      padding:0 1rem ;
    }
    .pgcontainer {background: #fff;border-radius: 10px;padding: 20px}
    .menu-header {
            display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 100;
      position: relative; /* NÃO FIXO, rola com a página */
    }

    .logo {
      font-size: 1.8rem!important;
      font-weight: bold;
      display: flex;
      align-items: center;
    }
    
    .hamburger-icon {
        height: 24px;
    }

    .logo img {
      width: 100%;
      height: 40px;
      margin-right: 10px;
    }

    .nav-container {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }

    .nav-links {
      display: flex;
      gap: 1.5rem;
    }

    .nav-links li  {
      color: white;
      text-decoration: none;
      list-style: none;
    }
    .nav-links a {
      color: white;
      text-decoration: none;
      transition: color 0.3s;
      font-size: 15px;
    font-weight: 400;
    }

    .nav-links a:hover {
      color: var(--cor-btn-botao-hover);
    }

    .menu-btn {
      background-color: var(--cor-btn-botao);
      color: var(--cor-texto-botao);
      border: 1px solid #fff;
      padding: 0.5rem 1rem;
      border-radius: 4px;
      cursor: pointer;
      transition: background-color 0.3s;
      
    }

    .menu-btn:hover {
      background-color: var(--cor-btn-botao-hover);
    }

        .search-container {
        position: relative;
        display: flex;
        align-items: center;
        z-index: 102; /* Fica por cima do overlay e do menu */
        }

    .search-icon {
      color: white;
      font-size: 1.2rem;
      cursor: pointer;
      padding: 0.5rem;
      height: 38px;
    }

.search-input {
  position: absolute;
  right: 0;
  width: 0;
  padding: 0;
  border: none;
  border-radius: 20px;
  background-color: #34495e;
  color: white;
  transition: all 0.3s ease-in-out;
  outline: none;
  z-index: 103;
}


    .custom-logo-link {
      list-style: none;
      text-decoration: none;
      color: #fff;
    }

    .search-input.active {
      width: 200px;
      padding: 0.5rem 1rem;
      z-index: 1;
    }
    .hamburger {
      display: none;
      cursor: pointer;
      font-size: 1.5rem;
      z-index: 101;
    }

    /* Menu lateral mobile - AGORA DO LADO ESQUERDO */
    .mobile-menu {
      position: fixed;
      top: 0;
      left: -100%;
      width: 80%;
      max-width: 300px;
      height: 100vh;
      background-color: var(--cor-header);
      transition: left 0.3s ease-out;
      z-index: 99;
      padding: 5rem 2rem 2rem;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .mobile-menu.active {
      left: 0;
      z-index: 1000;
    }

    .mobile-menu a {
      color: white;
      text-decoration: none;
      padding: 0.5rem 0;
      border-bottom: 1px solid #2c3e50;
    }
    .mobile-nav {
      line-height: 36px;
    }
    .mobile-menu li {
      list-style: none;
    }
    .mobile-menu .menu-btn {
      width: 100%;
      margin-top: 1rem;
    }

    .mobile-search-container {
      margin-top: 2rem;
      display: flex;
      align-items: center;
      background-color: #2c3e50;
      border-radius: 4px;
    }

    .mobile-search-container input {
        flex: 1;
        background: transparent;
        border: none;
        color: white;
        padding: 0.5rem;
        outline: none;
        border-left: 1px solid #eeeeee29;
        border-top: 1px solid #eeeeee29;
        border-bottom: 1px solid #eeeeee29;
        border-radius: 3px 0px 0px 3px;
    }

    .mobile-search-icon {
        border: 0;
    background: var(--cor-btn-botao);
    border-radius: 0px 3px 3px 0px;
    height: 36px;
    width: 38px;
    cursor: pointer;
    }

    .mobile-search-icon svg {
        width: 25px;
    padding: 4px 5px 0px 5px;
    }
     
    .mobile-search-container {display: none;}

    @media (max-width: 800px){
        .mobile-search-container {display: flex;align-items: center;}
        .search-container {display: none;}
        .mobile-search-container form {
            width: 100%;
        }
    }

    #searchIcon {
        background: transparent;
        border: 0;
        z-index: 2;
        margin-bottom: -5px;
        margin-right: 5px;
        cursor: pointer;
        }

    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 98;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s, visibility 0.3s;
    }

    .overlay.active {
      opacity: 1;
      visibility: visible;
    }

    @media (max-width: 768px) {
      .hamburger {
        display: block;
      }

      .nav-container {
        display: none;
      }
    }

/*

Conteudo lista de posts

*/


.posts-section {
  padding: 4rem 0;
}

.posts-section h1 {
  text-align: center;
  color: #333;
}

.tlindex {
    font-size: 26px;
    font-weight: 900;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(253px, 1fr));
    gap: 1rem;
}

.post-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  cursor: pointer;
    position: relative;

}

.post-card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
}

.catgrupo {
    padding: 5px;
    margin-top: 10px;
    color: #868686;
    margin-bottom: 15px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}
.catgrupo a {
    color: #868686;
}
.catgrupo svg {
    margin-right: 6px;
}


.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.5);
}

.post-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.post-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

.post-content h2 {
    font-size: 16px;
    padding: 0 5px;
    color: #242424;
    font-weight: 400;
}

.img-grupo {
    width: 130px;
    height: 130px;
    margin: auto;
    margin-top: 25px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.post-content p {
    color: #666;
    margin-bottom: 1.2rem;
    text-align: center;
}

.btn-read-more {
position: relative;
    z-index: 2;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--cor-texto-botao);
    text-decoration: none;
    transition: color 0.3s;
    border-radius: 5px;
    background: var(--cor-btn-botao);
    text-align: center;
    padding: 6px 6px 6px 6px;
    display: flex;
    justify-content: center;
}

.btn-read-more svg {
  margin-left: 5px;
  margin-top: -4px;
}


.btn-read-more:hover {
  color: #fff;
    background: var(--cor-btn-botao-hover);
}    

footer {
  background: var(--cor-header);
}
footer p, 
footer a,
footer li {
    color: #fff!important;
}

.ctfooter {
    padding-top: 25px;
}

footer h2 {
    color: #fff!important;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px;
    padding: 0 0 4px;
    position: relative;
    text-transform: uppercase;
}

.divfooter {
    border-top: 1px solid #eeeeee2b;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    margin-top: 25px;
}


/*
Paginas login/cadastro
*/

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
}

.login-title {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-success {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
}

.login-links {
    text-align: center;
    margin-top: 15px;
}

.login-links a {
    color: #0073aa;
    text-decoration: none;
}

/* login */
/* Login Container */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-color: #f8f9fa;
    background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.login-box {
    width: 100%;
    margin: 25px 0;
    max-width: 450px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
    padding: 40px;
    animation: fadeIn 0.5s ease;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.login-header p {
    color: #7f8c8d;

}

/* Form Styles */
.login-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s;
}

.input-with-icon input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #95a5a6;
    cursor: pointer;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.remember-me input {
    margin-right: 8px;
}

.forgot-password {
    color: #3498db;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Login Button */
.login-button {
    width: 100%;
    padding: 14px;
    background-color: var(--cor-btn-botao);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-button:hover {
    background-color: var(--cor-btn-botao-hover);
}

/* Error Message */
.login-error {
    background-color: #fdecea;
    color: #d32f2f;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-footer {
    text-align: center;
    margin-top: 25px;
    color: #7f8c8d;
}

.login-footer a {
    color: #3498db;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
    }
}

/* cadastro */
/* Register Container */
.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-color: #f8f9fa;
    background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.register-box {
    width: 100%;
    max-width: 500px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
    padding: 40px;
    animation: fadeIn 0.5s ease;
}

.register-header {
    text-align: center;
    margin-bottom: 30px;
}

.register-header h2 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.register-header p {
    color: #7f8c8d;
}

.register-header a {
    color: #3498db;
    text-decoration: none;
}

.register-header a:hover {
    text-decoration: underline;
}

/* Form Styles */
.register-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s;
}

.input-with-icon input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #95a5a6;
    cursor: pointer;
}

/* Register Button */
.register-button {
    width: 100%;
    padding: 14px;
    background-color: var(--cor-btn-botao);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.register-button:hover {
    background-color: var(--cor-btn-botao-hover);
}

/* Error Message */
.register-error {
    background-color: #fdecea;
    color: #d32f2f;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Terms */
.register-terms {
    text-align: center;
    margin-top: 25px;
    color: #7f8c8d;
}

.register-terms a {
    color: #3498db;
    text-decoration: none;
}

.register-terms a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    .register-box {
        padding: 30px 20px;
    }
}


/* minha conta */
/* Estilos da Minha Conta */
.painel-usuario {
    padding: 30px 0;
}

.minha-conta-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .minha-conta-container {
        grid-template-columns: 1fr;
    }
}

/* Menu Lateral */
.menu-minha-conta {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px;
}

.menu-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-lista li {
    margin-bottom: 5px;
}

.menu-lista a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.menu-lista a:hover {
    background-color: #f5f5f5;
}

.menu-lista a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.menu-lista li.active a {
    background-color: var(--cor-btn-botao);
    color: white;
}

.menu-lista li.active a:hover {
    background-color: var(--cor-btn-botao-hover);
}

/* Conteúdo Principal */
.conteudo-conta {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Formulários */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-control:focus {
    border-color: var(--cor-btn-botao);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--cor-btn-botao-rgb), 0.1);
}

textarea.form-control {
    min-height: 120px;
}

.btn-primary {
    background-color: var(--cor-btn-botao);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: var(--cor-btn-botao-hover);
}

.btn-primary i {
    margin-right: 8px;
}

/* Alertas */
.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Dados do Usuário */
.dados-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    max-width: 500px;
}

.dados-row {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.dados-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.dados-label {

    width: 150px;
    color: #555;
}

.dados-value {
    flex: 1;
}

/* Tabs de Grupos */
.grupos-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    color: #555;
}

.tab-btn.active {
    color: var(--cor-btn-botao);
    border-bottom-color: var(--cor-btn-botao);
}

/* Cards de Grupo */
.card-grupo {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.card-grupo:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.card-grupo-imagem {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.card-grupo-conteudo h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.card-grupo-meta {
    color: #666;
    margin-bottom: 10px;
}

.card-grupo-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
}

.status-pendente {
    background-color: #fff3cd;
    color: #856404;
}

.status-publicado {
    background-color: #d4edda;
    color: #155724;
}

/* Preview de Imagem */
#imagem-preview {
    margin-top: 10px;
}

#imagem-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 4px;
}

/* Responsivo */
@media (max-width: 576px) {
    .card-grupo {
        grid-template-columns: 1fr;
    }
    
    .dados-row {
        flex-direction: column;
    }
    
    .dados-label {
        width: 100%;
        margin-bottom: 5px;
    }
}

/* css pagina minha conta */
  /* ============ ESTILOS GERAIS ============ */
.minha-conta-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .minha-conta-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ============ MENU LATERAL ============ */
.menu-conta {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 20px;
    height: fit-content;
}

.menu-conta ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-conta li {
    margin-bottom: 8px;
}

.menu-conta a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #4a5568;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-conta a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: #718096;
}

.menu-conta a:hover {
    background: #f7fafc;
    color: #2d3748;
}

.menu-conta li.active a {
    background: var(--cor-btn-botao);
    color: white;
}

.menu-conta li.active a i {
    color: white;
}

.menu-conta li.active a:hover {
    background: var(--cor-btn-botao-hover);
}

/* ============ CARDS PRINCIPAIS ============ */
.conteudo-conta .card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
    border: none;
}

.conteudo-conta .card h2 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #2d3748;
    display: flex;
    align-items: center;
}

.conteudo-conta .card h2 i {
    margin-right: 10px;
    color: var(--cor-btn-botao);
}

/* ============ FORMULÁRIOS ============ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #4a5568;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s;
    background: #f8fafc;
}

.form-control:focus {
    border-color: var(--cor-btn-botao);
    box-shadow: 0 0 0 3px rgba(var(--cor-btn-botao-rgb), 0.1);
    outline: none;
    background: #fff;
}

textarea.form-control {
    min-height: 150px;
}

/* ============ BOTÕES ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background: var(--cor-btn-botao);
    color: white;
}

.btn-primary:hover {
    background: var(--cor-btn-botao-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--cor-btn-botao-rgb), 0.2);
}

/* ============ TABS DE GRUPOS ============ */
.grupos-tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: #718096;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    color: var(--cor-btn-botao);
    border-bottom-color: var(--cor-btn-botao);
}

/* ============ CARDS DE GRUPO ============ */
.grupo-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.grupo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.grupo-content {
    display: flex;
    gap: 20px;
}

.grupo-thumbnail {
    flex: 0 0 60px;
}

.grupo-thumbnail img {
    width: 100%;
    height: 60px;
    border-radius: 100%;
    object-fit: cover;
}

.grupo-details {
   display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

@media (max-width: 800px){
    .grupo-details {
        display: block;
    }
}

.grupo-details-int {
    align-items: center;
    display: flex;
}

.grupo-descricao {
    color: #4a5568;
    margin-bottom: 15px;
}

.grupo-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #f7fafc;
    color: var(--cor-btn-botao);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
}

.grupo-link:hover {
    background: var(--cor-btn-botao);
    color: white;
}

.grupo-link i {
    margin-right: 6px;
}

.grupo-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    margin-left: 10px;
}

.grupo-status.pending {
    background: #fffaf0;
    color: #dd6b20;
}

.grupo-status.approved {
    background: #f0fff4;
    color: #38a169;
}

/* ============ DADOS DO USUÁRIO ============ */
.dados-usuario p {
    padding: 12px 0;
    border-bottom: 1px solid #edf2f7;
    margin: 0;
    display: flex;
}

.dados-usuario p strong {
    min-width: 120px;
    color: #4a5568;
}

/* ============ ALERTAS ============ */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid transparent;
}

.alert-success {
    background: #f0fff4;
    color: #38a169;
    border-color: #c6f6d5;
}

.alert-danger {
    background: #fff5f5;
    color: #e53e3e;
    border-color: #fed7d7;
}

/* ============ PREVIEW DE IMAGEM ============ */
#imagem-preview {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    margin-top: 10px;
    border: 2px dashed #e2e8f0;
    display: block;
}

/* ========== paginação ============== */

/* Estilo da paginação */
.pagination-container {
    width: 100%;
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

.pagination-container ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.pagination-container li {
    margin: 0;
}

.pagination-container a,
.pagination-container span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-container a {
    color: #333;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
}

.pagination-container a:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pagination-container .current {
    color: white;
    background-color: var(--cor-btn-botao);
    border-color: var(--cor-btn-botao);
}

.pagination-arrow {
    display: flex;
    margin-top: -5px;
    align-items: center;
    justify-content: center;
}

/* Responsivo */
@media (max-width: 600px) {
    .pagination-container a,
    .pagination-container span {
        width: 36px;
        height: 36px;
    }
}

.single-grupo-categories{
    margin-top: 22px;
}
.single-grupo-categories svg {
    margin-bottom: -3px;
}

.single-grupo-categories a {
    background-color: #ddd;
    color: #000; 
    margin: 0 5px 5px 0;
    padding: 2px 8px;
    border-radius: 3px;
    text-decoration: none;
}


/* ========== pagina single  ============== */

.single-grupo-thumbnail img {
    width: 140px;
    border-radius: 100%;
    height: 140px;
}
.single-grupo-thumbnail {text-align: center;    margin-top: 25px;}

.single-grupo-title {
    text-transform: uppercase;
    margin-top: 20px;
}

/* Container Flexível */
.post-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Conteúdo principal ocupa mais espaço */
.single-grupo-container {
  flex: 3;
  min-width: 280px;
}

/* Sidebar ocupa menos espaço */
.sidebar {
  flex: 1;
  min-width: 250px;
}

/* Responsivo para telas pequenas */
@media (max-width: 768px) {
  .post-layout {
    flex-direction: column;
  }

  .sidebar {
    order: 2;
  }

  .single-grupo-container {
    order: 1;
  }
}

.single-grupo-button-container a {
    background: var(--cor-btn-botao);
    display: block;
    border-radius: 5px;
    padding: 6px 10px;
    text-align: center;
    color: var(--cor-texto-botao);
    text-decoration: none;
}
.single-grupo-button-container a:hover{
    background: var(--cor-btn-botao-hover);
}
.single-grupo-meta {
        list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    padding: 15px 0;
}
.single-grupo-meta li {
        display: inline-block;
    margin: 0 5px 4px;
    color: #555;
    text-transform: uppercase;
    font-size: 13px!important;
}
.single-grupo-content {margin-bottom: 20px;}


.posts-grid-single {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}
.posts-recomendados {
    margin-top: 30px;
    border-top: 1px solid #f9f9f9;
    padding-top: 10px;
}

/* sidebar */
.sidebar h2 {
    border-bottom: 2px #efefef solid;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px;
    padding: 0 0 4px;
    position: relative;
    text-transform: uppercase;
}

.sidebar h2:after {
    position: absolute;
    content: "";
    bottom: -2px;
    left: 0;
    height: 2px;
    width: 25%;
    background-color: var(--cor-btn-botao);
}

.regras-grupo-container{
    margin-bottom: 20px;
}

.headerinfo {
     display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 28px;
}

@media (max-width: 600px){
    .headerinfo {display: block;}
    .tlindex {margin-bottom: 18px}
    .inforthu {
        margin-bottom: 25px;
        align-items: center;
        display: flex;
        flex-direction: column-reverse;
    }
    .btn-personalizado {
        margin-bottom: 20px;
        padding: 10px 20px !important;
        text-align: center;
        width: 100%;
        margin-left: 0px !important;
    }
    .dropdown-categorias {display: contents;}
    .dropdown-categorias select {padding: 10px 15px!important;}
}

.dropdown-categorias {
  max-width: 300px;
}

.dropdown-categorias label {
  font-size: 14px;
  color: #333;
  margin-bottom: 6px;
  display: block;
}

.dropdown-categorias select {
    width: 100%;
    padding: 5px 15px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    }

.dropdown-categorias select:hover {
  border-color: #999;
}

.dropdown-categorias select:focus {
  border-color: #007BFF;
  box-shadow: 0 0 0 2px rgba(0,123,255,0.15);
}

.inforthu {
    display: flex;
    align-items: center;
}



.menu-itens-rodape {
    display: flex;
    justify-content: center;
}
.menu-itens-rodape li {
    padding: 10px;
}
.menu-rodape{
    margin-top: 19px;
}