/* YourNeeds editorial directory — isolated asset loaded after the primary theme CSS. */
.yn-blog-topic-directory,
.yn-blog-topic-directory *{box-sizing:border-box}
.yn-blog-topic-directory[hidden],
.yn-blog-topic-directory [hidden]{display:none!important}
.yn-blog-topic-directory{width:100%;max-width:100%;margin:38px 0 18px;padding:clamp(22px,3vw,38px);overflow:hidden;border:1px solid #dfe5ec;border-radius:20px;background:#fff;box-shadow:0 14px 40px rgba(15,23,42,.06);color:#172033}
.yn-category-directory-head{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:28px}
.yn-category-directory-head>div{min-width:0;max-width:760px}
.yn-category-directory-head>div>span,
.yn-topic-block-head>div>span{display:block;margin:0 0 7px;color:#245db0;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.yn-category-directory-head h2{margin:0 0 10px;color:#101828;font-size:clamp(27px,3vw,39px);font-weight:780;line-height:1.12;letter-spacing:-.035em}
.yn-category-directory-head p,
.yn-topic-block-head p{margin:0;color:#5e6b7c;font-size:14px;line-height:1.65}
.yn-category-search{display:flex;align-items:center;flex:0 0 min(360px,100%);gap:10px;width:100%;max-width:360px;height:50px;padding:0 15px;border:1px solid #cbd6e3;border-radius:10px;background:#fff}
.yn-category-search svg{display:block;width:20px;height:20px;max-width:20px;max-height:20px;flex:0 0 20px;fill:none;stroke:#3569b8;stroke-width:1.8;stroke-linecap:round}
.yn-category-search input{width:100%;height:46px;margin:0;padding:0;border:0!important;outline:0;background:transparent!important;color:#172033;font:inherit;font-size:14px;box-shadow:none!important}
.yn-topic-block{display:block!important;width:100%;min-width:0;margin-top:20px;padding:clamp(20px,2.3vw,28px);border:1px solid #e3e8ef;border-radius:16px;background:#f8fafc}
.yn-topic-block-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:19px}
.yn-topic-block-head>div{min-width:0}
.yn-topic-block-head h3{margin:0;color:#151d2d;font-size:clamp(21px,2vw,27px);font-weight:760;line-height:1.2;letter-spacing:-.025em}
.yn-topic-block-head>small{align-self:flex-start;padding:7px 11px;border-radius:999px;background:#eaf2ff;color:#1f53a0;font-size:11px;font-weight:800;white-space:nowrap}
.yn-editorial-topic-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.yn-editorial-topic-card{display:flex!important;min-width:0;min-height:190px;padding:23px;border:1px solid #dfe5ec;border-radius:12px;background:#fff;color:#101828;text-decoration:none!important;box-shadow:0 1px 2px rgba(15,23,42,.03);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.yn-editorial-topic-card:hover{transform:translateY(-3px);border-color:#9eb8df;box-shadow:0 12px 30px rgba(15,23,42,.08)}
.yn-editorial-topic-card>span{display:flex;width:100%;min-width:0;min-height:142px;flex-direction:column}
.yn-editorial-topic-card em{margin:0 0 13px;color:#58708f;font-size:10px;font-style:normal;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.yn-editorial-topic-card strong{margin:0 0 9px;color:#101828;font-size:18px;font-weight:750;line-height:1.3;letter-spacing:-.015em}
.yn-editorial-topic-card small{display:-webkit-box;margin:0;overflow:hidden;color:#5d697a;font-size:13px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.yn-editorial-topic-card u{display:flex;align-items:center;gap:7px;margin-top:auto;padding-top:17px;color:#255da8;font-size:12px;font-weight:800;text-decoration:none}
.yn-editorial-topic-card u svg,
.yn-classified-topic-links svg{display:block;width:16px;height:16px;max-width:16px;max-height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.yn-classified-topic-block{margin-top:18px}
.yn-topic-block-head button{min-height:40px;padding:9px 14px;border:1px solid #c8d4e3;border-radius:9px;background:#fff;color:#345b8f;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}
.yn-topic-block-head button:hover{border-color:#829fc5;background:#f5f8fc}
.yn-classified-accordion{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.yn-classified-group{overflow:hidden;border:1px solid #dfe5ec;border-radius:12px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.025)}
.yn-classified-group[open]{border-color:#aabdd8;box-shadow:0 8px 22px rgba(15,23,42,.055)}
.yn-classified-group summary{display:flex!important;align-items:center;justify-content:space-between;gap:16px;min-height:76px;padding:17px 19px;cursor:pointer;list-style:none}
.yn-classified-group summary::-webkit-details-marker{display:none}
.yn-classified-group summary>span{display:flex;min-width:0;flex-direction:column;gap:5px}
.yn-classified-group summary strong{color:#172033;font-size:15px;font-weight:750;line-height:1.3}
.yn-classified-group summary small{color:#768294;font-size:11px;line-height:1.3}
.yn-group-chevron{display:block;width:18px!important;height:18px!important;max-width:18px!important;max-height:18px!important;flex:0 0 18px;fill:none;stroke:#5f7188;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease}
.yn-classified-group[open] .yn-group-chevron{transform:rotate(180deg)}
.yn-classified-topic-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:8px 18px 16px;border-top:1px solid #edf0f4}
.yn-classified-topic-links a{display:flex!important;align-items:center;justify-content:space-between;gap:8px;min-height:43px;margin:0;padding:10px 4px;border:0;border-bottom:1px solid #edf0f4;border-radius:0;background:transparent;color:#354052;font-size:12px;font-weight:700;line-height:1.35;text-decoration:none!important;transition:padding .16s ease,color .16s ease}
.yn-classified-topic-links a:hover{padding-left:8px;color:#1f5ca9}
.yn-classified-topic-links a:nth-last-child(-n+2){border-bottom-color:transparent}
.yn-category-no-results{margin:18px 0 0;padding:18px;border:1px dashed #9db2cc;border-radius:10px;background:#fff;color:#526176;text-align:center}
.yn-news-desk-directory{margin:28px 0;padding:25px;border:1px solid #dfe5ec;border-radius:16px;background:#fff}
.yn-news-desk-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.yn-news-desk-grid>a{display:flex!important;min-height:110px;flex-direction:column;gap:8px;padding:17px;border:1px solid #dfe5ec;border-radius:11px;background:#f8fafc;color:#172033;text-decoration:none!important}
.yn-news-desk-grid strong{font-size:15px;line-height:1.3}
.yn-news-desk-grid small{color:#647084;font-size:12px;line-height:1.5}
@media(max-width:1050px){.yn-editorial-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.yn-classified-topic-links{grid-template-columns:1fr}.yn-classified-topic-links a:nth-last-child(-n+2){border-bottom-color:#edf0f4}.yn-classified-topic-links a:last-child{border-bottom-color:transparent}}
@media(max-width:760px){.yn-blog-topic-directory{margin-top:28px;padding:17px;border-radius:15px}.yn-category-directory-head,.yn-topic-block-head{align-items:stretch;flex-direction:column}.yn-category-search{flex-basis:auto;max-width:none}.yn-editorial-topic-grid,.yn-classified-accordion{grid-template-columns:1fr}.yn-topic-block{padding:16px}.yn-topic-block-head button{width:100%}.yn-editorial-topic-card{min-height:160px;padding:19px}.yn-editorial-topic-card>span{min-height:120px}.yn-classified-group summary{padding:15px 16px}.yn-classified-topic-links{grid-template-columns:1fr;padding:8px 16px 14px}.yn-category-directory-head h2{font-size:28px}}
