/* -----------------------------
   SINGLE GLOSSARY PAGE STYLES
------------------------------ */
/* Single Glossary Template Styles */
.site-content {background: #ccc;}

.site-main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 50px;
    background: #f7f7f7;
    border-radius: 20px;
    overflow: hidden;
}

h1.entry-title {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-align: center;
}
.glossary-section h2 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.meta {
    display: flex;
    justify-content: space-between;
    max-width: 70%;
    margin: 0 auto;
    align-items: center;
}

.glossary-categories ul {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.glossary-categories li a {
    display: block;
    padding: 8px 15px;
    background: #eef4ff;
    color: var(--rugwp-primary-color, #398ffc);
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.glossary-categories li a:hover {
    background: var(--rugwp-primary-color, #398ffc);
    color: #fff;
}

.glossary-keyword {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}



section.glossary-section {
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 20px 50px;
    margin-top: 20px;
}

.glossary-definition {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

/* References - Estilo moderno para links externos */
section.glossary-references {
    background: slategrey;
    margin: 0 -50px -50px;
    padding: 20px 96px;
    margin-top: 30px;
    border-radius: 0 0 20px 20px;
}
.glossary-references h2 {color: #fff;}
.glossary-references ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}
.glossary-references li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}
.glossary-references li::before {
    content: "↗";
    position: absolute;
    left: 0;
    top: 2px;
    color: #666;
    font-size: 0.9em;
    opacity: 0.6;
}
.glossary-references a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}
.glossary-references a:hover {
    color: #fff;
    opacity: 0.7;
    border-bottom-color: currentColor;
}

/* Responsividade */
@media (max-width: 768px) {
    .site-main {
        padding: 0 15px;
        margin: 20px auto;
    }

    .glossary-content {
        padding: 25px;
    }

    .entry-title {
        font-size: 2rem;
    }

    .glossary-section {
        padding: 20px;
    }
}

/* Melhorias opcionais no HTML (adicione estas classes) */
.glossary-definition {
    --rugwp-primary-color: #398ffc; /* Cor da borda */
}

.glossary-example {
  /*  --rugwp-primary-color: #00c853; /* Verde para exemplos */
    --rugwp-primary-color: #398ffc; /* Verde para exemplos */
}

.glossary-references {
    /*--rugwp-primary-color: #ff5252; /* Vermelho para referências */
    --rugwp-primary-color: #398ffc; /* Vermelho para referências */
}