/* === AdSense Ad Slot === */
.ads-slot {
    display: block;
    margin: 1.5rem auto;
    padding: 0.5rem 0;
    text-align: center;
    max-width: 100%;
}

.ads-slot ins.adsbygoogle {
    display: inline-block;
    margin: 0 auto;
}

.ads-slot--rectangle ins.adsbygoogle {
    width: 336px;
    height: 280px;
    max-width: 100%;
}

.ads-slot--horizontal ins.adsbygoogle {
    width: 728px;
    height: 90px;
    max-width: 100%;
}

.ads-slot--vertical ins.adsbygoogle {
    width: 300px;
    height: 600px;
    max-width: 100%;
}

.ads-slot--horizontal,
.ads-slot--auto {
    width: 100%;
    overflow: hidden;
}

@media (max-width: 768px) {
    .ads-slot--horizontal ins.adsbygoogle,
    .ads-slot--auto ins.adsbygoogle {
        width: 320px !important;
        height: 100px !important;
    }
    .ads-slot--rectangle ins.adsbygoogle {
        width: 300px !important;
        height: 250px !important;
    }
    .ads-slot--vertical {
        display: none;
    }
}

/* === Cookie Consent Banner (KVKK/GDPR) === */
.cookie-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    pointer-events: none;
    animation: cookie-fade-in 320ms ease-out;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent__panel {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(40, 50, 60, 0.12);
    border-radius: 12px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
    padding: 1.25rem 1.5rem;
    max-width: 720px;
    width: 100%;
    pointer-events: auto;
    font-family: var(--font-body, 'Inter', system-ui, sans-serif);
    color: #1f2933;
}

.cookie-consent__title {
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: 1.15rem;
    margin: 0 0 0.5rem;
    font-weight: 600;
    color: #2f3a47;
}

.cookie-consent__text {
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0 0 1rem;
    color: #4a5663;
}

.cookie-consent__text a {
    color: #5b6e3d;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cookie-consent__btn {
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.625rem 1rem;
    transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.cookie-consent__btn--primary {
    background: #5b6e3d;
    color: #ffffff;
}

.cookie-consent__btn--primary:hover {
    background: #475930;
    transform: translateY(-1px);
}

.cookie-consent__btn--ghost {
    background: #ffffff;
    color: #2f3a47;
    border: 1px solid #c5cad1;
}

.cookie-consent__btn--ghost:hover {
    background: #f1f3f6;
}

.cookie-consent__btn--link {
    background: transparent;
    color: #5b6e3d;
    text-decoration: underline;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.cookie-consent__btn--link:hover {
    color: #475930;
}

@keyframes cookie-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .cookie-consent {
        left: 8px;
        right: 8px;
        bottom: 8px;
    }
    .cookie-consent__panel {
        padding: 1rem;
    }
    .cookie-consent__actions {
        flex-direction: column;
    }
    .cookie-consent__btn {
        width: 100%;
    }
}
