/*
Theme Name: KSI Market Redesign
Theme URI: https://koreastockinsight.com/
Template: kadence
Author: Korean Stock Insight
Description: A responsive financial-media child theme for Korean Stock Insight. The custom homepage is optimized for desktop, tablet, and mobile while regular posts and pages retain Kadence layouts.
Version: 1.0.2
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: ksi-market-redesign
Domain Path: /languages
*/

/* Existing post typography retained from WPlaybook ALL100 REBORN. */
.type-post p {
    text-align: justify;
}

.single .entry-content h2 {
    margin: 1.15em 0 0.6em;
    position: relative;
    padding: 5px 15px;
    border: 1px solid #fff;
    border-radius: 0 10px 0 10px;
    background: var(--wp--preset--color--theme-palette-2, #071f39);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
    color: #fff;
    font-family: "Noto Sans KR", sans-serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.6;
}

.single .entry-content h3 {
    margin: 30px 0 20px;
    padding: 3px 9px;
    border-bottom: 2px solid var(--wp--preset--color--theme-palette-2, #071f39);
    border-left: 10px solid var(--wp--preset--color--theme-palette-2, #071f39);
    background-color: #fff;
    color: var(--wp--preset--color--theme-palette-2, #071f39);
    font-size: 1.2em;
    font-weight: 700;
    text-align: left;
}

.single .entry-content h4 {
    margin: 20px 0 10px;
    padding-left: 12px;
    border-left: 5px solid var(--wp--preset--color--theme-palette-2, #071f39);
    color: var(--wp--preset--color--theme-palette-2, #071f39);
    font-family: "Noto Sans KR", sans-serif;
    font-size: 1.1em;
    font-weight: 700;
    line-height: 1.5;
}

u,
span[style*="text-decoration: underline"] {
    padding: 2px 5px;
    background: linear-gradient(to top, rgba(255, 241, 54, 0.7) 30%, transparent 40%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    text-decoration: none !important;
}
