/*
Theme Name: Custom Theme
Theme URI: https://iconsandroid.com
Author: Icons Android
Author URI: https://iconsandroid.com
Description: Custom WordPress theme matching the main website design
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: custom-theme
*/

/* ==========================================================================
   Base Styles - Extracted from Original Website
   ========================================================================== */

* {
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "San Francisco", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", "Segoe UI", "Fira Sans", Roboto, Oxygen, Ubuntu, "Droid Sans", Arial, sans-serif;
    font-weight: 600;
    line-height: 1.5;
    background: #fff;
    color: #9b9b9b;
}

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

a:hover {
    text-decoration: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3 {
    font-weight: 600;
    font-style: normal;
    color: #000;
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 42px;
}

h3 {
    font-size: 28px;
}

h4, h5, h6 {
    font-weight: 400;
    font-style: normal;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 16px;
}

.m-green {
    color: #32c24d;
}

img {
    max-width: 100%;
}

/* ==========================================================================
   Menu Navigation (from original site)
   ========================================================================== */

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

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

.c-menu a:hover {
    text-decoration: none;
}

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

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

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

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

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

.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 0.5rem;
    font-size: 28px;
    max-width: 540px;
}

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

/* ==========================================================================
   Blog Post Styles
   ========================================================================== */

.blog-posts {
    padding: 2rem 0;
}

.post-item {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #d8d8d8;
}

.post-item:last-child {
    border-bottom: none;
}

.post-title {
    font-size: 32px;
    margin: 0 0 1rem;
}

.post-title a {
    color: #000;
    text-decoration: none;
}

.post-title a:hover {
    color: #4a90e2;
}

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

.post-meta a {
    color: #9b9b9b;
    text-decoration: none;
}

.post-meta a:hover {
    color: #4a90e2;
}

.post-content {
    font-weight: 400;
    line-height: 1.6;
    color: #4a4a4a;
}

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

.post-thumbnail {
    margin-bottom: 1.5rem;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #d8d8d8;
    margin-top: 2rem;
}

.pagination a {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 5px;
    background: #32c24d;
    color: #fff;
    text-decoration: none;
    border-radius: 2px;
}

.pagination a:hover {
    background: #2aa742;
}

/* ==========================================================================
   Single Post Styles
   ========================================================================== */

.single-post {
    padding: 2rem 0;
}

.single-post .post-title {
    font-size: 42px;
    margin: 0 0 1rem;
}

.single-post .post-meta {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #d8d8d8;
}

.single-post .post-content {
    font-size: 18px;
}

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

@media (max-width: 890px) {
    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;
    }
    h6 {
        font-size: 16px;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center {
    text-align: center;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}
