/* Tech Interview site footer */

.ti-footer {
    background: #0b1220;
    color: #c5d3e3;
    padding: 56px 0 32px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.93rem;
    line-height: 1.6;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.ti-footer-inner {
    max-width: 1180px; margin: 0 auto; padding: 0 24px;
}
.ti-footer-brand {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 36px;
}
.ti-footer-brand-mark {
    width: 34px; height: 34px; border-radius: 8px;
    background: #2980b9;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-weight: 700; font-size: 1.05rem;
    position: relative;
}
.ti-footer-brand-mark::after {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: #2ecc71;
    position: absolute; bottom: 6px; right: 6px;
    box-shadow: 0 0 8px #2ecc71;
}
.ti-footer-brand-title {
    color: #fff; font-weight: 700; font-size: 1.05rem;
}
.ti-footer-brand-tag {
    color: #7c93ab; font-size: 0.82rem;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    margin-left: auto;
}

.ti-footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ti-footer-col h3 {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 14px;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.ti-footer-col h3::before {
    content: "// ";
    color: #2ecc71;
    opacity: 0.7;
}
.ti-footer-col ul {
    list-style: none; margin: 0; padding: 0;
}
.ti-footer-col li { margin-bottom: 8px; }
.ti-footer-col a {
    color: #b7c7d9;
    text-decoration: none;
    transition: color 0.12s ease;
}
.ti-footer-col a:hover { color: #4fc3f7; }

.ti-footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 24px; gap: 16px; flex-wrap: wrap;
    color: #7c93ab; font-size: 0.85rem;
}
.ti-footer-bottom-left {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.ti-footer-bottom-right {
    display: flex; align-items: center; gap: 18px;
}
.ti-footer-bottom-right a {
    color: #b7c7d9; text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
}
.ti-footer-bottom-right a:hover { color: #4fc3f7; }
.ti-footer-bottom-right .ti-rss {
    color: #f39c12;
}

/* Hide the stock Astra copyright row */
.site-below-footer-wrap { display: none !important; }

@media (max-width: 820px) {
    .ti-footer-cols { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
}
@media (max-width: 520px) {
    .ti-footer-cols { grid-template-columns: 1fr; }
    .ti-footer-bottom { flex-direction: column; align-items: flex-start; }
    .ti-footer-brand-tag { display: none; }
}
