/*
Theme Name: Tips Kesihatan
Description: An independent Malay health publication theme built for the WordPress Site Editor. No required plugins or external asset services.
Author: Tips Kesihatan
Version: 1.13.0
Requires at least: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tips-kesihatan
Tags: blog, news, full-site-editing, block-patterns, custom-colors, custom-logo, editor-style, wide-blocks
*/

/* All typography uses fonts already available on the reader's device. */
:root{--tkh-border:var(--wp--preset--color--line,#dbe4dd);--tkh-teal:var(--wp--preset--color--teal,#17665b);--tkh-ink:var(--wp--preset--color--ink,#163b38);--tkh-muted:var(--wp--preset--color--muted,#576963);--tkh-paper:var(--wp--preset--color--paper,#fafaf6)}
*{box-sizing:border-box}html{scroll-padding-top:2rem}body{margin:0}img{max-width:100%;height:auto}a,button,input{ -webkit-tap-highlight-color:transparent}a{text-underline-offset:.2em}a:hover{text-decoration-thickness:2px}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--tkh-teal);outline-offset:5px}button,input,select,textarea{font:inherit}p{overflow-wrap:break-word}h1,h2,h3{overflow-wrap:break-word;text-wrap:pretty}figure{margin:0}.wp-site-blocks>header,.wp-site-blocks>footer{margin-block-start:0}.wp-block-post-content{overflow-wrap:anywhere}.wp-block-post-content>*{max-width:100%}.wp-block-post-content .alignwide,.wp-block-post-content .alignfull{max-width:100%}.wp-block-post-content iframe{max-width:100%}.wp-block-post-content table{max-width:100%}.wp-block-table{overflow-x:auto}.wp-block-post-content pre{white-space:pre-wrap}.wp-block-post-content h2,.wp-block-post-content h3{scroll-margin-top:2rem}.wp-block-button__link{transition:background .16s,color .16s}.wp-block-button__link:hover{background:var(--tkh-ink);color:#fff}.wp-block-post-title a:hover{color:var(--tkh-teal)}
.tkh-topline{background:var(--tkh-ink);color:#f4f8f3;font-size:.72rem;letter-spacing:.04em;padding:8px 24px;text-align:center}.tkh-topline p{margin:0}.tkh-header{border-bottom:1px solid var(--tkh-border);padding-block:24px;background:var(--tkh-paper)}.tkh-header-inner{gap:24px!important}.tkh-brand{gap:12px!important;flex-shrink:0}.tkh-brandmark{width:40px;height:40px;border-radius:12px 12px 12px 3px;display:grid;place-items:center;background:var(--tkh-teal);color:#fff;font-size:31px;font-weight:300;line-height:1}.tkh-brand .wp-block-site-title{margin:0!important;line-height:1.15}.tkh-brand-caption{font-size:.65rem!important;letter-spacing:.15em;text-transform:uppercase;margin:5px 0 0!important;color:var(--tkh-muted)}.tkh-header .wp-block-navigation{gap:25px}.tkh-header .wp-block-site-logo img{max-height:52px;width:auto}.tkh-header-search{font-size:.8rem;white-space:nowrap;text-decoration:none;border:1px solid var(--tkh-border);border-radius:100px;padding:8px 16px}.tkh-eyebrow{font-size:.7rem!important;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--tkh-teal);margin:0 0 18px}.tkh-hero{padding-block:64px 48px}.tkh-hero-columns{gap:72px!important;align-items:center!important}.tkh-hero h1{margin:0!important;line-height:1.04;letter-spacing:-.05em;max-width:650px}.tkh-hero h1 em{color:var(--tkh-teal);font-weight:400}.tkh-hero-intro{max-width:480px;font-size:1.06rem;color:var(--tkh-muted);line-height:1.7;margin-block:24px!important}.tkh-search{margin-block:25px 15px!important}.tkh-search .wp-block-search__inside-wrapper{background:#fff;padding:6px;border:1px solid #b9cbc0;border-radius:8px;box-shadow:0 4px 16px #173b3810;gap:6px}.tkh-search .wp-block-search__input{border:0;padding:12px;min-width:0;background:transparent;font-size:.95rem}.tkh-search .wp-block-search__button{margin:0;padding:10px 23px;border:0;border-radius:5px;font-size:.875rem}.tkh-search-label{font-size:.75rem!important;color:var(--tkh-muted)}.tkh-search-label a{color:inherit}.tkh-hero-feature .wp-block-post-template{margin:0}.tkh-hero-feature .wp-block-post{position:relative}.tkh-hero-feature .wp-block-post-featured-image img{height:310px;object-fit:cover;border-radius:6px}.tkh-hero-feature .tkh-image-placeholder{height:310px}.tkh-hero-feature .wp-block-post-title{font-size:1.8rem;margin:12px 0!important;line-height:1.18}.tkh-hero-feature .wp-block-post-terms{margin-top:18px}.tkh-hero-feature .wp-block-post-date{margin:0!important}.tkh-hero-feature .wp-block-post-excerpt{display:none}.tkh-hero-feature .wp-block-post-author-name{font-size:.8rem}
.tkh-topic-strip{border-block:1px solid var(--tkh-border);padding-block:22px;margin-block:0!important}.tkh-topic-links{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.tkh-topic-label{font-size:.75rem;font-weight:700;margin-right:20px}.tkh-topic-links a{text-decoration:none;font-size:.83rem;border:1px solid var(--tkh-border);border-radius:100px;padding:8px 17px;background:#fff;color:var(--tkh-ink)}.tkh-topic-links a:hover{background:var(--tkh-ink);border-color:var(--tkh-ink);color:#fff}.tkh-section{padding-block:58px}.tkh-section-heading{margin-bottom:28px!important;gap:18px}.tkh-section-heading h2{font-size:2.25rem;margin:0}.tkh-section-heading a{font-size:.85rem;text-decoration:none;font-weight:600}.tkh-section-heading p{margin:0}.tkh-kicker-number{font-family:var(--wp--preset--font-family--sans);font-size:.72rem;color:var(--tkh-muted);letter-spacing:.08em;margin-right:16px;vertical-align:middle}.tkh-card-grid{gap:32px!important}.tkh-card-grid .wp-block-post-featured-image img{aspect-ratio:1.5;object-fit:cover;border-radius:6px}.tkh-card-grid .wp-block-post-title{font-size:1.55rem;line-height:1.25;margin:12px 0!important}.tkh-card-grid .wp-block-post-terms{margin-top:18px}.tkh-card-grid .wp-block-post-excerpt{color:var(--tkh-muted);margin-top:12px}.tkh-card-grid .wp-block-post-excerpt p{margin:0}.tkh-card-meta{gap:10px!important;margin-top:16px!important;font-size:.8rem;color:var(--tkh-muted)}.tkh-card-meta .wp-block-post-author-name{font-size:inherit}.tkh-card-meta .wp-block-post-date{font-size:inherit}.tkh-image-placeholder{height:230px;background:radial-gradient(ellipse at 80% 0%,#d5edaa 0,transparent 52%),linear-gradient(140deg,#dce9e0,#91b6a9);border-radius:6px;overflow:hidden;display:grid;place-items:center}.tkh-image-placeholder span{font:100 180px/1 Georgia,serif;color:#fff8;transform:rotate(-12deg)}
.tkh-tools{background:var(--tkh-ink);color:#fff;border-radius:8px;padding:44px!important;margin-block:10px 24px!important}.tkh-tools .tkh-eyebrow{color:var(--wp--preset--color--lime)}.tkh-tools h2{color:#fff;margin:0;font-size:2.35rem}.tkh-tools-intro{font-size:.95rem;line-height:1.65;color:#d4e2dc;max-width:390px}.tkh-tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#ffffff25;margin-top:30px}.tkh-tool{display:block;text-decoration:none!important;color:white!important;background:var(--tkh-ink);padding:24px}.tkh-tool:hover{background:#ffffff09}.tkh-tool-icon{display:block;margin-bottom:22px;font-size:1.25rem;color:var(--wp--preset--color--lime);font-family:monospace}.tkh-tool strong{display:flex;justify-content:space-between;gap:8px;font-size:1rem}.tkh-tool small{display:block;color:#c2d4cd;margin-top:8px;line-height:1.6;font-size:.85rem}.tkh-tool-arrow{font-weight:400}.tkh-resources-note{font-size:.72rem;color:#c2d4cd;margin:22px 0 0}.tkh-editorial-note{border-block:1px solid var(--tkh-border);padding-block:32px;gap:40px!important;margin-block:40px 60px!important}.tkh-editorial-note h2{font-size:1.65rem;margin:0}.tkh-editorial-note p{font-size:.925rem;color:var(--tkh-muted);margin:0;max-width:650px}.tkh-footer{padding-block:44px 25px;background:#eef2eb;border-top:1px solid var(--tkh-border)}.tkh-footer-top{gap:36px!important}.tkh-footer .wp-block-site-title{font-size:1.3rem}.tkh-footer p{font-size:.875rem;max-width:430px;color:var(--tkh-muted)}.tkh-footer-links{display:flex;flex-wrap:wrap;gap:12px 25px;font-size:.8rem}.tkh-footer-links a{text-decoration:none}.tkh-footer-bottom{padding-top:24px;margin-top:28px!important;border-top:1px solid #cdd8ce;gap:16px!important}.tkh-footer-bottom p{font-size:.7rem;margin:0}.tkh-footer-bottom a{font-size:.75rem}.tkh-ad-area:empty{display:none}.tkh-ad-area{max-width:1240px;margin-inline:auto}.tkh-ad-area>div:empty{display:none}
.tkh-page-header{padding-block:56px 30px}.tkh-page-header h1{font-size:clamp(2.4rem,5vw,4rem);margin:12px 0}.tkh-article-header{padding-block:54px 32px}.tkh-article-header .wp-block-post-title{font-size:clamp(2.3rem,4.5vw,3.65rem);line-height:1.1;margin:16px 0 24px}.tkh-article-header .wp-block-post-excerpt{font-size:1.18rem;color:var(--tkh-muted);line-height:1.6}.tkh-article-header .tkh-card-meta{padding-top:22px;border-top:1px solid var(--tkh-border);gap:14px!important;flex-wrap:wrap}.tkh-article-header .wp-block-post-featured-image{margin-top:32px}.tkh-article-header .wp-block-post-featured-image img{max-height:560px;object-fit:cover;border-radius:6px}.tkh-article-content{font-size:1.125rem;line-height:1.8}.tkh-article-content h2{font-size:2rem;margin-top:2.5rem}.tkh-article-content h3{font-size:1.5rem;margin-top:2rem}.tkh-article-content ul,.tkh-article-content ol{padding-left:1.5rem}.tkh-article-content li{padding-left:.3rem;margin-block:.5rem}.tkh-article-content figcaption{font-size:.8rem;color:var(--tkh-muted)}.tkh-article-content a{overflow-wrap:anywhere}.tkh-toc{padding:20px 26px;background:var(--wp--preset--color--mint);border:1px solid var(--tkh-border);border-radius:6px;margin-bottom:36px}.tkh-toc[hidden]{display:none}.tkh-toc summary{cursor:pointer;font-weight:650;font-size:.95rem}.tkh-toc ol{font-size:.9rem;margin-bottom:0;padding-left:1.3rem;columns:2;column-gap:28px}.tkh-toc li{break-inside:avoid;margin-bottom:8px}.tkh-toc a{color:var(--tkh-ink);text-decoration:none}.tkh-toc a:hover{text-decoration:underline}.tkh-disclaimer{font-size:.8rem;padding:20px 24px;border-left:3px solid var(--tkh-teal);background:var(--wp--preset--color--mint);color:var(--tkh-muted);margin-block:36px!important}.tkh-author{padding-block:28px;border-top:1px solid var(--tkh-border)}.tkh-author .wp-block-post-author-biography{font-size:.95rem;color:var(--tkh-muted)}.tkh-post-navigation{display:grid!important;grid-template-columns:1fr 1fr;gap:32px;margin-block:30px 50px!important;border-block:1px solid var(--tkh-border);padding-block:24px}.tkh-post-navigation a{font-size:.95rem}.tkh-post-navigation .post-navigation-link-next{text-align:right}.tkh-comments{padding-block:32px 64px}.tkh-comments input:not([type=checkbox]):not([type=submit]),.tkh-comments textarea{width:100%;padding:12px;border:1px solid #a5b8ac;border-radius:4px;background:#fff}.tkh-comments input[type=submit]{background:var(--tkh-teal);color:#fff;border:0;border-radius:5px;padding:12px 20px;cursor:pointer}.tkh-comments label{font-size:.85rem}.tkh-comments .wp-block-comment-author-name{font-weight:650}.tkh-comments .wp-block-comment-date{font-size:.8rem}.wp-block-query-pagination{gap:12px;padding-block:32px}.wp-block-query-pagination a,.wp-block-query-pagination .page-numbers{padding:7px 12px}.wp-block-query-pagination .current{background:var(--tkh-ink);color:#fff;border-radius:4px}.tkh-empty{padding:30px;background:var(--wp--preset--color--mint);border-radius:6px}.tkh-empty p{font-size:1rem}.tkh-404{text-align:center;padding-block:90px}.tkh-404 h1{font-size:clamp(3rem,7vw,5.5rem)}.tkh-404 p{max-width:550px;margin-inline:auto}.tkh-wide-content{padding-bottom:64px}.tkh-notice-pattern{border-left:3px solid var(--tkh-teal);background:var(--wp--preset--color--mint);padding:24px}.tkh-notice-pattern h2{font-size:1.4rem;margin:0 0 12px}.tkh-notice-pattern p{margin:0;font-size:1rem}.tkh-reference-pattern{border-top:1px solid var(--tkh-border);padding-top:24px}.tkh-reference-pattern li{font-size:.95rem}
@media(min-width:1000px){.tkh-hero-columns>.wp-block-column:first-child{flex-basis:55%!important}.tkh-hero-columns>.wp-block-column:last-child{flex-basis:45%!important}}
@media(max-width:1000px){.tkh-header .wp-block-navigation{gap:15px}.tkh-header-search{display:none}.tkh-hero-columns{gap:36px!important}.tkh-hero-feature .wp-block-post-featured-image img{height:270px}.tkh-tools{padding:32px!important}.tkh-card-grid{gap:24px!important}}
@media(max-width:781px){.tkh-topline{font-size:.65rem}.tkh-header{padding-block:18px}.tkh-header-inner{gap:12px!important}.tkh-brand .wp-block-site-title{font-size:1.15rem}.tkh-brandmark{height:34px;width:34px;font-size:26px}.tkh-brand-caption{font-size:.58rem!important}.tkh-hero{padding-block:38px 32px}.tkh-hero-columns{gap:36px!important}.tkh-hero h1{max-width:600px}.tkh-hero-feature .wp-block-post-featured-image img{height:auto;aspect-ratio:1.65}.tkh-hero-feature .wp-block-post-title{font-size:1.65rem}.tkh-topic-label{width:100%;margin:0 0 2px}.tkh-topic-links{gap:8px}.tkh-topic-links a{padding:7px 13px;font-size:.78rem}.tkh-section{padding-block:38px}.tkh-section-heading h2{font-size:1.85rem}.tkh-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tkh-tools h2{font-size:2rem}.tkh-tools-grid{grid-template-columns:1fr}.tkh-tool{padding:24px 0}.tkh-tool-icon{margin-bottom:10px}.tkh-editorial-note{gap:18px!important;margin-block:26px 40px!important}.tkh-editorial-note>.wp-block-column{flex-basis:100%!important}.tkh-footer-top{align-items:flex-start!important}.tkh-footer-links{gap:12px 20px}.tkh-article-header{padding-top:34px}.tkh-toc ol{columns:1}.tkh-article-content{font-size:1.125rem}.tkh-article-content h2{font-size:1.8rem}.tkh-article-header .wp-block-post-excerpt{font-size:1.05rem}.tkh-page-header{padding-top:36px}}
@media(max-width:599px){.tkh-header .wp-block-navigation{margin-left:auto}.tkh-header-inner{flex-wrap:nowrap!important}.tkh-card-grid{grid-template-columns:1fr!important;gap:32px!important}.tkh-card-grid .wp-block-post-title{font-size:1.7rem}.tkh-section-heading{align-items:flex-start!important}.tkh-section-heading a{font-size:.75rem}.tkh-kicker-number{display:none}.tkh-tools{padding:26px!important}.tkh-post-navigation{grid-template-columns:1fr}.tkh-post-navigation .post-navigation-link-next{text-align:left}.tkh-search .wp-block-search__button{padding-inline:16px}.tkh-footer-bottom{flex-direction:column;align-items:flex-start!important}.tkh-404{padding-block:50px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.wp-site-blocks>header,.wp-site-blocks>footer,.tkh-header,.tkh-footer,.tkh-topline,.tkh-toc,.tkh-ad-area,.tkh-post-navigation,.tkh-comments{display:none!important}body{background:#fff;color:#000}.tkh-article-header{padding-top:0}.wp-block-post-content{font-size:12pt}.wp-block-post-featured-image img{max-height:250px}.wp-site-blocks{padding:0}}



.tkh-tools-grid>.tkh-tool{margin:0!important}.tkh-tool h3{font-family:var(--wp--preset--font-family--sans);font-size:1rem;font-weight:600;letter-spacing:0;line-height:1.5;margin:0}.tkh-tool h3 a{color:#fff;text-decoration:none}.tkh-tool h3 a:hover{text-decoration:underline}.tkh-tool .tkh-tool-description{color:#c2d4cd;margin-top:8px;font-size:.85rem;line-height:1.6}.tkh-brand:has(.wp-block-site-logo img) .tkh-brandmark{display:none}

/* Editorial patterns are ordinary blocks and remain editable after a theme change. */
.tkh-article-section{padding:24px;border:1px solid var(--tkh-border);border-radius:8px;margin-block:32px;background:var(--wp--preset--color--mint,#eaf2ed)}
.tkh-article-section h2{margin:0 0 16px;font-size:1.5rem;line-height:1.35}
.tkh-article-section>:last-child{margin-bottom:0}
.tkh-article-section li{margin-block:10px}
.tkh-section-care{background:var(--tkh-paper);border-left:4px solid var(--tkh-teal)}
.tkh-related{margin-block:40px;padding-block:28px;border-top:1px solid var(--tkh-border)}
.tkh-related>h2{font-size:1.8rem;margin:0 0 24px}
.tkh-related-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.tkh-related-grid li{min-width:0;margin:0;padding:0}
.tkh-related-grid a{display:block;text-decoration:none;color:var(--tkh-ink)}
.tkh-related-grid a:hover h3{text-decoration:underline;color:var(--tkh-teal)}
.tkh-related-grid img{display:block;width:100%;aspect-ratio:1.5;object-fit:cover;border-radius:6px;margin-bottom:14px}
.tkh-related-grid h3{font-size:1.2rem;line-height:1.35;margin:0 0 12px}
.tkh-related-grid time{font-size:.8rem;color:var(--tkh-muted)}
@media(max-width:599px){.tkh-related-grid{grid-template-columns:1fr;gap:28px}.tkh-related-grid img{max-height:220px}.tkh-article-section{padding:20px}}
@media print{.tkh-related{display:none}}

/* Keep uploaded branding visible alongside the mobile menu button. */
@media(max-width:599px){
 .tkh-header .tkh-brand{flex:1 1 auto;min-width:0;gap:10px!important}
 .tkh-brand>.wp-block-group{min-width:0}
 .tkh-header .tkh-brand .wp-block-site-logo{display:block;flex:0 0 auto}
 .tkh-header .wp-block-site-logo img{display:block;width:auto;max-width:44px;max-height:44px;object-fit:contain}
 .tkh-header .wp-block-navigation{flex:0 0 auto}
 .tkh-header .wp-block-navigation__responsive-container-open{min-width:44px;min-height:44px;align-items:center;justify-content:center}
}
/* Override desktop justification only inside WordPress's open menu overlay.
   Submenus stay expanded, with consistent indentation at every nesting level. */
.tkh-header .wp-block-navigation__responsive-container.is-menu-open{
 --navigation-layout-justification-setting:flex-start;
 --navigation-layout-justify:flex-start;
 background:var(--tkh-paper)!important;color:var(--tkh-ink)!important;
 padding:24px!important;
}
.tkh-header .is-menu-open .wp-block-navigation__responsive-container-content{
 align-items:stretch!important;justify-content:flex-start!important;
 text-align:left;width:100%;gap:0!important;padding-top:56px!important;
}
.tkh-header .is-menu-open .wp-block-navigation__container{
 align-items:stretch!important;justify-content:flex-start!important;
 width:100%;gap:0!important;
}
.tkh-header .is-menu-open .wp-block-navigation-item{
 align-items:stretch!important;justify-content:flex-start!important;
 text-align:left!important;width:100%;min-width:0;gap:0!important;
}
.tkh-header .is-menu-open .wp-block-navigation-item__content{
 display:block;width:100%;min-height:44px;padding:10px 0!important;
 font-size:1.1rem;line-height:1.5;white-space:normal;overflow-wrap:anywhere;
 text-align:left!important;
}
.tkh-header .is-menu-open .wp-block-navigation__submenu-container{
 align-items:stretch!important;width:100%!important;min-width:0!important;
 padding:0 0 0 18px!important;margin:0 0 8px!important;gap:0!important;
 border:0!important;border-left:1px solid var(--tkh-border)!important;
}
.tkh-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content{
 font-size:1rem;font-weight:400;
}
.tkh-header .is-menu-open .wp-block-navigation__responsive-container-close{
 min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;
}

/* Native search: full-page GET navigation, no frontend script. */
.tkh-search-controls{max-width:100%}
.tkh-search-form{max-width:760px;margin-block:28px 24px}
.tkh-search-form label{display:block;font-size:.85rem;font-weight:600;margin-bottom:8px}
.tkh-search-fields{display:flex;gap:8px;padding:6px;background:#fff;border:1px solid #b9cbc0;border-radius:8px}
.tkh-search-fields input{flex:1;min-width:0;width:100%;border:0;background:transparent;color:var(--tkh-ink);padding:12px;font-size:1rem}
.tkh-search-fields button{flex-shrink:0;min-height:44px;padding:10px 22px;background:var(--tkh-teal);color:#fff;border:0;border-radius:5px;cursor:pointer}
.tkh-search-fields button:hover{background:var(--tkh-ink)}
/* Use the rounded search container as the input focus indicator. */
.tkh-search-fields:focus-within,.tkh-search .wp-block-search__inside-wrapper:focus-within{border-color:var(--tkh-teal);outline:2px solid var(--tkh-teal);outline-offset:2px;box-shadow:0 0 0 5px #19685d12}
.tkh-search-fields:focus-within input:focus,.tkh-search .wp-block-search__inside-wrapper:focus-within .wp-block-search__input:focus{outline:none;box-shadow:none}
.tkh-search-fields button:focus-visible,.tkh-search .wp-block-search__button:focus-visible{outline:2px solid var(--tkh-teal);outline-offset:2px}
.tkh-search-filters{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}
.tkh-search-filters li{margin:0;padding:0}
.tkh-search-filters a{display:flex;align-items:center;min-height:44px;padding:8px 18px;border:1px solid var(--tkh-border);border-radius:100px;background:#fff;color:var(--tkh-ink);font-size:.875rem;text-decoration:none}
.tkh-search-filters a:hover{border-color:var(--tkh-teal);text-decoration:underline}
.tkh-search-filters a[aria-current="page"]{background:var(--tkh-ink);border-color:var(--tkh-ink);color:#fff;font-weight:700}
.tkh-search-scope{font-size:.8rem;color:var(--tkh-muted);margin-block:14px 0}
.tkh-search-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px;margin-top:20px;padding-top:16px;border-top:1px solid var(--tkh-border);font-size:.875rem}
.tkh-search-summary p{margin:0}
.tkh-search-summary a,.tkh-search-empty a{display:inline-flex;align-items:center;min-height:44px}
.tkh-search-empty h2{font-size:1.6rem;margin-top:0}
@media(max-width:599px){.tkh-search-fields button{padding-inline:16px}.tkh-search-filters a{padding-inline:15px}.tkh-search-form{margin-top:20px}}

/* Breadcrumbs and category browsing. */
.tkh-breadcrumbs{font-size:.8rem;color:var(--tkh-muted);margin-bottom:20px}
.tkh-breadcrumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:0 8px;list-style:none;padding:0;margin:0}
.tkh-breadcrumbs li{display:flex;align-items:baseline;gap:8px;min-width:0;max-width:100%;margin:0;padding:0}
.tkh-breadcrumbs a{display:inline-flex;align-items:center;min-height:44px;color:inherit}
.tkh-breadcrumbs [aria-current]{overflow-wrap:anywhere}
.tkh-breadcrumb-separator{color:var(--tkh-muted);flex-shrink:0}
.tkh-category-links{margin-block:24px}
.tkh-category-links p{font-size:.85rem;font-weight:600;margin-bottom:10px}
.tkh-category-links ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0}
.tkh-category-links li{max-width:100%;margin:0;padding:0}
.tkh-category-links a{display:flex;align-items:center;min-height:44px;max-width:100%;padding:8px 18px;border:1px solid var(--tkh-border);border-radius:100px;background:#fff;color:var(--tkh-ink);font-size:.875rem;text-decoration:none;overflow-wrap:anywhere}
.tkh-category-links a:hover{border-color:var(--tkh-teal);text-decoration:underline}
.tkh-category-featured{margin-top:32px;padding:28px;border:1px solid var(--tkh-border);border-radius:8px;background:var(--wp--preset--color--mint,#eaf2ed)}
.tkh-category-featured>h2{font-size:1.7rem;margin:0 0 24px}
@media(max-width:599px){.tkh-category-featured{padding:20px}.tkh-breadcrumbs{font-size:.75rem}}
@media print{.tkh-breadcrumbs,.tkh-category-links,.tkh-category-featured{display:none!important}}

/* Article sharing and correction reports. */
.tkh-share { padding-block: 1.25rem; border-block: 1px solid var(--tkh-border); }
.tkh-share .tkh-actions-label { margin: 0 0 .65rem; font-size: .95rem; font-weight: 700; }
.tkh-share-buttons { display: flex; flex-wrap: wrap; gap: .6rem; }
.tkh-share-buttons :is(a, button) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--tkh-border); border-radius: 999px; background: #fff; color: var(--tkh-ink); font: inherit; font-size: .9rem; font-weight: 650; line-height: 1.4; text-decoration: none; cursor: pointer; }
.tkh-share-buttons :is(a, button):hover { border-color: var(--tkh-teal); background: var(--tkh-paper); }
.tkh-share-buttons button:disabled { opacity: .65; cursor: wait; }
.tkh-share [hidden], .tkh-report-context[hidden], .tkh-report-context [hidden] { display: none !important; }
.tkh-share .tkh-action-status { margin: .5rem 0 0; color: var(--tkh-muted); font-size: .85rem; }
.tkh-share .tkh-action-status:empty { margin: 0; }
.tkh-share [data-tkh-copy-fallback] { margin-top: 1rem; }
.tkh-share label, .tkh-report-context label { display: block; font-size: .875rem; font-weight: 650; margin-bottom: .4rem; }
.tkh-share input, .tkh-report-context textarea { box-sizing: border-box; width: 100%; max-width: 100%; padding: .75rem; border: 1px solid var(--tkh-border); border-radius: .5rem; background: #fff; color: var(--tkh-ink); font: inherit; font-size: 1rem; }
.tkh-report-link { padding-block: .5rem 1.25rem; }
.tkh-report-link > a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; text-underline-offset: .2em; }
.tkh-report-link > p { margin: .15rem 0 0; color: var(--tkh-muted); font-size: .85rem; line-height: 1.6; }
.tkh-report-context { padding: clamp(1rem, 3vw, 1.5rem); margin-block: 0 1.5rem; border: 1px solid var(--tkh-border); border-radius: .75rem; background: #fff; }
.tkh-report-context h2 { margin: 0 0 .75rem; font-size: 1.4rem; }
.tkh-report-context p { font-size: .95rem; line-height: 1.6; }
.tkh-report-context textarea { resize: vertical; }
.tkh-contact-page .wpcf7 :is(label, .wpcf7-form-control-wrap) { display: block; max-width: 100%; }
.tkh-contact-page .wpcf7 label { margin-bottom: 1rem; }
.tkh-contact-page .wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea) { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; padding: .75rem; margin-top: .35rem; border: 1px solid var(--tkh-border); border-radius: .5rem; background: #fff; color: var(--tkh-ink); font: inherit; font-size: 1rem; }
.tkh-contact-page .wpcf7 textarea { resize: vertical; }
.tkh-contact-page .wpcf7 input[type="submit"] { min-height: 44px; padding: .65rem 1.25rem; border: 0; border-radius: .5rem; background: var(--tkh-teal); color: #fff; font: inherit; font-weight: 650; cursor: pointer; }
@media print { .tkh-share, .tkh-report-link, .tkh-report-context { display: none !important; } }

/* Reading information and optional editorial corrections. */
.tkh-reading-time { font-size: .8rem; color: var(--tkh-muted); }
.tkh-card-meta .tkh-reading-time { margin: 0; font-size: inherit; }
.tkh-correction-note { border: 1px solid var(--tkh-border); border-left: 3px solid var(--tkh-teal); border-radius: .25rem; padding: clamp(1rem, 3vw, 1.5rem); background: var(--wp--preset--color--mint); }
.tkh-correction-note h2 { font-family: var(--wp--preset--font-family--sans); font-size: 1.2rem; line-height: 1.4; margin: 0 0 .75rem; }
.tkh-correction-note p { font-size: 1rem; line-height: 1.7; overflow-wrap: anywhere; }
.tkh-correction-note p:last-child { margin-bottom: 0; }
@media print {
    .single-post .adsbygoogle, .single-post .google-auto-placed,
    .single-post .wp-block-uagb-table-of-contents, .single-post .wp-block-table-of-contents,
    .single-post #ez-toc-container, .single-post .lwptoc,
    .single-post .rb-table-contents { display: none !important; }
    .single-post main { max-width: 100%; padding: 0; }
    .single-post .tkh-article-header .wp-block-post-title { font-size: 26pt; line-height: 1.15; }
    .single-post .tkh-article-header .wp-block-post-excerpt { font-size: 12pt; }
    .single-post .tkh-article-header .wp-block-post-featured-image img { width: auto; height: auto; max-height: 180pt; margin-inline: auto; object-fit: contain; }
    .single-post .tkh-article-content { font-size: 12pt; line-height: 1.6; }
    .single-post .tkh-article-content h2 { font-size: 18pt; }
    .single-post .tkh-article-content h3 { font-size: 14pt; }
    .single-post :is(h1, h2, h3, h4) { break-after: avoid; }
    .single-post :is(p, li) { orphans: 3; widows: 3; }
    .single-post :is(img, table) { max-width: 100% !important; }
    .single-post .wp-block-table { overflow: visible; }
    .single-post :is(a, td, th) { overflow-wrap: anywhere; }
    .single-post :is(.tkh-disclaimer, .tkh-correction-note) { background: #fff; color: #000; border-color: #777; }
}

@media (max-width: 480px) { .tkh-share-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Live suggestions share the search field width and never change its layout. */
.tkh-live-search{position:relative;min-width:0}
.tkh-live-panel{position:absolute;top:calc(100% + 8px);inset-inline:0;z-index:30;max-height:min(430px,60vh);overflow-y:auto;overscroll-behavior:contain;background:#fff;color:var(--tkh-ink);border:1px solid var(--tkh-border);border-radius:10px;box-shadow:0 12px 32px #163b3826;text-align:left}
.tkh-live-panel[hidden],.tkh-live-note[hidden]{display:none}
.tkh-live-option{display:flex;flex-direction:column;gap:3px;min-height:48px;padding:12px 16px;text-decoration:none;color:var(--tkh-ink);font-size:1rem;line-height:1.4;overflow-wrap:anywhere}
.tkh-live-option+.tkh-live-option{border-top:1px solid var(--tkh-border)}
.tkh-live-option:hover,.tkh-live-option[aria-selected="true"]{background:#eaf3ee;color:var(--tkh-ink)}
.tkh-live-type{font-size:.7rem;font-weight:700;letter-spacing:.05em;color:var(--tkh-teal)}
.tkh-live-all{font-weight:650;color:var(--tkh-teal)}
.tkh-live-note{margin:0;padding:14px 16px;font-size:.9rem;line-height:1.5;color:var(--tkh-muted)}
@media(forced-colors:active){.tkh-live-option[aria-selected="true"]{outline:2px solid Highlight;outline-offset:-2px}}

/* Native article tables: leave shortcode/plugin tables and tool pages alone. */
.single-post .tkh-article-content .tkh-editorial-table{overflow-x:auto;margin-block:1.5rem}
.single-post .tkh-article-content .tkh-editorial-table table{width:100%;min-width:32rem;border-collapse:collapse;border:1px solid var(--tkh-border);font-size:.95em;line-height:1.55}
.single-post .tkh-article-content .tkh-editorial-table :is(th,td){border:1px solid var(--tkh-border);padding:12px 16px;vertical-align:top;overflow-wrap:break-word}
.single-post .tkh-article-content .tkh-editorial-table th{text-align:start;font-weight:700}
.single-post .tkh-article-content .tkh-editorial-table thead{border-bottom:1px solid var(--tkh-border)}
.single-post .tkh-article-content .tkh-editorial-table thead th{background:#eaf2ed;color:var(--tkh-ink);line-height:1.45}
.single-post .tkh-article-content .tkh-editorial-table tbody tr>:first-child{font-weight:600}
.single-post .tkh-article-content .tkh-table-three table{table-layout:fixed;min-width:36rem}
.single-post .tkh-article-content .tkh-table-three tr>:first-child{width:25%}
.single-post .tkh-article-content .tkh-table-three tr>:nth-child(2),.single-post .tkh-article-content .tkh-table-three tr>:nth-child(3){width:37.5%}
.single-post .tkh-article-content .tkh-table-two table{min-width:28rem}
.single-post .tkh-article-content .tkh-table-wide table{min-width:44rem}
.single-post .tkh-article-content .tkh-editorial-table[data-tkh-table-ready]{overflow:visible}
.single-post .tkh-article-content .tkh-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.single-post .tkh-article-content .tkh-table-scroll:focus-visible{outline:2px solid var(--tkh-teal);outline-offset:3px;border-radius:2px}
.single-post .tkh-article-content .tkh-table-hint{font-size:.8rem;color:var(--tkh-muted);margin-block:1.25rem .4rem}
.single-post .tkh-article-content .tkh-table-hint[hidden]{display:none}
.single-post .tkh-article-content .tkh-table-hint:not([hidden])+.tkh-editorial-table{margin-top:0}
@media print{
 .single-post .tkh-article-content .tkh-table-hint{display:none!important}
 .single-post .tkh-article-content :is(.tkh-editorial-table,.tkh-table-scroll){overflow:visible!important}
 .single-post .tkh-article-content .tkh-editorial-table table{min-width:0!important;width:100%!important;table-layout:fixed}
 .single-post .tkh-article-content .tkh-editorial-table :is(th,td){padding:6pt;overflow-wrap:anywhere}
}

/* Editable native social links; SVG icons are bundled by WordPress. */
.tkh-social-follow{margin-top:20px}
.tkh-social-follow .tkh-social-heading{margin:0 0 10px;color:var(--tkh-ink);font-size:.8rem;font-weight:650}
.tkh-social-follow .tkh-social-links{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.tkh-social-follow .tkh-social-links .wp-social-link{margin:0;color:var(--tkh-teal);font-size:20px}
.tkh-social-follow .tkh-social-links .wp-social-link a{display:flex;align-items:center;gap:7px;min-height:44px;padding:9px 12px;border:1px solid #bdcec3;border-radius:100px;color:var(--tkh-teal);text-decoration:none;box-sizing:border-box}
.tkh-social-follow .tkh-social-links .wp-social-link svg{width:20px;height:20px;flex-shrink:0;margin:0}
.tkh-social-follow .tkh-social-links .wp-block-social-link-label{font-family:var(--wp--preset--font-family--sans, sans-serif);font-size:.8rem;line-height:1.3;margin:0}
.tkh-social-follow .tkh-social-links .wp-social-link:hover{transform:none}
.tkh-social-follow .tkh-social-links .wp-social-link a:hover{background:#dfeae2;border-color:var(--tkh-teal)}
.tkh-social-follow .tkh-social-links .wp-social-link a:focus-visible{outline:2px solid var(--tkh-teal);outline-offset:3px}
@media print{.tkh-social-follow{display:none!important}}

/* The manual ad slot must expose its actual available width to AdSense.
   Keep the page gutters outside this box: clientWidth includes padding.
   Match the constrained child width so the ad and its parent agree.
   Never resize or clip an iframe after the ad has been served. */
.wp-site-blocks .tkh-ad-area{
 width:calc(100% - var(--wp--style--root--padding-left,20px) - var(--wp--style--root--padding-right,20px));
 max-width:min(1240px,var(--wp--style--global--content-size,760px));
 min-width:0;
 padding-inline:0!important;
 margin-inline:auto!important;
}

/* Separate the final content card or ad from the site footer. */
@media screen{
 .wp-site-blocks>main+footer.wp-block-template-part{margin-block-start:clamp(48px,5vw,64px)}
}


/* Consistent calculator cards, with compact rows on phones. */
.tkh-tools .tkh-tools-grid{gap:0;background:transparent}
.tkh-tools .tkh-tool{display:grid;gap:10px;align-content:start;min-width:0}
.tkh-tools .tkh-tool:hover{background:var(--tkh-ink)}
.tkh-tools .tkh-tool+.tkh-tool{border-inline-start:1px solid #ffffff25}
.tkh-tools .tkh-tool>*{margin-block:0!important}
.tkh-tools .tkh-tool-icon{font-size:.85rem;letter-spacing:.08em}
.tkh-tools .tkh-tool h3 a{display:flex;align-items:center;min-height:44px;line-height:1.4}
.tkh-tools .tkh-tool h3 a:focus-visible{outline-color:var(--wp--preset--color--lime,#d5edaa)}
@media(max-width:781px){
 .tkh-tools .tkh-tools-grid{margin-top:24px;border-top:1px solid #ffffff25}
 .tkh-tools .tkh-tool{grid-template-columns:28px minmax(0,1fr);column-gap:12px;row-gap:4px;padding:18px 0}
 .tkh-tools .tkh-tool+.tkh-tool{border-inline-start:0;border-top:1px solid #ffffff25}
 .tkh-tools .tkh-tool-icon{grid-column:1;grid-row:1;align-self:center}
 .tkh-tools .tkh-tool h3{grid-column:2;grid-row:1}
 .tkh-tools .tkh-tool-description{grid-column:2;grid-row:2}
 .tkh-tools .tkh-tools-intro{margin-block:16px 0;font-size:1rem;line-height:1.6}
 .tkh-tools .tkh-resources-note{margin-top:18px}
}
@media(max-width:599px){.tkh-tools h2{font-size:1.8rem;line-height:1.2}}

/* Avoid adding the root block gap to the mobile content header padding. */
@media screen and (max-width:781px){
 body:is(.home,.single-post) .wp-site-blocks>header+main{margin-block-start:0}
 .home .tkh-hero{padding-block-start:32px}
 .single-post .tkh-article-header{padding-block-start:24px}
 .single-post .tkh-article-header>.tkh-breadcrumbs{margin-block:0 12px}
 .single-post .tkh-article-header>.tkh-breadcrumbs+.wp-block-post-terms{margin-block-start:0}
 .single-post .tkh-article-header>.wp-block-post-title{margin-block-start:12px}
}

/* Regular page spacing uses the existing root gutters only once. */
@media screen and (max-width:781px){
 body.page:not(.home) .wp-site-blocks>header+main{margin-block-start:0}
 body.page:not(.home) .tkh-page-header{padding-block:28px 0}
 body.page:not(.home) .tkh-page-header>.wp-block-post-title{margin-block:0}
 body.page:not(.home) .tkh-page-header+.wp-block-post-content{margin-block-start:32px}
 body.page:not(.home) .wp-site-blocks>main>.tkh-wide-content{padding-block-end:0}
}

/* Tablet and desktop content headers: count the top gap only once. */
@media screen and (min-width:782px){
 body:is(.home,.single-post,.page) .wp-site-blocks>header+main{margin-block-start:0}
 .single-post .tkh-article-header{padding-block-start:48px}
 body.page:not(.home) .tkh-page-header{padding-block:48px 0}
 body.page:not(.home) .tkh-page-header>.wp-block-post-title{margin-block:0}
 body.page:not(.home) .tkh-page-header+.wp-block-post-content{margin-block-start:40px}
}
@media screen and (min-width:782px) and (max-width:1024px){
 .home .tkh-hero{padding-block-start:48px}
 .single-post .tkh-article-header{padding-block-start:36px}
 body.page:not(.home) .tkh-page-header{padding-block-start:36px}
 body.page:not(.home) .tkh-page-header+.wp-block-post-content{margin-block-start:32px}
}
@media screen{
 body.page:not(.home) .wp-site-blocks>main>.tkh-wide-content{padding-block-end:0}
}
/* Keep the core menu overlay on tablets where full navigation is cramped. */
@media screen and (min-width:600px) and (max-width:1024px){
 .tkh-header-inner{flex-wrap:nowrap!important}
 .tkh-header-search{display:none}
 .tkh-header .wp-block-navigation{margin-left:auto;flex:0 0 auto}
 .tkh-header .wp-block-navigation__responsive-container-open{display:flex;min-width:44px;min-height:44px;align-items:center;justify-content:center}
 .tkh-header .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}
}

/* Article accessibility: readable prose/reference links and notice labels. */
.single-post .tkh-article-content>p:not(.has-background):not(.has-text-color):not(.has-link-color)>a:not(.wp-element-button):not(.wp-block-button__link),
.single-post .tkh-article-content>:is(ul,ol):not(.has-background):not(.has-text-color):not(.has-link-color) li>a,
.single-post .tkh-article-content .sb-bibliography a{color:#17665b;text-decoration:underline;text-underline-offset:.2em}
.single-post .tkh-article-content>p:not(.has-background):not(.has-text-color):not(.has-link-color)>a:not(.wp-element-button):not(.wp-block-button__link):hover,
.single-post .tkh-article-content>:is(ul,ol):not(.has-background):not(.has-text-color):not(.has-link-color) li>a:hover,
.single-post .tkh-article-content .sb-bibliography a:hover{color:#163b38}
.single-post .tkh-article-content .uagb-notice-title{font-weight:700;font-size:1.125rem;line-height:1.5;margin:0}
/* Give navigation links their own target area, including dropdown links. */
.tkh-header .wp-block-navigation-item__content{display:inline-flex;align-items:center;min-height:44px}

/* Reader controls share the reading-time block, including saved templates. */
.tkh-reading-tools{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;max-width:100%;min-width:0}
.tkh-card-meta .tkh-reading-tools{margin:0}
.tkh-reading-tools .tkh-reading-time{margin:0}
.tkh-text-size{display:flex;flex-wrap:wrap;align-items:center;gap:6px;max-width:100%;font-family:var(--wp--preset--font-family--sans);font-size:.75rem;line-height:1.4;color:var(--tkh-ink)}
.tkh-text-size-label{margin-right:4px;white-space:nowrap}
.tkh-text-size button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 10px;border:1px solid var(--tkh-border);border-radius:6px;background:#fff;color:var(--tkh-ink);font:inherit;font-weight:650;line-height:1.4;cursor:pointer}
.tkh-text-size button:not(:disabled):hover{border-color:var(--tkh-teal);background:var(--wp--preset--color--mint)}
.tkh-text-size button:focus-visible{outline:2px solid var(--tkh-teal);outline-offset:3px}
.tkh-text-size button:disabled{color:var(--tkh-muted);background:var(--tkh-paper);cursor:default}
.tkh-text-size-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media screen{
 html[data-tkh-reading-size="90"]{--tkh-prose-size:1.0125rem}
 html[data-tkh-reading-size="110"]{--tkh-prose-size:1.2375rem}
 html[data-tkh-reading-size="120"]{--tkh-prose-size:1.35rem}
 html[data-tkh-reading-size="130"]{--tkh-prose-size:1.4625rem}
 html[data-tkh-reading-size] .single-post .tkh-article-content :is(p,li,dt,dd,td,th):not(:where(.tkh-ad-area *,.tkh-ad-fallback *,.adsbygoogle *,.google-auto-placed *,nav *,form *,button *,.tkh-toc *,.wp-block-uagb-table-of-contents *,.wp-block-table-of-contents *,.ez-toc-container *,#ez-toc-container *,.rb-table-contents *,.lwptoc *,.uagb-notice-title)){font-size:var(--tkh-prose-size)!important;overflow-wrap:anywhere}
}
@media print{.tkh-text-size{display:none!important}}

/* A returning reader chooses when to resume; the first visit adds no visible UI. */
.tkh-reading-resume{padding:16px 20px;border:1px solid var(--tkh-border);border-radius:8px;background:var(--wp--preset--color--mint);color:var(--tkh-ink)}
.tkh-reading-resume[hidden]{display:none!important}
html[data-tkh-resume-candidate] .tkh-reading-resume[hidden]{display:block!important}
.tkh-reading-resume .tkh-resume-title{margin:0 0 6px;font-size:.95rem;font-weight:700;line-height:1.5}
.tkh-reading-resume .tkh-resume-description{margin:0 0 12px;font-size:.85rem;line-height:1.6}
.tkh-resume-buttons{display:flex;flex-wrap:wrap;gap:8px}
.tkh-resume-buttons button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:10px 14px;border:1px solid var(--tkh-teal);border-radius:6px;background:var(--tkh-teal);color:#fff;font:inherit;font-size:.85rem;font-weight:650;line-height:1.4;cursor:pointer}
.tkh-resume-buttons [data-tkh-resume-action="restart"]{background:#fff;color:var(--tkh-ink);border-color:var(--tkh-border)}
.tkh-resume-buttons button:not(:disabled):hover{border-color:var(--tkh-ink)}
.tkh-resume-buttons button:focus-visible{outline:2px solid var(--tkh-teal);outline-offset:3px}
.tkh-resume-buttons button:disabled{cursor:default}
@media print{.tkh-reading-resume,html[data-tkh-resume-candidate] .tkh-reading-resume[hidden]{display:none!important}}
.tkh-header .wp-block-navigation__submenu-icon{min-width:24px;min-height:24px}
.tkh-header .wp-block-navigation__responsive-container-close{min-width:44px;min-height:44px}
.tkh-header .is-menu-open .wp-block-navigation__responsive-container-content{padding-top:64px!important}
