/**
 * Component Styles
 * WHOINT Theme
 */

/* ===============================================
   FOOTER
   =============================================== */
.site-footer {
    background-color: var(--who-navy);
    color: var(--who-white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--who-white);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.footer-column a:hover {
    color: var(--who-blue);
}

.footer-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-btn {
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
}

.footer-btn:hover {
    background: var(--who-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo .logo-icon {
    background: white;
    color: var(--who-navy);
}

.footer-logo h4 {
    font-size: 20px;
    margin: 0;
}

.footer-logo p {
    font-size: 12px;
    opacity: 0.8;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.social-links a:hover {
    background: var(--who-blue);
    transform: translateY(-3px);
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

/* ===============================================
   WIDGETS
   =============================================== */
.widget {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--who-gray);
    border-radius: 8px;
}

.widget-title {
    color: var(--who-navy);
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--who-blue);
}

/* ===============================================
   PAGINATION
   =============================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    background: var(--who-white);
    border: 1px solid var(--who-border);
    border-radius: 5px;
}

.pagination a:hover {
    background: var(--who-blue);
    color: white;
}

.pagination .current {
    background: var(--who-blue);
    color: white;
}

/* ===============================================
   NO RESULTS
   =============================================== */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results h2 {
    color: var(--who-navy);
    margin-bottom: 15px;
}

/* ===============================================
   CUSTOM LOGO
   =============================================== */
.custom-logo {
    max-height: 60px;
    width: auto;
}

/* ===============================================
   ACCESSIBILITY
   =============================================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--who-blue);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100000;
}

.skip-link:focus {
    top: 0;
}

/* Focus visible */
a:focus,
button:focus {
    outline: 2px solid var(--who-blue);
    outline-offset: 2px;
}