/*
Theme Name: Custom Theme
Theme URI: https://wesvg.love
Description: Custom WordPress theme matching the main website design
Version: 1.0
Author: Custom
*/

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body, html {
    font-size: 16px;
    overflow-x: hidden;
    margin: 0;
    font-family: HelveticaNeue-Light, "Helvetica Neue Light", "Helvetica Neue", "Open Sans Local", Arial, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    background: #fff;
    color: #9b9b9b;
}

a {
    background: 0 0;
    color: #4a90e2;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

h1, h2, h3 {
    font-family: Sanchez, Arial, serif;
    font-weight: 400;
    font-style: normal;
}

h4, h5, h6 {
    font-family: HelveticaNeue-Light, "Helvetica Neue Light", "Helvetica Neue", "Open Sans Local", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    color: #32c24d;
}

h1 {
    margin: .67em 0;
    font-size: 32px;
}

h2 {
    font-size: 42px;
}

h3 {
    color: #000;
    font-size: 28px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 16px;
}

img {
    max-width: 100%;
    border: 0;
}

/* Container */
.c-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 30em) {
    .c-container {
        padding: 0 16px;
    }
}

/* Menu/Header */
.c-menu {
    position: relative;
    z-index: 10002;
    background: #32c24d;
    color: #fff;
    height: 48px;
    line-height: 40px;
    padding: 4px 0;
    font-size: 18px;
}

.c-menu a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
}

.c-menu .b-logo {
    float: left;
    height: 40px;
}

.c-menu .b-menu {
    list-style: none;
    position: absolute;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    height: 40px;
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
    font-weight: 300;
    padding: 0;
    text-align: center;
}

.c-menu .b-menu-item {
    display: inline-block;
    padding: 0 1rem;
    vertical-align: top;
    cursor: pointer;
    transition: background-color .3s ease;
}

.c-menu .b-menu-item.active {
    font-weight: 600;
    border-bottom: 4px solid rgba(0, 0, 0, .15);
}

/* Header Section */
.c-header {
    background: #32c24d;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

@media (max-width: 30em) {
    .c-header {
        padding: 1rem 0;
    }
}

.c-header .b-title {
    color: inherit;
    margin: 2rem auto .5rem;
    font-size: 28px;
    max-width: 540px;
}

.c-header .b-title.m-big {
    font-size: 40px;
    max-width: 710px;
}

@media (max-width: 30em) {
    .c-header .b-title {
        margin: 1rem auto 3.5rem;
        font-size: 20px;
        max-width: 320px;
    }

    .c-header .b-title.m-big {
        font-size: 32px;
    }
}

.c-header .b-subtitle {
    font-size: 20px;
    max-width: 640px;
    margin: 0 auto;
    font-weight: 300;
    color: rgba(255, 255, 255, .7);
}

/* Content/Landing Sections */
.c-landing {
    padding: 2rem 0 3rem;
    font-size: 20px;
    font-weight: 300;
    text-align: center;
}

@media (max-width: 50em) {
    .c-landing {
        font-size: 18px;
        padding: 1.5rem 0 3rem;
    }
}

@media (max-width: 30em) {
    .c-landing {
        font-size: 18px;
        padding: 1rem 0 2rem;
    }
}

.c-landing h2 {
    margin-bottom: 1rem;
    position: relative;
}

.c-landing.m-underline {
    border-bottom: 1px solid #d8d8d8;
}

.c-landing.m-gray {
    background: #f6f6f6;
}

/* Blog Specific Styles */
.blog-posts {
    margin: 2rem 0;
}

.post-item {
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .2);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all .2s ease-in-out;
}

.post-item:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .2);
}

.post-item h2 {
    margin-top: 0;
    font-size: 32px;
}

.post-item h2 a {
    color: #32c24d;
    text-decoration: none;
}

.post-item h2 a:hover {
    color: #28a83f;
}

.post-meta {
    color: #9b9b9b;
    font-size: 14px;
    margin-bottom: 1rem;
}

.post-excerpt {
    color: #4a4a4a;
    line-height: 1.6;
}

.post-thumbnail {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

/* Pagination */
.pagination {
    text-align: center;
    padding: 2rem 0;
    font-size: 18px;
}

.pagination a {
    color: #4a90e2;
    text-decoration: none;
    padding: 0 1rem;
}

.pagination a:hover {
    text-decoration: underline;
}

.pagination .prev {
    float: left;
}

.pagination .next {
    float: right;
}

/* Single Post */
.single-post {
    background: #fff;
    padding: 2rem;
    margin: 2rem 0;
}

.single-post h1 {
    margin-top: 0;
    font-size: 42px;
    color: #32c24d;
}

.single-post .post-content {
    color: #4a4a4a;
    line-height: 1.8;
}

.single-post .post-content p {
    margin-bottom: 1rem;
}

.single-post .post-content img {
    height: auto;
    margin: 1rem 0;
}

/* Buttons/Links */
.c-pretty-link {
    border-bottom: 1px solid rgba(155, 155, 155, .35);
    transition: border .3s ease;
    color: inherit;
    text-decoration: none;
}

.c-pretty-link:hover {
    border-color: #9b9b9b;
}

.c-pretty-link.m-white {
    border-bottom: 1px solid rgba(255, 255, 255, .4);
}

.c-pretty-link.m-white:hover {
    border-color: #fff;
}

.c-pretty-link.m-green {
    border-bottom: 1px solid rgba(50, 194, 77, .3);
}

.c-pretty-link.m-green:hover {
    border-color: #32c24d;
}

.c-pretty-link.m-blue {
    color: #4a90e2;
    border-bottom: 1px solid rgba(74, 144, 226, .3);
}

.c-pretty-link.m-blue:hover {
    border-color: #4a90e2;
}

/* Responsive */
@media (max-width: 50em) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 24px;
    }
}

@media (max-width: 30em) {
    h1, h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 20px;
    }

    h5 {
        font-size: 18px;
    }

    .post-item {
        padding: 1rem;
    }
}
