/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* ══════════════════════════════════════════════════════════════════
   WEBROBOTS – Bot-Seiten (CPT: robot)
   Farben: Primary #3eaf7c · Dunkel rgba(44,62,80,1) · BG #f8f9fb
   ══════════════════════════════════════════════════════════════════ */

/* ── Stats-Bar ───────────────────────────────────────────────────── */
.wr-stats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    background: #e0e5eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}
.wr-stat {
    flex: 1 1 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 16px;
    background: #fff;
    text-align: center;
}
.wr-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #3eaf7c;
    line-height: 1.2;
}
.wr-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(44,62,80,0.55);
    margin-top: 4px;
}

/* ── Beschreibung + Betreiber Grid ───────────────────────────────── */
.wr-bot-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: start;
}
@media (max-width: 768px) {
    .wr-bot-grid { grid-template-columns: 1fr; }
}

.wr-bot-description h2,
.wr-bot-contact h2 {
    margin-top: 0;
}

.wr-reason {
    color: rgba(44,62,80,0.65);
    font-size: 0.95rem;
    margin-top: -0.5rem;
}

.wr-original-desc {
    border-left: 4px solid #3eaf7c;
    background: #f0faf5;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: rgba(44,62,80,0.8);
}
.wr-original-desc cite {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 600;
    color: rgba(44,62,80,0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Betreiber-Card ──────────────────────────────────────────────── */
.wr-bot-contact {
    background: #fff;
    border: 1px solid #e0e5eb;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 14px rgba(44,62,80,0.06);
}

.wr-risk-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}
.wr-risk-niedrig   { background: #e8f8ef; color: #1e7e4a; }
.wr-risk-mittel    { background: #fff8e1; color: #b45309; }
.wr-risk-hoch      { background: #fef2f2; color: #b91c1c; }
.wr-risk-unbekannt { background: #f3f4f6; color: rgba(44,62,80,0.6); }

.wr-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}
.wr-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f2f5;
    line-height: 1.4;
}
.wr-contact-list li:last-child { border-bottom: none; }
.wr-contact-icon { flex-shrink: 0; font-size: 1rem; }

/* ── robots.txt Bereich ──────────────────────────────────────────── */
.wr-robots-section {
    margin-bottom: 2.5rem;
}
.wr-robots-hint {
    font-size: 0.9rem;
    color: rgba(44,62,80,0.6);
    margin: 1rem 0 0.5rem;
}

.wr-code-block {
    background: #1e2530;
    border-radius: 8px;
    overflow: hidden;
    margin: 0.75rem 0;
}
.wr-code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: #2a3444;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.wr-code-block pre {
    margin: 0;
    padding: 16px;
    background: transparent;
}
.wr-code-block code {
    color: #a8e6c3;
    font-size: 0.875rem;
    font-family: 'Courier New', Courier, monospace;
    background: transparent;
    white-space: pre;
}

.wr-copy-btn {
    background: #3eaf7c;
    color: #fff;
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.wr-copy-btn:hover { background: #33a370; }

/* ── IP-Adressen ─────────────────────────────────────────────────── */
.wr-ips-section,
.wr-agents-section {
    margin-bottom: 2.5rem;
}

.wr-ips-section h2 .wr-count,
.wr-agents-section h2 .wr-count {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(44,62,80,0.5);
    margin-left: 8px;
}

.wr-ips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 6px;
    margin-top: 0.75rem;
}
.wr-ip-item {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 5px;
    padding: 6px 10px;
    font-size: 0.8rem;
}
.wr-ip-item code {
    background: transparent;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    color: rgba(44,62,80,0.8);
}
.wr-flag {
    width: 18px;
    height: auto;
    border-radius: 2px;
    flex-shrink: 0;
}

/* ── User Agents ─────────────────────────────────────────────────── */
.wr-agents-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
}
.wr-agents-list li {
    padding: 7px 0;
    border-bottom: 1px solid #f0f2f5;
    font-size: 0.85rem;
}
.wr-agents-list li:last-child { border-bottom: none; }
.wr-agents-list code {
    background: #f4f6f8;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8rem;
    word-break: break-all;
    color: rgba(44,62,80,0.8);
}
.wr-agents-more { color: rgba(44,62,80,0.4); }
