/* Custom Footer Styles */

.footer__columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin: 20px 0;
}

.footer__column {
    flex: 1;
    min-width: 150px;
    margin: 10px;
}

.footer__column--logo {
    flex: unset;
    min-width: unset;
}

.footer__column-title {
    color: var(--color-title);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-align: left;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__link {
    color: var(--color-muted);
    text-decoration: none;
    font-family: var(--font-heading);
    transition: color 0.3s ease;
    font-size: 1rem;
    text-align: left;
}

.footer__link:hover {
    color: var(--color-title);
}

.footer__logo {
    align-self: flex-start;
    margin-bottom: 0;
}

/* Custom Social Media Icons for Footer */
.footer__social-links {
    display: inline-flex;
    gap: 15px;
    margin-top: 10px;
}

.footer__social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footer__social-link:hover {
    transform: translateY(-3px);
}

.footer__social-icon {
    width: 30px;
    height: 30px;
    background-color: #fff3cf;
    filter: drop-shadow(rgba(0, 0, 0, 0.32) 0px 2px 3px);
}

.footer__social-icon--telegram {
    mask: url(/template/Castle/images/telegram.svg) center center / contain no-repeat;
    -webkit-mask: url(/template/Castle/images/telegram.svg) center center / contain no-repeat;
}

.footer__social-icon--chat {
    mask: url(/template/Castle/images/chat.svg) center center / contain no-repeat;
    -webkit-mask: url(/template/Castle/images/chat.svg) center center / contain no-repeat;
}

/* Footer Info Section */
.footer__info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(243, 205, 118, 0.2);
}

.footer__info-left {
    flex: 1;
}

.footer__info-right {
    display: flex;
    gap: 20px;
}

.footer__copyright {
    color: var(--color-text);
    margin: 0;
    font-size: 0.9rem;
    text-align: left;
}

/* Articles List Styles */
.articles-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-item {
    display: block;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.article-item:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(243, 205, 118, 0.4);
    transform: translateX(5px);
}

.article-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-icon {
    width: 24px;
    height: 24px;
    background-color: var(--color-title);
    mask: url(/template/Castle/images/share.svg) center center / contain no-repeat;
    -webkit-mask: url(/template/Castle/images/share.svg) center center / contain no-repeat;
    flex-shrink: 0;
}

.article-title {
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 1rem;
    margin: 0;
    transition: color 0.3s ease;
    text-align: left;
}

.article-item:hover .article-title {
    color: var(--color-title);
}

.see-all-articles {
    display: block;
    text-align: center;
    color: var(--color-title);
    font-family: var(--font-heading);
    font-size: 1rem;
    text-decoration: none;
    margin-top: 20px;
    padding: 10px;
    border: 1px solid rgba(243, 205, 118, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.see-all-articles:hover {
    background: rgba(243, 205, 118, 0.1);
    border-color: rgba(243, 205, 118, 0.6);
    transform: translateY(-2px);
}

/* Responsive styles */
@media (max-width: 768px) {
    .footer__columns {
        flex-direction: column;
        align-items: center;
    }
    
    .footer__column {
        width: 100%;
        text-align: center;
        margin: 20px 0;
    }
    
    .footer__column-title {
        text-align: center;
    }
    
    .footer__links {
        align-items: center;
    }
    
    .footer__link {
        text-align: center;
    }
    
    .footer__logo {
        align-self: center;
    }
    
    .footer__info {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .footer__info-right {
        justify-content: center;
    }
}