/*
Theme Name: Macko
Theme URI: https://macko.com
Author: Antigravity
Description: Macko - Canlı skor ve futbol haber teması. Anlık sohbet özelliği içerir.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: macko
*/

/*
   Bu tema TailwindCSS kullanır.
   Production build: assets/css/tailwind.css
*/
body {
    background-color: #f3f3f3;
    font-family: 'Inter', sans-serif;
}

/* Sayfa İçerik Alanı - Prose Stilleri */
.page-prose p {
    margin-bottom: 1.25em;
    line-height: 1.75;
    color: #4b5563;
}

.page-prose p:last-child {
    margin-bottom: 0;
}

.page-prose h2 {
    font-size: 1.5em;
    font-weight: 700;
    color: #1f2937;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.page-prose h3 {
    font-size: 1.25em;
    font-weight: 700;
    color: #1f2937;
    margin-top: 1.25em;
    margin-bottom: 0.5em;
}

.page-prose h4 {
    font-size: 1.125em;
    font-weight: 600;
    color: #374151;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.page-prose strong {
    font-weight: 700;
    color: #374151;
}

.page-prose a {
    color: #00985f;
    text-decoration: none;
}

.page-prose a:hover {
    text-decoration: underline;
}

.page-prose ul, .page-prose ol {
    margin-bottom: 1.25em;
    padding-left: 1.5em;
    color: #4b5563;
}

.page-prose ul {
    list-style-type: disc;
}

.page-prose ol {
    list-style-type: decimal;
}

.page-prose li {
    margin-bottom: 0.5em;
}

.page-prose li::marker {
    color: #00985f;
}

.page-prose blockquote {
    border-left: 4px solid #00985f;
    background-color: #f9fafb;
    padding: 1rem 1.5rem;
    margin: 1.25em 0;
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: #4b5563;
}

.page-prose code {
    background-color: #f3f4f6;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-family: monospace;
}

.page-prose img {
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin: 2em 0;
}

/* 
   Mobil Sabit Reklam 
   Sadece mobilde görünür, masaüstünde gizlenir.
*/
.macko-mobile-ad {
    display: none; /* Varsayılan gizli */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99999; /* En üstte */
    background: transparent;
    pointer-events: none; /* Tıklamaları alta geçir, container engelleyecek */
}

.macko-mobile-ad-container {
    padding: 0;
    background: #fff;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    pointer-events: auto; /* İçerik tıklanabilir */
    animation: slideUp 0.5s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    border-top: 1px solid #e5e7eb;
}

.macko-mobile-ad-close {
    position: absolute;
    top: -36px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    color: #4b5563;
    font-size: 14px;
    transition: all 0.2s;
    z-index: 100000;
}

.macko-mobile-ad-close:hover {
    background: #f3f4f6;
    color: #ef4444;
}

.macko-mobile-ad-content {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 0;
}

/* Sadece mobil cihazlarda (tablet ve altı) göster */
@media (max-width: 768px) {
    .macko-mobile-ad {
        display: block;
    }
    
    /* Eğer footer'da telif hakkı vs. varsa ve reklam üstüne biniyorsa, body'ye padding eklenebilir. 
       Ancak fixed reklam genelde üstte durması istendiği için zorunlu değil. */
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.page-prose hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2em 0;
}