/*!
Theme Name: CT Medical Weight Loss & Beyond
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ct-medical-weight-loss-beyond
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

CT Medical Weight Loss & Beyond is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */



/*Blog Detail Page*/

/* =========================================
   SINGLE BLOG DETAIL PAGE
   Single Column - No Sidebar
========================================= */

body.single-post main#primary.site-main {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 45px 30px 70px;
    box-sizing: border-box;
}

/* Blog Article */
body.single-post article {
    width: 100%;
    margin: 0 auto;
}

/* Blog Title */
body.single-post .entry-title {
    max-width: 1200px;
    margin: 0 auto 12px;

    font-size: 46px;
    line-height: 1.2;
    font-weight: 700;

    color: #171b3a;
}

/* Post Meta */
body.single-post .entry-meta {
    max-width: 1200px;
    margin: 0 auto 25px;

    font-size: 16px;
    line-height: 1.5;
    color: #555;
}

/* Featured Image */
body.single-post .post-thumbnail {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 35px;
}

body.single-post .post-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 600px;

    object-fit: cover;
    border-radius: 8px;
}

/* Blog Content */
body.single-post .entry-content {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;

    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

/* Paragraph */
body.single-post .entry-content p {
    margin-bottom: 22px;
}

/* H2 */
body.single-post .entry-content h2 {
    margin: 40px 0 18px;

    font-size: 32px;
    line-height: 1.3;
    font-weight: 700;

    color: #171b3a;
}

/* H3 */
body.single-post .entry-content h3 {
    margin: 32px 0 15px;

    font-size: 26px;
    line-height: 1.35;
    font-weight: 700;

    color: #171b3a;
}

/* H4 */
body.single-post .entry-content h4 {
    margin: 25px 0 12px;

    font-size: 22px;
    color: #171b3a;
}

/* Lists */
body.single-post .entry-content ul,
body.single-post .entry-content ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

body.single-post .entry-content li {
    margin-bottom: 10px;
}

/* Content Images */
body.single-post .entry-content img {
    max-width: 100%;
    height: auto;
}

/* Links */
body.single-post .entry-content a {
    color: #164f9e;
}

/* Previous / Next */
body.single-post .post-navigation {
    max-width: 1100px;
    margin: 50px auto 0;
    padding-top: 30px;
}

body.single-post .nav-subtitle {
    display: block;
    margin-bottom: 5px;

    font-size: 14px;
    color: #777;
}

body.single-post .nav-title {
    font-size: 18px;
    font-weight: 600;
    color: #164f9e;
}

/* Comments */
body.single-post .comments-area {
    max-width: 1100px;
    margin: 50px auto 0;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    body.single-post main#primary.site-main {
        padding: 35px 25px 60px;
    }

    body.single-post .entry-title {
        font-size: 38px;
    }

    body.single-post .entry-content {
        font-size: 17px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    body.single-post main#primary.site-main {
        padding: 25px 18px 50px;
    }

    body.single-post .entry-title {
        font-size: 30px;
        line-height: 1.25;
    }

    body.single-post .entry-meta {
        font-size: 14px;
    }

    body.single-post .post-thumbnail {
        margin-bottom: 25px;
    }

    body.single-post .post-thumbnail img {
        max-height: 350px;
        border-radius: 5px;
    }

    body.single-post .entry-content {
        font-size: 16px;
        line-height: 1.7;
    }

    body.single-post .entry-content h2 {
        font-size: 25px;
    }

    body.single-post .entry-content h3 {
        font-size: 21px;
    }
}

footer.entry-footer {
    display: none;
}


/* Category Page */


/* =========================================
   CATEGORY ARCHIVE PAGE
   SINGLE COLUMN - NO SIDEBAR
========================================= */

/* Main category container */
body.category main#primary.site-main {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 45px 30px 80px;
    box-sizing: border-box;
}


/* =========================================
   CATEGORY TITLE
========================================= */

body.category .page-header {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 35px;
    padding: 0;
}

body.category .page-title {
    margin: 0;

    font-size: 46px;
    line-height: 1.2;
    font-weight: 700;

    color: #171b3a;
}


/* =========================================
   BLOG POSTS
========================================= */

body.category article.post {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 55px;

    padding-bottom: 45px;

    border-bottom: 1px solid #e5e5e5;
}


/* =========================================
   POST TITLE
========================================= */

body.category article.post .entry-title {
    margin: 0 0 12px;

    font-size: 32px;
    line-height: 1.3;
    font-weight: 700;

    color: #171b3a;
}

body.category article.post .entry-title a {
    color: #171b3a;
    text-decoration: none;
}

body.category article.post .entry-title a:hover {
    color: #164f9e;
}


/* =========================================
   POST META
========================================= */

body.category article.post .entry-meta {
    margin-bottom: 20px;

    font-size: 15px;
    line-height: 1.5;

    color: #666;
}

body.category article.post .entry-meta a {
    color: #164f9e;
    text-decoration: none;
}


/* =========================================
   FEATURED IMAGE
========================================= */

body.category article.post .post-thumbnail {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 25px;
}

body.category article.post .post-thumbnail img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 500px;

    object-fit: cover;

    border-radius: 8px;
}


/* =========================================
   POST EXCERPT / CONTENT
========================================= */

body.category article.post .entry-summary,
body.category article.post .entry-content {
    max-width: 1100px;
    margin: 0 auto;

    font-size: 17px;
    line-height: 1.7;

    color: #333;
}

body.category article.post .entry-summary p {
    margin-bottom: 20px;
}


/* Read More */
body.category article.post .read-more,
body.category article.post .more-link {
    display: inline-block;

    margin-top: 10px;

    font-size: 16px;
    font-weight: 600;

    color: #164f9e;
    text-decoration: none;
}


/* =========================================
   PAGINATION
========================================= */

body.category .posts-navigation {
    max-width: 1100px;
    margin: 50px auto 0;

    padding-top: 30px;

    border-top: 1px solid #ddd;
}

body.category .posts-navigation a {
    color: #164f9e;
    font-weight: 600;
    text-decoration: none;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    body.category main#primary.site-main {
        padding: 35px 25px 60px;
    }

    body.category .page-title {
        font-size: 38px;
    }

    body.category article.post .entry-title {
        font-size: 28px;
    }

    body.category article.post .entry-summary {
        font-size: 16px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    body.category main#primary.site-main {
        padding: 30px 18px 50px;
    }

    body.category .page-header {
        margin-bottom: 25px;
    }

    body.category .page-title {
        font-size: 30px;
        line-height: 1.25;
    }

    body.category article.post {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }

    body.category article.post .entry-title {
        font-size: 23px;
        line-height: 1.3;
    }

    body.category article.post .entry-meta {
        font-size: 14px;
    }

    body.category article.post .post-thumbnail img {
        max-height: 300px;
        border-radius: 5px;
    }

    body.category article.post .entry-summary {
        font-size: 16px;
        line-height: 1.7;
    }
}