/* =========================================================
   THE ATTENDANCE CALCULATOR
   PREMIUM FOOTER
   GeneratePress Child Theme
========================================================= */


/* =========================================================
   01. FOOTER WRAPPER
========================================================= */

#site-footer,
.site-footer {
    position: relative;

    width: 100%;

    margin: 0;

    background: #080808 !important;
    color: #a6a6a6 !important;

    border-top: 1px solid #1f1f1f;

    overflow: hidden;
}


/* Subtle footer top accent */

.site-footer::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    transform: translateX(-50%);

    width: min(92%, 1180px);
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.28),
        transparent
    );
}


/* =========================================================
   02. WIDGET AREA
========================================================= */

.site-footer .footer-widgets {
    position: relative;

    background: #080808 !important;
    color: #a6a6a6 !important;

    border: 0 !important;
}


/* Inner container */

.site-footer .footer-widgets-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding: 72px 24px 58px !important;

    box-sizing: border-box;
}


/* =========================================================
   03. WIDGET GRID
========================================================= */

.site-footer .inside-footer-widgets {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1.7fr)
        minmax(180px, .7fr)
        minmax(200px, .8fr);

    gap: 72px;

    align-items: start;
}


/* Remove GeneratePress default widget spacing */

.site-footer .footer-widget,
.site-footer .widget {
    margin: 0 !important;
}


/* =========================================================
   04. BRAND BLOCK
========================================================= */

.tac-footer-brand {
    max-width: 560px;
}


/* Small eyebrow */

.tac-footer-brand__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 18px;

    color: #8c8c8c;

    font-size: 11px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


/* Small leading line */

.tac-footer-brand__eyebrow::before {
    content: "";

    width: 26px;
    height: 1px;

    background: #ffffff;
}


/* Brand title */

.tac-footer-brand__title {
    margin: 0 0 18px !important;

    color: #ffffff !important;

    font-size: clamp(28px, 3vw, 42px) !important;
    font-weight: 700 !important;

    line-height: 1.05 !important;

    letter-spacing: -1.5px;
}


/* Description */

.tac-footer-brand__text {
    max-width: 520px;

    margin: 0 !important;

    color: #969696 !important;

    font-size: 14px !important;

    line-height: 1.8 !important;
}


/* =========================================================
   05. SMALL META PILLS
========================================================= */

.tac-footer-brand__meta {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 26px;
}


.tac-footer-brand__meta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 31px;

    padding: 7px 11px;

    color: #c8c8c8;

    background: #111111;

    border: 1px solid #242424;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: .25px;
}


/* =========================================================
   06. FOOTER HEADINGS
========================================================= */

.tac-footer-heading {
    position: relative;

    display: block;

    margin-bottom: 20px;

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.2;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}


/* Small underline */

.tac-footer-heading::after {
    content: "";

    display: block;

    width: 28px;
    height: 1px;

    margin-top: 10px;

    background: #ffffff;
}


/* =========================================================
   07. FOOTER LINK LISTS
========================================================= */

.tac-footer-links ul {
    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}


.tac-footer-links li {
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
}


.tac-footer-links a,
.tac-footer-links a:visited {
    position: relative;

    display: inline-flex;
    align-items: center;

    margin-bottom: 12px;

    padding: 2px 0;

    color: #9d9d9d !important;

    font-size: 14px;
    font-weight: 500;

    line-height: 1.5;

    text-decoration: none !important;

    transition:
        color .2s ease,
        transform .2s ease;
}


/* Arrow appears on hover */

.tac-footer-links a::before {
    content: "↗";

    width: 0;

    margin-right: 0;

    color: #ffffff;

    opacity: 0;

    overflow: hidden;

    transform: translateX(-4px);

    transition:
        width .2s ease,
        margin-right .2s ease,
        opacity .2s ease,
        transform .2s ease;
}


.tac-footer-links a:hover {
    color: #ffffff !important;
    transform: translateX(2px);
}


.tac-footer-links a:hover::before {
    width: 14px;

    margin-right: 6px;

    opacity: 1;

    transform: translateX(0);
}


/* =========================================================
   08. REMOVE DEFAULT GENERATEPRESS WIDGET TITLE
========================================================= */

.site-footer .widget-title {
    display: none !important;
}


/* =========================================================
   09. COPYRIGHT / SITE INFO
========================================================= */

.site-footer .site-info {
    position: relative;

    padding: 0 !important;

    background: #080808 !important;
    color: #747474 !important;

    border-top: 1px solid #1f1f1f;
}


/* Inner copyright container */

.site-footer .site-info .inside-site-info {
    width: 100%;
    max-width: 1200px;

    min-height: 70px;

    margin: 0 auto;

    padding: 18px 24px !important;

    display: none !important;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
}


/* Copyright text */

.site-footer .copyright-bar {
    color: #777777 !important;

    font-size: 12px !important;
    font-weight: 500;

    line-height: 1.6;

    letter-spacing: .15px;
}


/* Copyright links */

.site-footer .copyright-bar a,
.site-footer .copyright-bar a:visited {
    color: #b7b7b7 !important;

    text-decoration: none !important;
}


.site-footer .copyright-bar a:hover {
    color: #ffffff !important;
}


/* =========================================================
   10. GENERATEPRESS DEFAULT LINK RESET
========================================================= */

.site-footer a {
    text-decoration: none !important;
}


/* =========================================================
   11. TABLET
========================================================= */

@media (max-width: 1024px) {

    .site-footer .footer-widgets-container {
        padding:
            60px 22px
            48px !important;
    }


    .site-footer .inside-footer-widgets {
        grid-template-columns:
            minmax(0, 1.4fr)
            minmax(160px, .7fr)
            minmax(180px, .8fr);

        gap: 42px;
    }


    .tac-footer-brand__title {
        font-size: 32px !important;
    }

}


/* =========================================================
   12. MOBILE
========================================================= */

@media (max-width: 768px) {

    .site-footer .footer-widgets-container {
        padding:
            50px 18px
            38px !important;
    }


    .site-footer .inside-footer-widgets {
        grid-template-columns: 1fr;

        gap: 38px;
    }


    .tac-footer-brand {
        max-width: 100%;
    }


    .tac-footer-brand__title {
        font-size: 30px !important;

        letter-spacing: -1px;
    }


    .tac-footer-brand__text {
        max-width: 100%;
    }


    .site-footer .site-info .inside-site-info {
        min-height: auto;

        padding: 18px !important;

        text-align: center;
    }

}


/* =========================================================
   13. SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .site-footer .footer-widgets-container {
        padding:
            44px 15px
            32px !important;
    }


    .tac-footer-brand__title {
        font-size: 27px !important;
    }


    .tac-footer-brand__meta {
        gap: 6px;
    }


    .tac-footer-brand__meta span {
        font-size: 10px;
    }

}