/* ============================================================
   "Bu içeriği farklı bir yapay zeka aracında özetle" kutusu
   (haber detay sayfası, .article-layout'un HEMEN ÜSTÜNDE)
   ============================================================ */

.ai-summary-box {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    padding: 16px;
    margin-bottom: 24px;
}

.ai-summary-box__label {
    font-size: 14px;
    color: #374151;
    margin-bottom: 12px;
}

.ai-summary-box__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.ai-summary-box__btn {
    display: flex;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.ai-summary-box__btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.ai-summary-box__btn-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px 8px;
    font-size: 13px;
    font-weight: 500;
    color: #1f2937;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-summary-box__btn-inner span {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* GPT ve Gemini: animasyonlu degrade "parlayan" dış çizgi. Çerçeve efekti
   padding + iç beyaz kart (.ai-summary-box__btn-inner) ile elde ediliyor:
   dıştaki gradient'ten sadece 2px'lik bir "kenar" görünür kalır. */
.ai-summary-box__btn--highlight {
    border: none;
    padding: 2px;
    background: linear-gradient(180deg, #8b5cf6 0%, #ffffff 50%, #8b5cf6 100%) 0% 0% / 100% 200%;
    animation: ai-summary-glow-border 1.5s linear infinite;
}

.ai-summary-box__btn--highlight:hover {
    background: linear-gradient(180deg, #8b5cf6 0%, #ffffff 50%, #8b5cf6 100%) 0% 0% / 100% 200%;
}

.ai-summary-box__btn--highlight .ai-summary-box__btn-inner {
    border-radius: 8px;
    background: #fff;
    padding: 7px 6px;
}

@keyframes ai-summary-glow-border {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 0% 100%;
    }
}

.ai-summary-box__icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.ai-summary-box__icon--monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 420px) {
    .ai-summary-box__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* PC'de (>=768px) tüm araçlar tek satırda yan yana */
@media (min-width: 768px) {
    .ai-summary-box__grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
}
