/*
Theme Name: KISS Performance Theme
Author: Keith Smith
Description: Lightweight, minimalist WordPress theme built for speed and simplicity.
Version: 1.0
*/


:root {
    --color-primary: #0066cc;
    --color-primary-hover: #004999;
}


/* ===========================
   Reset / Base
=========================== */

* {
    box-sizing: border-box;
}


html {
    background: #f5f5f5;
}


body {
    max-width: 1000px;

    margin: 0 auto;

    background: #ffffff;

    outline: 1px solid #ddd;

    font-family: Arial, Helvetica, sans-serif;

    line-height: 1.6;

    padding-bottom: 40px;
}


img {
    max-width: 100%;

    height: auto;
}


/* ===========================
   Container
=========================== */

.container {
    max-width: 1000px;

    margin: 0 auto;
}


/* ===========================
   Header
=========================== */

header {
    padding: 0;
}


/* ===========================
   Brand Row
=========================== */

.header-brand {
    display: flex;

    align-items: center;

    margin: 0;

    padding: 0;
}


/* ===========================
   Logo
=========================== */

.logo {
    flex: 0 0 auto;

    display: block;

    line-height: 0;
}


.logo img {
    display: block;

    width: 100px;

    height: 100px;
}


/* ===========================
   Site Title + Tagline
=========================== */

.site-branding {
    margin-left: 15px;
}


.site-title {
    font-size: 25px;

    font-weight: bold;

    line-height: 1.2;
}


.site-tagline {
    font-size: 16px;

    line-height: 1.3;

    margin-top: 3px;
}


/* ===========================
   Navigation
=========================== */

nav {
    width: 100%;

    padding: 0 0 6px 0;

    border-bottom: 1px solid #ddd;
}


nav ul {
    list-style: none;

    margin: 0;

    padding: 6px 10px;

    display: flex;

    justify-content: flex-start;

    align-items: center;

    gap: 1.25rem;
}


nav li {
    margin: 0;
}


nav a {
    display: block;

    padding: .25rem 0;

    text-decoration: none;
}


/* ===========================
   Phone CTA Button
=========================== */

nav .cta {
    display: inline-block;

    background: var(--color-primary);

    color: #ffffff !important;

    padding: 12px 20px;

    border-radius: 5px;

    font-weight: bold;

    text-decoration: none;
}


nav .cta:hover {
    background: var(--color-primary-hover);
}


/* ===========================
   Hero
=========================== */

.hero {
    display: block;

    width: 100%;

    height: auto;

    margin: 0;
}


/* ===========================
   Main Layout
=========================== */

main {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 320px;

    gap: 1.25rem;

    padding: 1rem;
}


article {
    min-width: 0;
}


/* ===========================
   Sidebar
=========================== */

aside {
    padding: 0;
}


/* Sticky Sidebar */

.sidebar {
    position: sticky;

    top: 20px;

    align-self: start;
}


.sidebar-box {
    background: #f5f5f5;

    border: 1px solid #e2e2e2;

    border-radius: 6px;

    padding: 20px;

    margin-bottom: 20px;
}


.sidebar-box h2,
.sidebar-box h3 {
    margin-top: 0;
}


.sidebar-box h3 {
    margin-bottom: 10px;

    font-size: 20px;
}


/* ===========================
   Sidebar Lists
=========================== */

.sidebar-box ul {
    margin: 0;

    padding-left: 20px;
}


.sidebar-box li {
    padding: 0;

    margin: 0;

    line-height: 1.6;
}


/* ===========================
   Sidebar Links
=========================== */

.sidebar-box a {
    color: var(--color-primary);

    text-decoration: none;
}


.sidebar-box a:hover {
    text-decoration: underline;
}


/* ===========================
   Sidebar CTA Box
=========================== */

.cta-box {
    background: #d9eaff;

    border-color: #99c2ff;

    color: #222222;
}


.cta-box h3 {
    color: #003366;
}


.cta-box p {
    color: #333333;
}


.sidebar-cta {
    display: inline-block;

    margin-top: 15px;

    padding: 12px 20px;

    background: var(--color-primary);

    color: #ffffff !important;

    border-radius: 5px;

    font-weight: bold;

    text-decoration: none;
}


.sidebar-cta:hover {
    background: var(--color-primary-hover);
}


/* ===========================
   Contact
=========================== */

.sidebar address {
    font-style: normal;

    line-height: 1.7;
}


/* ===========================
   Footer
=========================== */

footer {
    padding: 1rem;
}


.site-footer {
    background: #111111;

    color: #b8b8b8;

    padding: 40px 20px;

    text-align: center;

    font-size: 14px;

    margin-top: 40px;
}


.site-footer p {
    margin: 0;
}


.site-footer a {
    color: #d0d0d0;

    text-decoration: none;
}


.site-footer a:hover {
    color: #ffffff;
}


/* ===========================
   Responsive
=========================== */

@media (max-width: 768px) {


    /* Disable sticky sidebar on mobile */

    .sidebar {
        position: static;
    }


    /* Brand */

    .header-brand {
        align-items: flex-start;
    }


    .site-branding {
        margin-left: 10px;
    }


    .site-title {
        font-size: 22px;
    }


    .site-tagline {
        font-size: 16px;
    }


    /* Navigation */

    nav ul {
        flex-wrap: wrap;

        gap: .5rem 1rem;
    }


    /* Main */

    main {
        grid-template-columns: 1fr;
    }

}


/* ===========================
   404 Page
=========================== */

.sitemap-item {
    display: block;

    width: 100%;

    margin-bottom: 30px;
}


.sitemap-item h2 {
    display: block;

    margin-bottom: 5px;
}


.sitemap-url {
    display: block;

    margin-bottom: 5px;
}


.sitemap-description {
    display: block;
}