/*
Theme Name: New World Languages
Theme URI: https://newworldlanguages.com/
Author: New World Languages
Author URI: https://newworldlanguages.com/
Description: Child theme of blogwaves for newworldlanguages.com. Adds a centred footer copyright and a classic full-content homepage - featured image, title, meta, then the whole post. Single post pages, archives, search, header, menus, sidebar and footer widgets are left exactly as the parent renders them.
Template: blogwaves
Version: 1.0.0
Requires at least: 5.0
Requires PHP: 5.6
Tested up to: 6.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: new-world-languages
Tags: blog, news, two-columns, right-sidebar, left-sidebar, custom-background, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, sticky-post, theme-options, threaded-comments, translation-ready

New World Languages is a child theme of blogwaves, distributed under the
GNU General Public License v2 or later.
*/


/*--------------------------------------------------------------
# Classic homepage blog layout
#
# blogwaves already stacks the entry as featured image -> title ->
# meta -> body, so the rules below only keep the image at its natural
# proportions and give the full post text room to breathe. Scoped to
# .home so archives and search keep the parent's excerpt card.
--------------------------------------------------------------*/

/*
 * Featured image: full width of the column at its own proportions.
 * No fixed height, no aspect-ratio and no object-fit, so nothing is
 * cropped or stretched.
 */
.home .nwl-classic-post .image-part {
    width: 100%;
    height: auto;
    line-height: 0;
    overflow: hidden;
}

.home .nwl-classic-post .image-part img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: auto;
    object-fit: initial;
}

/* Full post content, not an excerpt - give it readable body spacing. */
.home .nwl-classic-content {
    line-height: 1.8;
    overflow-wrap: break-word;
}

.home .nwl-classic-content > *:first-child {
    margin-top: 0;
}

.home .nwl-classic-content > *:last-child {
    margin-bottom: 0;
}

.home .nwl-classic-content p {
    margin-bottom: 1.2em;
}

.home .nwl-classic-content img,
.home .nwl-classic-content iframe,
.home .nwl-classic-content embed,
.home .nwl-classic-content video {
    max-width: 100%;
    height: auto;
}

.home .nwl-classic-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.home .nwl-classic-content .page-links {
    margin-top: 15px;
}

.home .nwl-classic-post {
    margin-bottom: 50px;
}

@media (max-width: 767px) {

    .home .nwl-classic-post {
        margin-bottom: 34px;
    }
}


/*--------------------------------------------------------------
# Centred footer copyright
#
# The parent centres it with .text-md-center, which only applies from
# the md breakpoint up - below that it falls back to left. Centre it
# at every width instead.
--------------------------------------------------------------*/

.copyright-footer .col-md-6 {
    text-align: center;
}

.copyright-footer p {
    margin: 0;
    text-align: center;
    line-height: 1.8;
    word-wrap: break-word;
}
