@use '../utilities' as *;

.site-footer {
    margin: 0 !important;
	font-size: 13px;
	padding: 20px 0 0 0;
}

.site-footer .footer-widgets .widget_text a {
    background-color: rgba(230, 230, 230, 0.5);
    border-bottom: 1px solid #b7bdd1;
}

.site-footer p {
    margin: 0 !important;
}

.site-footer .footer-bottom {
    padding: 10px;
    background: $secondary_black;
}

.site-footer .footer-bottom .wrapper {
    background: $secondary_black;
    color: $secondary_white;
    @include flexBox(center, space-between, row);
}

.site-footer .footer-bottom .copyright {
    font-size: .8rem;
    padding: 0;
    margin: 0;
}

.site-footer .footer-bottom .menu {
    @include flexBox( center, center, row );
    padding: 0;
    margin: 0;
}

.site-footer .footer-bottom .menu .menu-item {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-bottom .menu .menu-item a {
    color: $secondary_white;
    font-size: .68rem;
    padding: 4px 10px;
    display: block;
}

.site-footer .footer-bottom .menu .menu-item a:hover {
    color: $gray !important;
}

@media( max-width: 768px ) {
    .site-footer .footer-bottom .wrapper {
        display: flex;
        flex-direction: column-reverse;
    }

    .site-footer .footer-bottom .copyright {
        padding-top: 8px;
        border-top: 1px solid rgba(221, 221, 221, .1);
        flex: 2;
    }

    .site-footer .footer-bottom .menu {
        padding-bottom: 8px;
        flex: 1;
    }
}

@media( max-width: 600px ) {
    .site-footer .footer-bottom .menu {
        display: block;
        text-align: center;
    }
}

.footer-credit {
    text-align: center;
    font-size: .75rem;
    color: $secondary_white;
    padding: 2px 0;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.copyright a {
    color: $dark_cyan;
    font-size: .75rem;
}

// FOOTER WIDGETS
.footer-widgets {
    border-top: 2px solid $secondary_black;
	padding: 20px 0 0 0;
}

.footer-widgets .wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 10px;
}

@media( max-width: 992px )
{
    .footer-widgets .wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media( max-width: 768px )
{
    .footer-widgets .wrapper {
        grid-template-columns: repeat(1, 1fr);
    }
}

.footer-widgets .widget {
	padding: 0 8px;
}

.footer-widgets .widget-title {
	background: none;
	color: $main_dark;
	font-size: 14px;
	margin-bottom: 20px;
	text-transform: uppercase;
}

.footer-widgets .widget ul,
.footer-widgets .widget ol {
	margin: 0 0 0 15px;
	padding: 0;
}

.footer-widgets .widget ul li,
.footer-widgets .widget ol li {
	border-bottom: none;
	list-style: square;
	margin: 0 0 10px 0;
	padding: 0;
}

.footer-widgets .widget ul li a,
.footer-widgets .widget ol li a {
	color: $text_color;
}

.footer-widgets .widget ul li:last-child,
.footer-widgets .widget ol li:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.widget-post-thumb {
    display: grid;
    grid-template-columns: 25% 75%;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid $border_color;
}

.widget-post-thumb:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget-post-thumb .img-container {
    border-radius: 3px;
    overflow: hidden;
    min-width: 55px;
    min-height: 55px;
}

.widget-post-thumb .img-container img {
    min-width: 55px;
    min-height: 55px;
    object-fit: cover;
    border-radius: 3px;
}

.widget-post-thumb .text-container {
    padding: 0 5px;
}

.widget-post-thumb .text-container .entry-meta,
.widget-post-thumb .text-container .entry-meta a {
    font-size: .65rem;
    color: $text_color;
    padding: 0;
    margin: 0;
}

.widget-post-thumb .text-container .entry-title {
    padding: 0;
    margin: 0;
    line-height: 16px;
}

.widget-post-thumb .text-container .entry-title a {
    font-size: .8rem;
    font-weight: 400;
    padding: 0;
    margin: 0;
    color: $text_color;
}

.site-footer .widget-post-thumb .text-container .entry-title a {
    font-size: .75rem;
    font-weight: 400;
    padding: 0;
    margin: 0;
    color: $text_color;
}

// Footer Tag cloud
.site-footer .tagcloud {
    display: inline-block;
    padding: 5px 0 8px 0;
}

.site-footer .tagcloud .tag-cloud-link {
    padding: 2px 8px;
    margin: 0 0 5px 0;
    border: none;
    color: $secondary_white;
    background: $secondary_black;
    display: inline-block;
    text-decoration: none;
}

.site-footer .tagcloud .tag-cloud-link:hover {
    color: $secondary_white !important;
    text-decoration: underline;
}

