/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 7.2
Version: 1.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * IMPORTANT: This file is only served on the frontend when `SCRIPT_DEBUG` is enabled;
 * in most instances, the `style.min.css` file will be served. It is not recommended that you
 * use the Theme File Editor to modify this stylesheet. Instead, add the necessary style
 * overrides via "Additional CSS" in the Site Editor.
 */

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 * https://core.trac.wordpress.org/ticket/63875
 */
:where(pre) {
	overflow-x: auto;
}

/*
 * My additions
 */
 
 /* Custom Scripture & Linguistic Layout Container */
.linguistic-scripture-block {
    background: #fbfaf7; /* Matches your theme's soft beige color background */
    border-left: 3px solid #111111; /* Sharp minimalist vertical border line */
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    box-shadow: inset 5px 0 10px -5px rgba(0,0,0,0.05); /* Faint paper shadow depth */
}

.scripture-text {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.6;
    color: #111111;
}

.scripture-citation {
    display: block;
    text-align: right;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    color: #666666;
}

/* Hidden Accordion Wrapper for Deep Linguistic Notes */
.linguistic-dropdown {
    margin-top: 1rem;
    border-top: 1px dashed #cccccc;
    padding-top: 0.75rem;
}

.linguistic-toggle {
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: #777777;
}

/* Hide the linguistic content dropdown layout by default */
.linguistic-content {
    display: none;
    margin-top: 0.5rem;
    padding-left: 1.2rem;
    list-style-type: disc;
}

/* ==========================================================================
   Mahttye Strong's Lexicon Card Styles
   ========================================================================== */

.lexicon-entry-block {
    background: #fbfaf7;
    border-left: 3px solid #666666; /* Subdued gray border to visually differentiate from scripture blocks */
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    box-shadow: inset 5px 0 10px -5px rgba(0,0,0,0.05);
}

/* Lexicon Header Configuration */
/* Update your existing block in style.css to match this */
h3.lexicon-header-meta {
    font-size: 1.25rem !important; /* Strips browser H3 bloating */
    font-weight: normal !important; /* Let our internal <strong> tag handle the strong weight */
    line-height: 1.4;
    color: #111111;
    margin-top: 0 !important; /* Prevents default heading top gaps */
    margin-bottom: 1rem !important;
    letter-spacing: 0.5px;
    border: none !important; /* Prevents theme layout line accents from injecting */
}


/* Hebrew Glyph Separation & Size Optimization */
.lexicon-header-meta .hebrew-glyph {
    font-family: "SBL Hebrew", "Arial Hebrew", Georgia, serif;
    font-size: 1.45rem;
    padding: 0 0.5rem;
    direction: rtl;
}

/* Transliteration Styling */
.lexicon-header-meta .transliteration {
    font-style: italic;
    color: #444444;
}

/* Semantic Definition Tree Indent Controls */
.lexicon-definition-tree, 
.lexicon-definition-tree ul {
    list-style-type: none !important; /* Eliminates standard bullet dots */
    padding-left: 0 !important;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

/* Tree Branch Indentation */
.lexicon-definition-tree ul {
    padding-left: 1.5rem !important;
}

/* Definition Row Lines */
.lexicon-definition-tree li {
    font-size: 1rem;
    line-height: 1.6;
    color: #222222;
    margin-bottom: 0.25rem;
}

/* Massive Image Protection (Gesenius Plates) */
.lexicon-deep-analysis img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 1.5rem auto 0 auto;
    border: 1px solid #eeeeee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

/* Ensure the wrapper group functions correctly with custom.js display overrides */
div.linguistic-content.lexicon-deep-analysis {
    display: none;
    margin-top: 0.75rem;
}

/* Makes the header completely transparent but preserves layout coordinates for the ToC */
.invisible-toc-target {
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute; /* Pulls it out of the visible spacing flow */
}