/* Google News Buttons Plugin — Frontend Styles */

.gnb-container {
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
}

/* Inline label — sits beside the buttons */
.gnb-label {
    font-size: 12px;
    font-weight: 600;
    color: #80868b;
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap;
    line-height: 1;
    padding-right: 4px;
}

.gnb-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

/* ── BASE BUTTON ── */
.gnb-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    transition: background-color 0.18s, box-shadow 0.18s, border-color 0.18s;
    cursor: pointer;
}

.gnb-button:hover {
    text-decoration: none !important;
}

.gnb-icon {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    font-weight: bold;
    flex-shrink: 0;
}

/* ════════════════════════════════════════
   VARIANT 1 — Default (Google colours)
   ════════════════════════════════════════ */
.gnb-variant-default .gnb-button.gnb-follow {
    background-color: #1a73e8;
    color: #fff !important;
    border: 1px solid #1a73e8;
}
.gnb-variant-default .gnb-button.gnb-follow:hover {
    background-color: #1557b0;
    border-color: #1557b0;
}
.gnb-variant-default .gnb-button.gnb-preferred {
    background-color: #fff;
    color: #3c4043 !important;
    border: 1px solid #dadce0;
}
.gnb-variant-default .gnb-button.gnb-preferred:hover {
    background-color: #f1f3f4;
}

/* ════════════════════════════════════════
   VARIANT 2 — Minimal / Outline
   ════════════════════════════════════════ */
.gnb-variant-minimal .gnb-button.gnb-follow {
    background-color: transparent;
    color: #1a73e8 !important;
    border: 1.5px solid #1a73e8;
    border-radius: 20px;
}
.gnb-variant-minimal .gnb-button.gnb-follow:hover {
    background-color: #e8f0fe;
}
.gnb-variant-minimal .gnb-button.gnb-preferred {
    background-color: transparent;
    color: #5f6368 !important;
    border: 1.5px solid #bdc1c6;
    border-radius: 20px;
}
.gnb-variant-minimal .gnb-button.gnb-preferred:hover {
    background-color: #f1f3f4;
}

/* ════════════════════════════════════════
   VARIANT 3 — Pill / Filled
   ════════════════════════════════════════ */
.gnb-variant-pill .gnb-button.gnb-follow {
    background-color: #1a73e8;
    color: #fff !important;
    border: none;
    border-radius: 24px;
    padding: 9px 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,.18);
}
.gnb-variant-pill .gnb-button.gnb-follow:hover {
    background-color: #1557b0;
    box-shadow: 0 2px 6px rgba(0,0,0,.22);
}
.gnb-variant-pill .gnb-button.gnb-preferred {
    background-color: #34a853;
    color: #fff !important;
    border: none;
    border-radius: 24px;
    padding: 9px 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,.18);
}
.gnb-variant-pill .gnb-button.gnb-preferred:hover {
    background-color: #2d8f47;
    box-shadow: 0 2px 6px rgba(0,0,0,.22);
}

/* ════════════════════════════════════════
   VARIANT 4 — Dark / Night
   ════════════════════════════════════════ */
.gnb-variant-dark .gnb-button.gnb-follow {
    background-color: #202124;
    color: #8ab4f8 !important;
    border: 1px solid #3c4043;
    border-radius: 4px;
}
.gnb-variant-dark .gnb-button.gnb-follow:hover {
    background-color: #3c4043;
}
.gnb-variant-dark .gnb-button.gnb-preferred {
    background-color: #303134;
    color: #e8eaed !important;
    border: 1px solid #3c4043;
    border-radius: 4px;
}
.gnb-variant-dark .gnb-button.gnb-preferred:hover {
    background-color: #3c4043;
}

/* ════════════════════════════════════════
   VARIANT 5 — Flat / No-border
   ════════════════════════════════════════ */
.gnb-variant-flat .gnb-button.gnb-follow {
    background-color: #e8f0fe;
    color: #1a73e8 !important;
    border: none;
    border-radius: 4px;
    font-weight: 600;
}
.gnb-variant-flat .gnb-button.gnb-follow:hover {
    background-color: #d2e3fc;
}
.gnb-variant-flat .gnb-button.gnb-preferred {
    background-color: #e6f4ea;
    color: #188038 !important;
    border: none;
    border-radius: 4px;
    font-weight: 600;
}
.gnb-variant-flat .gnb-button.gnb-preferred:hover {
    background-color: #ceead6;
}

/* ── Text-only style ── */
.gnb-simple-link {
    color: #1a73e8;
    text-decoration: underline;
    font-size: 13px;
}
.gnb-simple-link.gnb-preferred {
    color: #5f6368;
}

/* ── Banner layout ── */
.gnb-style-banner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}
.gnb-style-banner .gnb-title {
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .gnb-links {
        flex-direction: column;
        align-items: flex-start;
    }
    .gnb-label {
        margin-bottom: 4px;
    }
    .gnb-button {
        width: 100%;
        justify-content: center;
    }
    .gnb-style-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}