/*
Theme Name: Hesedon Child
Template: feather-magazine
Text Domain: hesedon-child
Description: Update-safe Hesedon child theme for Feather Magazine.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

/* Hesedon 2026 usability refinements */
.home-page .post.excerpt,
.archive .post.excerpt,
.search-area .post.excerpt {
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: 12px;
    box-sizing: border-box;
    margin-bottom: 22px;
    padding: 24px;
}

.home-page .post.excerpt h2.title,
.archive .post.excerpt h2.title,
.search-area .post.excerpt h2.title {
    line-height: 1.4;
    margin-top: 0;
}

.home-page .post.excerpt h2.title a,
.archive .post.excerpt h2.title a,
.search-area .post.excerpt h2.title a {
    color: #1f2937;
    text-decoration: none;
}

.home-page .post.excerpt h2.title a:hover,
.home-page .post.excerpt h2.title a:focus,
.archive .post.excerpt h2.title a:hover,
.archive .post.excerpt h2.title a:focus,
.search-area .post.excerpt h2.title a:hover,
.search-area .post.excerpt h2.title a:focus {
    color: #7a4a1f;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-single-content a,
.article .post-content a,
.sidebar .widget a {
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.post-single-content a:not(.wp-element-button),
.article .post-content a:not(.wp-element-button) {
    text-decoration: underline;
}

.readMore a,
.pagination .current,
.pagination a:hover {
    background-color: #7a4a1f !important;
}

.readMore a:focus,
a:focus {
    outline: 2px solid #7a4a1f;
    outline-offset: 3px;
}

.entry-meta {
    color: #5f6368;
}

.hesedon-header-ad {
    box-sizing: border-box;
}

@media screen and (max-width: 720px) {
    .home-page .post.excerpt,
    .archive .post.excerpt,
    .search-area .post.excerpt {
        padding: 18px;
        text-align: left;
    }

    .post.excerpt h2.title,
    .entry-meta {
        text-align: left;
    }

    .hesedon-header-ad {
        margin: 8px auto !important;
        min-height: 72px !important;
    }
}


/* Hesedon 2026 accessibility refinements */
.site-description {
    color: #666;
}

nav.navigation a.page-numbers {
    color: #555;
}

#copyright-note .footer-info-right a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hesedon-search-header {
    margin: 0 0 20px;
}

.hesedon-search-header .search-title {
    line-height: 1.4;
}

/* Keep the first mobile viewport focused on navigation and content. */
@media screen and (max-width: 720px) {
    #block-9.widget-header {
        display: none !important;
    }
}

/* Single-post accessibility refinements */
.breadcrumb a,
.breadcrumb .root a,
.single_post #content a {
    color: #65472f;
}

.single_post #content a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.post-date-feather {
    color: #666;
}

#toc_container a,
#toc_container a:visited {
    color: #5f432e;
}

#toc_container .toc_list li > a {
    display: block;
    min-height: 24px;
    line-height: 1.45;
    padding: 3px 0;
}

/* Curated sidebar links without list semantics, resilient to ad annotations. */
.hesedon-recommended-links a {
    display: block;
    padding: 9px 0;
    border-bottom: 1px solid #e5e5e5;
    color: #555;
    text-decoration: none;
    line-height: 1.45;
}

.hesedon-recommended-links a:hover,
.hesedon-recommended-links a:focus {
    color: #333;
    text-decoration: underline;
}

/* Local system font stack: fast, readable Korean without a remote font request. */
html,
body,
button,
input,
select,
textarea {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
        "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR",
        Arial, sans-serif;
}
