/*
Theme Name: TNT-Custom-2.62
Theme URI: http://tntdental.com
Description: TNT Custom Theme - tntdental.com
Version: 2.62
Author: Chuck/Jeff/Tim
Author URI: http://tntdental.com
Tags: mantle color, variable width, two columns, widgets
Text Domain: tnt-custom-theme
Updates: functions.php, rich results breadcrumbs updates, main image - index.php <main><main/> tag removal 
*/

.screen-reader-text {
    position: absolute;
    left: -1000em;
}

/* Captions & alignment */
.aligncenter {
    display: block;
    margin-left: auto;

.alignleft {
    margin-right: auto;
}
    float: left;
    margin: 7px 7px 0 0;
}

.alignright {
    float: right;
    margin: 7px 0 0 7px;
}

/* Blog Archive */
body.blog {

    main {
		max-width: 100%;
        padding: 0;
        margin: 0 auto;
        background-color: #fff;
    }

    .internal {

        #interior-banner {

            .contain {
				max-width: 100%;

                #page-title {
					display: block;
					padding: 150px 10px;
					height: auto;

					h1 {
						text-align: center;
						padding: 0;
						margin: 0 auto;
						color: #fff;
						max-width: 1500px;
						text-transform: capitalize;
					}
                }
            }
        }
    }

    .content-container {
        padding: 0 20px;

        .post {
            margin: 50px auto;
            padding: 20px;
            max-width: 1200px;
            background-color: #fff;
            border: 1px solid #ddd;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            text-align: left;
            position: relative;

            .storytitle {
                margin: 0;
            }

            .storytitle a {
                text-decoration: none;
            }

            .date {
                font-size: 18px;
                font-weight: 700;
                margin: 10px 0 15px;
            }

            .storycontent {

                .featured-image {
                    float: left;
                    display: block;
                    margin: 0 10px 10px 0;

                    img {
                        height: auto;
                    }
                }
            }
        }
    }
}

/* Single Post */
body.single-post {

    main {
		max-width: 100%;
        padding: 0;
        margin: 0 auto;
        background-color: #fff;
    }

    .internal {

        #interior-banner {

            .contain {
				max-width: 100%;

                #page-title {
					display: block;
					padding: 150px 10px;
					height: auto;

					h1 {
						text-align: center;
						padding: 0;
						margin: 0 auto;
						color: #fff;
						max-width: 1500px;
						text-transform: capitalize;
					}
                }
            }
        }
    }

    .content-container {
        padding: 0 20px;

        .post {
            margin: 50px auto;
            padding: 20px;
            max-width: 1200px;
            background-color: #fff;
            border: 1px solid #ddd;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            text-align: left;
            position: relative;

            .featured-image + h2 {
                margin: 0;
                padding: 0;
            }

            h2 {
                margin: 0;
                padding: 30px 0 0;

                &:first-child {
                    margin: 0;
                    padding: 0;
                }
            }

            .featured-image + h3 {
                margin: 0;
                padding: 0;
            }

            h3 {
                margin: 0;
                padding: 30px 0 0;

                &:first-child {
                    margin: 0;
                    padding: 0;
                }
            }

            .storytitle {
                margin: 0;
            }

            .storytitle a {
                text-decoration: none;
            }

            .date {
                font-size: 18px;
                font-weight: 700;
                margin: 0 0 15px;
            }

            .storycontent {

                .featured-image {
                    float: left;
                    display: block;
                    margin: 0 20px 10px 0;

                    img {
                        height: auto;
                    }
                }
            }
        }
    }
}

/* Navigation */
.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding: 10px 0;
    background-color: #f8f8f8;
    border-top: 1px solid #dddddd;
    font-family: inherit;
    font-size: 18px;
    text-align: center;

    a {
        text-decoration: none;
        padding: 10px;
        transition: color 0.3s ease;

        &:hover {
            text-decoration: underline;
        }
    }

    .nav-previous {
        margin: 0 10px;
    }

    .nav-next {
        margin: 0 10px;
    }
}

@media screen and (max-width: 1000px) {

    body.single-post {

        .content-container {

            .post {

                .storycontent {

                    .featured-image {
                        float: none;
                        margin: 0 0 20px;
                    }
                }
            }
        }
    }
}

@media screen and (max-width: 800px) {

    .wp-block-image figure {
        float: none !important;
        margin: 10px auto !important;
    }

    .post h1,
    .post h2,
    .post h3,
    .post h4,
    .post h5,
    .post h6 {
        text-align: center !important;
    }

    .date {
        text-align: center !important;
    }

    body.blog {

        .content-container {

            .post {

                .storycontent {

                    .featured-image {
                        float: none;
                        margin: 0 0 20px;
                    }
                }
            }
        }
    }

    body.single-post {

        .content-container {

            .post {

                .storycontent {

                    .featured-image {
                        float: none;
                        margin: 0 0 20px;
                    }
                }
            }
        }
    }
}
