/**
 * GEO Pages — Front-end Styles
 *
 * Renders ClaimReview verdict blocks, Q&A answer blocks,
 * and cross-reference link sections on public-facing pages.
 */

/* ── Base Block ── */
.geo-pages-block {
    margin: 0 0 2em;
    font-family: inherit;
    line-height: 1.7;
    color: inherit;
}

.geo-pages-block-label {
    display: inline;
    font-size: 0.75em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    margin-right: 6px;
}

/* ── ClaimReview Block ── */
.geo-pages-claimreview {
    border: 1px solid #e2e4e7;
    border-radius: 8px;
    padding: 24px 28px;
    background: #fafbfc;
}

.geo-pages-claim {
    margin-bottom: 20px;
}

.geo-pages-claim-text {
    margin: 6px 0 0;
    padding: 12px 20px;
    border-left: 4px solid #2271b1;
    background: #fff;
    border-radius: 0 6px 6px 0;
    font-size: 1.1em;
    font-style: italic;
    color: #333;
}

/* Verdict Banner */
.geo-pages-verdict {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.geo-pages-verdict--false {
    background: linear-gradient(135deg, #fef0f0, #fde8e8);
    border: 1px solid #f5c6c6;
}

.geo-pages-verdict--partial {
    background: linear-gradient(135deg, #fef9ee, #fdf3dc);
    border: 1px solid #f5dfa6;
}

.geo-pages-verdict--true {
    background: linear-gradient(135deg, #eef8f0, #e0f2e4);
    border: 1px solid #b5dbb9;
}

.geo-pages-verdict-icon {
    font-size: 1.4em;
    line-height: 1;
    flex-shrink: 0;
}

.geo-pages-verdict .geo-pages-block-label {
    color: #666;
}

.geo-pages-verdict-label {
    font-size: 1.15em;
}

.geo-pages-verdict-rating {
    font-size: 0.85em;
    color: #666;
}

/* Myth */
.geo-pages-myth {
    margin-bottom: 20px;
    padding: 12px 16px;
    background: #fff8f0;
    border: 1px solid #f0deca;
    border-radius: 6px;
}

.geo-pages-myth p {
    margin: 4px 0 0;
    font-style: italic;
}

/* Review Body */
.geo-pages-review-body {
    margin-bottom: 20px;
}

.geo-pages-review-body p {
    margin-top: 4px;
}

/* ── Q&A Block ── */
.geo-pages-qa {
    border: 1px solid #e2e4e7;
    border-radius: 8px;
    padding: 24px 28px;
    background: #fafbfc;
}

.geo-pages-question {
    margin-bottom: 20px;
}

.geo-pages-question-text {
    margin: 6px 0 0;
    font-size: 1.3em;
    color: #1a1a1a;
    line-height: 1.4;
}

.geo-pages-answer {
    margin-bottom: 20px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #dde0e4;
    border-radius: 6px;
    border-left: 4px solid #00a65a;
}

.geo-pages-answer p {
    margin-top: 4px;
}

/* ── Meta Footer ── */
.geo-pages-meta-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.82em;
    color: #888;
    border-top: 1px solid #e8eaed;
    padding-top: 12px;
    margin-top: 8px;
    margin-bottom: 16px;
}

.geo-pages-meta-footer time {
    font-weight: 600;
    color: #555;
}

/* ── Related Links ── */
.geo-pages-related {
    margin-top: 16px;
}

.geo-pages-related-group {
    margin-bottom: 8px;
}

.geo-pages-related-group h4 {
    margin: 0 0 4px;
    font-size: 0.9em;
    font-weight: 600;
    color: #333;
}

.geo-pages-related-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.geo-pages-related-group li {
    margin-bottom: 4px;
    padding-left: 16px;
    position: relative;
    font-size: 0.92em;
}

.geo-pages-related-group li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2271b1;
}

.geo-pages-related-group a {
    color: #2271b1;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.geo-pages-related-group a:hover {
    border-bottom-color: #2271b1;
}

/* ── Context Links (no border wrapper) ── */
.geo-pages-context-links {
    border: none;
    background: none;
    padding: 0;
}

/* ── Disclaimer ── */
.geo-pages-disclaimer {
    font-size: 0.78em;
    font-style: italic;
    color: #999;
    margin: 4px 0 12px;
}

/* ── FAQ Block ── */
.geo-pages-faq-block {
    border: 1px solid #e2e4e7;
    border-radius: 8px;
    padding: 24px 28px;
    background: #fafbfc;
}

.geo-pages-faq-list {
    margin-top: 16px;
}

.geo-pages-faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8eaed;
}

.geo-pages-faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.geo-pages-faq-question {
    margin: 0 0 8px;
    font-size: 1.1em;
    font-weight: 600;
    color: #1a1a1a;
    padding-left: 16px;
    border-left: 3px solid #2271b1;
}

.geo-pages-faq-question a {
    color: inherit;
    text-decoration: none;
}

.geo-pages-faq-question a:hover::after {
    content: ' #';
    color: #2271b1;
    font-weight: 400;
    font-size: 0.85em;
}

.geo-pages-faq-answer {
    padding-left: 16px;
    color: #444;
}

.geo-pages-faq-answer p {
    margin: 0 0 8px;
}

.geo-pages-faq-answer p:last-child {
    margin-bottom: 0;
}

/* ── Responsive ── */
@media (max-width: 600px) {

    .geo-pages-claimreview,
    .geo-pages-qa,
    .geo-pages-faq-block {
        padding: 16px 18px;
    }

    .geo-pages-verdict {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .geo-pages-meta-footer {
        flex-direction: column;
        gap: 4px;
    }
}