/* ==========================================================================
   LAYOUT COMPONENTS
   ========================================================================== */

.mepa-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mepa-grid {
    display: grid;
    gap: 2rem;
}

.mepa-flex {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ==========================================================================
   MAIN CONTENT STYLES
   ========================================================================== */

.mepa-main {
    padding: 0 0 4rem 0;
}

.mepa-content {
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.mepa-article {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
}

.mepa-article-title {
    margin-bottom: 1rem;
}

.mepa-article-meta {
    color: #666;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.mepa-article-content {
    line-height: 1.8;
}

/* ==========================================================================
   SIDEBAR STYLES
   ========================================================================== */

.mepa-sidebar {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 10rem;
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */

.mepa-footer {
    margin-top: auto;
}

/* Ana Footer */
.mepa-main-footer {
    min-height: 500px;
    height: auto;
    background-color: #2c3e50;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.mepa-main-footer .mepa-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Alt Footer */
.mepa-bottom-footer {
    min-height: 75px;
    height: auto;
    display: flex;
    align-items: center;
}

.mepa-bottom-footer .mepa-container {
    width: 100%;
}

/* Alt Footer İçerik Layout'u */
.mepa-bottom-footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: nowrap;
}

/* Alt Footer Sol (Telif Hakkı) */
.mepa-bottom-footer-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.mepa-copyright-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.4rem;
    line-height: 1.4;
    white-space: nowrap;
}

/* Alt Footer Orta (Logo) */
.mepa-bottom-footer-center {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mepa-bottom-footer-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.mepa-bottom-footer-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.mepa-bottom-footer-logo-link:hover .mepa-bottom-footer-logo {
    opacity: 0.8;
}

/* Alt Footer Sağ (Gelecekteki kullanım) */
.mepa-bottom-footer-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.mepa-sitemap-link {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.mepa-sitemap-link:hover {
    color: var(--mepa-primary-color, #00a8e2);
}

.mepa-sitemap-link i {
    font-size: 1.4rem;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .mepa-main-footer {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .mepa-main-footer {
        min-height: auto;
    }
    
    .mepa-bottom-footer {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .mepa-main-footer {
        min-height: auto;
    }
    
    .mepa-bottom-footer {
        min-height: auto;
    }
}
