/* Google "tercih edilen kaynak" kartı — blog liste ve detay sayfalarında kullanılır.
   Butonun kendisi Google tarafından iframe olarak render edilir; kart yalnızca
   çerçeve, başlık ve yedek bağlantıdan sorumludur. */

.google-tercih {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    flex-wrap: wrap;
    margin: 2.25rem 0;
    padding: 1.35rem 1.5rem;
    border: 1px solid rgba(0, 155, 170, 0.22);
    border-radius: 1.15rem;
    background: linear-gradient(135deg, #f2fbfc 0%, #ffffff 65%);
    box-shadow: 0 18px 40px -32px rgba(2, 28, 34, 0.55);
}

.google-tercih__ikon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #00C1D5 0%, #009BAA 100%);
    color: #ffffff;
    font-size: 1.05rem;
    box-shadow: 0 10px 22px -12px rgba(0, 155, 170, 0.85);
}

.google-tercih__metin {
    flex: 1 1 16rem;
    min-width: 0;
}

.google-tercih__metin h2 {
    margin: 0 0 0.25rem;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.3;
    color: #04323a;
}

.google-tercih__metin p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #46595e;
}

.google-tercih__aksiyon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    min-height: 2.5rem;
}

/* Google butonu yüklenene kadar kart yüksekliği zıplamasın. */
.google-tercih__aksiyon > [google-add-preferred-source-btn] {
    min-width: 13rem;
    min-height: 2.5rem;
}

.google-tercih__yedek {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    border-radius: 999px;
    background: #04323a;
    color: #ffffff !important;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.google-tercih__yedek:hover,
.google-tercih__yedek:focus-visible {
    background: #065763;
}

@media (max-width: 640px) {
    .google-tercih {
        padding: 1.15rem;
        gap: 0.9rem;
    }

    .google-tercih__aksiyon {
        width: 100%;
    }

    .google-tercih__yedek {
        width: 100%;
        justify-content: center;
    }
}
