/*
Theme Name: Yadongtube
Theme URI: https://yadongtube.org/
Author: Yadongtube
Description: Lightweight, accessible presentation theme for the Yadongtube online tools platform.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.3
License: GNU General Public License v2 or later
Text Domain: yadongtube
*/
:root{--yt-ink:#102a43;--yt-muted:#52667a;--yt-teal:#087f8c;--yt-teal-dark:#056772;--yt-blue:#eaf4fb;--yt-border:#d8e2ec;--yt-bg:#f7fafc;--yt-card:#fff;--yt-shadow:0 12px 35px rgba(26,57,87,.08);--yt-radius:16px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--yt-bg);color:var(--yt-ink);font:400 16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;margin:0}a{color:var(--yt-teal);text-decoration-thickness:.08em;text-underline-offset:.16em}a:hover{color:var(--yt-teal-dark)}img{height:auto;max-width:100%}.yt-container{margin:0 auto;max-width:1180px;padding:0 1.25rem}.yt-skip-link{background:#fff;color:var(--yt-ink);left:1rem;padding:.5rem .8rem;position:absolute;top:-100px;z-index:100}.yt-skip-link:focus{top:1rem}
.yt-header{background:rgba(255,255,255,.96);border-bottom:1px solid var(--yt-border);position:sticky;top:0;z-index:20}.yt-header__inner{align-items:center;display:flex;gap:1.25rem;min-height:72px}.yt-brand{align-items:center;color:var(--yt-ink);display:inline-flex;font-size:1.25rem;font-weight:800;gap:.55rem;text-decoration:none;white-space:nowrap}.yt-brand__mark{align-items:center;background:var(--yt-teal);border-radius:10px;color:#fff;display:inline-flex;font-size:.9rem;height:33px;justify-content:center;width:33px}.yt-nav{align-items:center;display:flex;gap:1.15rem;margin-left:auto}.yt-nav a{color:var(--yt-ink);font-size:.92rem;text-decoration:none}.yt-nav a:hover{color:var(--yt-teal)}.yt-header__cta,.yt-button{background:var(--yt-teal);border:0;border-radius:9px;color:#fff;cursor:pointer;font:inherit;font-weight:700;padding:.64rem 1rem;text-decoration:none}.yt-header__cta:hover{background:var(--yt-teal-dark);color:#fff}.yt-menu-toggle{background:transparent;border:1px solid var(--yt-border);border-radius:8px;color:var(--yt-ink);display:none;padding:.45rem .6rem}
.yt-hero{background:linear-gradient(135deg,#eaf7f7 0,#f7fbff 55%,#fff 100%);padding:5.5rem 0 4.5rem}.yt-hero__grid{align-items:center;display:grid;gap:3rem;grid-template-columns:1.05fr .95fr}.yt-eyebrow{color:var(--yt-teal);font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.yt-hero h1{font-size:clamp(2.4rem,6vw,4.55rem);letter-spacing:-.055em;line-height:1.04;margin:.7rem 0 1.1rem}.yt-hero p{color:var(--yt-muted);font-size:1.1rem;max-width:600px}.yt-search{background:#fff;border:1px solid var(--yt-border);border-radius:13px;box-shadow:var(--yt-shadow);display:flex;gap:.5rem;margin:1.8rem 0 0;padding:.45rem}.yt-search input{border:0;flex:1;font:inherit;min-width:0;padding:.68rem .75rem}.yt-search input:focus{outline:0}.yt-hero__panel{background:#fff;border:1px solid var(--yt-border);border-radius:var(--yt-radius);box-shadow:var(--yt-shadow);padding:1.6rem}.yt-hero__panel h2{font-size:1rem;margin:0 0 1rem}.yt-mini-list{display:grid;gap:.65rem}.yt-mini-list a{align-items:center;background:var(--yt-bg);border-radius:9px;color:var(--yt-ink);display:flex;justify-content:space-between;padding:.7rem .8rem;text-decoration:none}.yt-mini-list a span{color:var(--yt-teal);font-size:.8rem}
.yt-section{padding:4.5rem 0}.yt-section--tight{padding-top:2rem}.yt-section__head{align-items:end;display:flex;gap:1rem;justify-content:space-between;margin-bottom:1.6rem}.yt-section h2{font-size:2rem;letter-spacing:-.03em;line-height:1.15;margin:0}.yt-section__head p{color:var(--yt-muted);margin:0;max-width:520px}.yt-grid{display:grid;gap:1rem;grid-template-columns:repeat(4,1fr)}.yt-card{background:var(--yt-card);border:1px solid var(--yt-border);border-radius:var(--yt-radius);box-shadow:0 5px 18px rgba(26,57,87,.035);padding:1.25rem}.yt-card:hover{box-shadow:var(--yt-shadow);transform:translateY(-2px);transition:.2s ease}.yt-card__icon{align-items:center;background:#e7f5f5;border-radius:10px;color:var(--yt-teal);display:flex;font-weight:800;height:40px;justify-content:center;margin-bottom:1rem;width:40px}.yt-card h3{font-size:1rem;line-height:1.25;margin:.2rem 0 .35rem}.yt-card p{color:var(--yt-muted);font-size:.9rem;margin:0}.yt-card a{display:block;text-decoration:none}.yt-category-grid{display:grid;gap:1rem;grid-template-columns:repeat(7,1fr)}.yt-category-grid .yt-card{padding:1rem}.yt-category-grid .yt-card h3{font-size:.9rem}
.yt-band{background:var(--yt-ink);color:#fff;padding:3.5rem 0}.yt-band .yt-section__head p,.yt-band .yt-card p{color:#b8c9d7}.yt-band .yt-card{background:#173b56;border-color:#2a526d}.yt-band .yt-card h3{color:#fff}.yt-band .yt-card__icon{background:#28627a;color:#fff}.yt-cta{align-items:center;display:flex;justify-content:space-between;gap:1rem}.yt-cta h2{max-width:620px}
.yt-page{padding:3rem 0}.yt-page__header{margin-bottom:2rem;max-width:760px}.yt-page__header h1{font-size:clamp(2rem,4vw,3.2rem);letter-spacing:-.045em;line-height:1.1;margin:.6rem 0}.yt-page__header p{color:var(--yt-muted);font-size:1.05rem}.yt-breadcrumbs{color:var(--yt-muted);font-size:.85rem}.yt-content{max-width:780px}.yt-content h2{font-size:1.55rem;line-height:1.2;margin-top:2.2rem}.yt-content h3{font-size:1.15rem}.yt-content li{margin:.35rem 0}
.yt-footer{background:#eaf1f6;border-top:1px solid var(--yt-border);padding:3rem 0 1rem}.yt-footer__grid{display:grid;gap:2rem;grid-template-columns:1.5fr repeat(4,1fr)}.yt-footer h2{font-size:1rem;margin:0 0 .7rem}.yt-footer p,.yt-footer a{color:var(--yt-muted);font-size:.9rem}.yt-footer ul{list-style:none;margin:0;padding:0}.yt-footer li{margin:.35rem 0}.yt-footer__bottom{border-top:1px solid var(--yt-border);color:var(--yt-muted);font-size:.8rem;margin-top:2rem;padding-top:1rem}
.yt-empty{background:#fff;border:1px dashed var(--yt-border);border-radius:var(--yt-radius);padding:2.5rem;text-align:center}.yt-pagination{display:flex;gap:.5rem;margin-top:2rem}.screen-reader-text{clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;width:1px;word-wrap:normal!important}
@media(max-width:900px){.yt-grid{grid-template-columns:repeat(3,1fr)}.yt-category-grid{grid-template-columns:repeat(4,1fr)}.yt-footer__grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:720px){.yt-header__inner{justify-content:space-between}.yt-menu-toggle{display:block}.yt-nav{background:#fff;border-bottom:1px solid var(--yt-border);display:none;flex-direction:column;left:0;padding:1rem 1.25rem;position:absolute;right:0;top:72px}.yt-nav.is-open{display:flex}.yt-header__cta{display:none}.yt-hero{padding:3.5rem 0}.yt-hero__grid{grid-template-columns:1fr}.yt-grid{grid-template-columns:repeat(2,1fr)}.yt-category-grid{grid-template-columns:repeat(2,1fr)}.yt-footer__grid{grid-template-columns:repeat(2,1fr)}.yt-section__head,.yt-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:420px){.yt-grid{grid-template-columns:1fr}.yt-footer__grid{grid-template-columns:1fr}}