/*
Theme Name: AppFixLab
Description: Lightweight, accessible workplace-software troubleshooting theme.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: appfixlab
License: GNU General Public License v2 or later
*/
:root{--ink:#172b35;--muted:#526670;--accent:#075e55;--line:#d9e4e2;--wash:#eef5f2;--paper:#fff;--wide:1160px}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#fcfdfb;font:17px/1.7 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--accent);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 #bb6600;outline-offset:4px}h1,h2,h3{line-height:1.17;letter-spacing:-.035em}h1{font-size:clamp(2.2rem,5.2vw,4.4rem);margin:.35em 0}h2{font-size:clamp(1.6rem,3vw,2.25rem)}h3{font-size:1.3rem}.wrap{width:min(var(--wide),calc(100% - 48px));margin:auto}.site-header{border-bottom:1px solid var(--line);background:#fff}.header-row{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:92px}.brand{font-size:1.55rem;font-weight:800;letter-spacing:-.06em;text-decoration:none;color:var(--ink)}.custom-logo{max-width:190px;height:auto}.menu{list-style:none;display:flex;gap:26px;padding:0;margin:0}.menu a{font-size:.92rem;font-weight:600;text-decoration:none;color:var(--ink)}.menu .current-menu-item>a{color:var(--accent);text-decoration:underline}.mobile-toggle{display:none}.header-search summary{cursor:pointer;font-size:.9rem}.header-search[open]{position:relative}.header-search form{position:absolute;right:0;top:35px;width:340px;padding:16px;background:white;box-shadow:0 6px 24px #172b3520;z-index:5}.skip-link{position:absolute;left:10px;top:-100px;background:white;padding:12px;z-index:100}.skip-link:focus{top:10px}.hero{padding:76px 0 64px;background:var(--wash);border-bottom:1px solid var(--line)}.hero-inner{max-width:850px}.eyebrow{font-size:.76rem;font-weight:750;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}.hero p{max-width:660px;color:var(--muted);font-size:1.15rem}.search-form{display:flex;gap:8px;max-width:730px}.search-form input{min-width:0;flex:1;padding:16px;border:1px solid #a3b9b3;border-radius:6px;font:inherit;background:white}.search-form button,.button{padding:14px 22px;background:var(--accent);color:white;border:0;border-radius:6px;font:inherit;font-weight:650;cursor:pointer}.section{padding:44px 0;border-bottom:1px solid var(--line)}.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px}.section-head h2{margin-top:0}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.card{padding:26px;border:1px solid var(--line);background:white;border-radius:10px}.card h2,.card h3{margin:10px 0}.card h2 a,.card h3 a{text-decoration:none;color:var(--ink)}.card p{font-size:.95rem;color:var(--muted)}.topic{display:flex;align-items:center;gap:20px;max-width:550px}.topic-symbol{width:56px;height:56px;border:1px solid #bdd4cc;background:var(--wash);border-radius:12px;display:grid;place-items:center;color:var(--accent);font-weight:800}.topic small{display:block;color:var(--muted)}.empty{padding:24px 28px;border:1px dashed #b8cac4;border-radius:8px;color:var(--muted);background:#f7faf7}.trust{padding:45px 0;display:grid;grid-template-columns:1fr 1.5fr;gap:50px}.trust h2{margin:0}.site-footer{padding:40px 0;background:#172f32;color:#dbe8e3;font-size:.88rem}.site-footer a{color:inherit}.footer-row{display:flex;justify-content:space-between;gap:32px}.site-footer .menu{flex-wrap:wrap;gap:12px 22px;max-width:650px}.site-footer .menu a{color:#dbe8e3;font-weight:400}.site-footer .brand{color:white}.site-footer .tagline{max-width:280px}.copyright{margin-top:32px;border-top:1px solid #395152;padding-top:20px;color:#b9ccc5}.content-wrap{max-width:780px;margin:auto;padding:48px 0 70px}.article-header{max-width:900px;margin:0 auto;padding:30px 0}.article-header h1{font-size:clamp(2rem,4.6vw,3.5rem)}.meta,.breadcrumbs{font-size:.84rem;color:var(--muted)}.breadcrumbs{padding-top:24px}.breadcrumbs ol{display:flex;flex-wrap:wrap;list-style:none;gap:9px;padding:0;margin:0}.breadcrumbs li+li:before{content:'/';margin-right:9px;color:#8ca09a}.entry-content h2{margin-top:1.8em;scroll-margin-top:24px}.entry-content h3{margin-top:1.6em}.entry-content img,.featured-image img{max-width:100%;height:auto;border-radius:8px}.featured-image{max-width:1000px;margin:0 auto 30px}.entry-content pre{overflow:auto;padding:24px;background:#173138;color:#eff9f5;border-radius:6px;font-size:.9rem}.entry-content code{overflow-wrap:anywhere}.entry-content table{border-collapse:collapse;width:100%;font-size:.94rem}.entry-content td,.entry-content th{border:1px solid var(--line);padding:12px;text-align:left}.wp-block-table{overflow:auto}.entry-content blockquote,.is-style-afl-note,.is-style-afl-tip,.is-style-afl-warning{margin:24px 0;padding:18px 24px;border-left:4px solid var(--accent);background:var(--wash)}.is-style-afl-warning{border-color:#b46b15;background:#fff5e5}.is-style-afl-tip{border-color:#367da0;background:#eef7fb}.entry-content li{margin-bottom:.6em}.toc{background:var(--wash);border:1px solid var(--line);border-radius:8px;padding:20px 24px;margin-bottom:30px}.toc summary{cursor:pointer;font-weight:650}.toc ol{padding-left:22px}.page-title{padding:40px 0 20px}.page-title h1{font-size:clamp(2rem,4vw,3.2rem)}.pagination{margin:32px 0}.page-numbers{display:inline-block;padding:6px 12px}.post-navigation .nav-links{display:flex;justify-content:space-between;gap:25px;margin:35px 0}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.alignwide{max-width:100%}.wp-caption-text,figcaption{font-size:.85rem;color:var(--muted)}@media(max-width:850px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header-row{flex-wrap:wrap;padding:20px 0;gap:16px}.mobile-toggle{display:block;padding:8px 14px;background:white;border:1px solid var(--line);border-radius:5px;font:inherit}.site-nav{width:100%;order:4}.js .site-nav:not(.is-open){display:none}.site-nav .menu{flex-wrap:wrap;gap:14px 24px}.hero{padding:48px 0}.trust{gap:24px}.footer-row{flex-direction:column}}@media(max-width:560px){.wrap{width:calc(100% - 32px)}.grid,.trust{grid-template-columns:1fr}.hero{padding:35px 0}.search-form{flex-direction:column}.header-search form{width:280px}.section{padding:32px 0}.section-head{align-items:flex-start;flex-direction:column;gap:0}.content-wrap{padding-top:26px}.header-row{min-height:80px}.header-search{margin-left:auto}.brand{font-size:1.35rem}.card{padding:22px}.footer-row .menu{flex-direction:column;gap:10px}}
.mobile-toggle[hidden]{display:none} .entry-content .wp-block-image img{height:auto} .entry-content a{overflow-wrap:anywhere}

/* Brand artwork only: preserve surrounding layout and typography. */
.afl-logo-link,.custom-logo-link{display:inline-flex;align-items:center;vertical-align:middle;line-height:1}
.afl-logo-link img,.site-header .custom-logo{display:block;width:220px;max-width:100%;height:auto}
@media(max-width:560px){.afl-logo-link img,.site-header .custom-logo{width:180px}.site-header .afl-logo-link img,.site-header .custom-logo{max-width:46vw}}

/* Homepage only: compact sections, accessible full-card links, bounded excerpts. */
.afl-home .hero{padding:48px 0 42px}.afl-home .hero-inner{max-width:900px}.afl-home .hero h1{margin:0 0 18px}.afl-home .hero p{margin:0 0 24px}.afl-home .section{padding:34px 0}.afl-home .section-head{margin-bottom:20px}.afl-home .section-head h2{margin:0}.afl-home .topic{max-width:none;min-width:0;padding:20px;gap:16px;text-decoration:none;min-height:100px}.afl-home .topic-symbol{flex:0 0 48px;width:48px;height:48px}.afl-home .topic-label{min-width:0;overflow-wrap:anywhere}.afl-home .topic-arrow{margin-left:auto;font-size:1.4rem}.afl-home .topic:hover,.afl-home .home-guide:hover{border-color:var(--accent)}.afl-home .home-guide{position:relative;min-width:0;display:flex;flex-direction:column;padding:22px;gap:12px}.afl-home .home-guide .eyebrow{font-size:.7rem;letter-spacing:.09em;overflow-wrap:anywhere}.afl-home .home-guide h3{font-size:1.2rem;line-height:1.35;letter-spacing:-.025em;margin:0;overflow-wrap:anywhere}.afl-home .guide-link{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.afl-home .guide-link::after{content:"";position:absolute;inset:0;border-radius:10px}.afl-home .home-guide:focus-within{outline:3px solid #bb6600;outline-offset:4px}.afl-home .guide-excerpt{font-size:.94rem;line-height:1.6;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere}.afl-home .home-guide .meta{margin-top:auto;padding-top:4px}.afl-home .guide-cta{margin-top:auto;color:var(--accent);font-size:.88rem;font-weight:650}.afl-home .featured-grid .home-guide{background:var(--wash)}.afl-home .trust{padding:34px 0;gap:32px}.afl-home .trust p:first-child{margin-top:0}
@media(min-width:851px){.afl-home .guide-grid,.afl-home .topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:561px) and (max-width:850px){.afl-home .guide-grid,.afl-home .topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.afl-home .hero{padding:30px 0}.afl-home .section{padding:26px 0}.afl-home .section-head{gap:10px;margin-bottom:16px}.afl-home .guide-grid,.afl-home .topic-grid{grid-template-columns:1fr}.afl-home .home-guide{padding:20px}.afl-home .trust{gap:20px}.afl-home .section-head>a{display:inline-flex;align-items:center;min-height:44px}}
.afl-home .guide-grid{grid-auto-rows:1fr}

/* Category guide cards: match homepage card typography without changing page headings. */
.category #main .card{min-width:0;display:flex;flex-direction:column;padding:22px;gap:12px}
.category #main .card .eyebrow{font-size:.7rem;letter-spacing:.09em;overflow-wrap:anywhere}
.category #main .card h2{font-size:1.2rem;line-height:1.35;letter-spacing:-.025em;margin:0;overflow-wrap:anywhere}
.category #main .card h2 a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.category #main .card p{font-size:.94rem;line-height:1.6;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere}
.category #main .card .meta{margin-top:auto;padding-top:4px}
.category #main>.section>.grid{grid-auto-rows:1fr}
@media(max-width:560px){.category #main .card{padding:20px}}
