/*
Theme Name: Tembusu Treehouse 2025
Theme URI: 
Author: Jo Shin
Author URI: 
Description: This is the theme for the Tembusu Treehouse blog page created in 2025.
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 1.0
Template: kentwood
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tembusu-treehouse-2025
Tags: block-theme, full-site-editing
*/

.sticky-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100000;
}

.content-style {
    text-align: justify;
}

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

.bsf-rt-reading-time {
    font-size: 0.88rem;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
    background-color: #01512c;
    padding-left: 1rem;
}

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

.search-field div input {
    border-radius: 20px !important;
}

/* On smaller screens */
@media (max-width: 1200px) {
    .search-field {
        width: 100%;
        padding-left: 15px;
    }
    .search-field div button {
        width: 10%;
        padding: 15px;
    }
}

/* On larger screens */
@media (min-width: 870px) {
    /* Hide the menu toggle button */
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: none;
    }

    /* Show the menu items */
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        background-color: inherit;
        display: block;
        position: relative;
        width: 100%;
        z-index: auto;
    }
}

/* On smaller screens */
@media (max-width: 870px) {
    /* Show the menu toggle button */
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: inline-block;
    }

    /* Style the modal */
    #modal-1 > div > div {
        margin: 30px;
    }

    #modal-1-content ul {
        width: 100%;
    }

    #modal-1-content ul li {
        width: 100%;
    }

    #modal-1-content ul li a {
        font-size: x-large;
        text-align: center;
        width: 100%;
    }

    /* Hide the menu items by default */
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none;
    }
}

@media (min-width: 800px) {
    .wp-container-core-post-content-is-layout-813e62b0 > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
        max-width: 70% !important;
    }
}

/* .wp-block-navigation .wp-block-navigation-item__content {
  padding: 1rem;
}

.wp-block-navigation .wp-block-navigation-item a:hover,
.wp-block-navigation .wp-block-navigation-item a:focus {
	background-color: #282828;
	color: #ffffff;
    border-radius: 5rem;
    padding: 1rem !important;
} */
