/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Grounding Page Card Styles */
.orgapress-grounding-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 30px;
    max-width: 800px;
    margin: 20px auto;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.orgapress-grounding-card .gp-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.orgapress-grounding-card .gp-logo {
    max-height: 80px;
    width: auto;
}

.orgapress-grounding-card .gp-title {
    margin: 0;
    font-size: 2.2em;
    color: #1a1a1a;
    flex-grow: 1;
}

.orgapress-grounding-card .gp-badge {
    background: #f0f0f1;
    color: #555;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.orgapress-grounding-card .gp-section {
    margin-bottom: 25px;
    line-height: 1.6;
    color: #333;
}

.orgapress-grounding-card .gp-definition {
    font-size: 1.1em;
}

.orgapress-grounding-card .gp-disambiguation {
    background: #fff8e5;
    padding: 15px;
    border-left: 4px solid #ffb900;
    font-size: 0.95em;
    color: #555;
}

.orgapress-grounding-card .gp-facts h2 {
    font-size: 1.4em;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.orgapress-grounding-card .gp-fact-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 600px) {
    .orgapress-grounding-card .gp-fact-list {
        grid-template-columns: 1fr 1fr;
    }
}

.orgapress-grounding-card .gp-fact-item {
    background: #f9f9f9;
    padding: 12px;
    border-radius: 4px;
}

.orgapress-grounding-card .gp-fact-item dt {
    font-weight: 700;
    font-size: 0.85em;
    color: #777;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.orgapress-grounding-card .gp-fact-item dd {
    margin: 0;
    font-weight: 500;
    font-size: 1.05em;
    color: #000;
    word-break: break-word;
}

.orgapress-grounding-card .gp-footer {
    margin-top: 40px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    text-align: center;
    color: #999;
}

.orgapress-grounding-card .gp-footer a {
    color: #999;
    text-decoration: underline;
}

/* Specific Entity Colors */
.orgapress-grounding-card.entity-class-organization .gp-header { border-bottom-color: #2271b1; }
.orgapress-grounding-card.entity-class-product .gp-header { border-bottom-color: #46b450; }
.orgapress-grounding-card.entity-class-person .gp-header { border-bottom-color: #f56e28; }
