/*
Theme Name: Xu Hướng Hot — Reference
Author: Duy Hiển Agency
Description: Giao diện tạp chí Xu Hướng Hot theo mẫu PC và điện thoại.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: xuhuonghot-reference
*/
:root{--ink:#111827;--muted:#59616b;--orange:#e9541d;--soft:#f8f7f3;--line:#edece8;--serif:Georgia,'Times New Roman',serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;color:var(--ink);background:#f4f4f3;font:16px/1.55 Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #d45620;outline-offset:4px}button{cursor:pointer}img{max-width:100%;display:block}h1,h2,h3{font-family:var(--serif);line-height:1.13;letter-spacing:-.025em;margin:0 0 12px}h1{font-size:clamp(38px,4.7vw,68px)}h2{font-size:34px}h3{font-size:24px}p{margin:0 0 20px}small{font-size:13px}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6}.shell{max-width:1320px;margin:28px auto;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 40px #14203006}.wrap{padding:32px 36px}.site-header{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:22px 36px;border-bottom:1px solid var(--line)}.brand{display:inline-flex;flex-direction:column;flex-shrink:0}.brand strong{font-family:var(--serif);font-size:29px;line-height:1.05;letter-spacing:-.7px}.brand em{font-style:normal;color:var(--orange)}.brand small{font-size:12px;margin-top:3px}.nav{display:flex;gap:30px;align-items:center;margin-left:auto;font-size:14px}.nav a:hover,.footer a:hover{color:var(--orange)}.header-actions{display:flex;align-items:center;gap:22px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:20px;background:var(--orange);color:#fff;padding:13px 23px;border:0;border-radius:9px;font-size:14px;font-weight:500;min-height:46px}.btn:hover{background:#c94513}.btn svg{width:18px;height:18px}.icon-btn{border:0;background:none;color:var(--ink);padding:7px;display:flex;align-items:center;justify-content:center}.mobile-menu{display:none}.search-panel{border-bottom:1px solid var(--line);padding:20px 36px;background:var(--soft)}.search-panel[hidden]{display:none}.search-form{display:flex;gap:10px;max-width:680px;margin:auto}.search-form input{flex:1;min-width:0;border:1px solid #d6d9dd;border-radius:6px;padding:12px}.hero{position:relative;min-height:400px;display:flex;align-items:center;overflow:hidden}.hero-photo{position:absolute;inset:0 0 0 36%;width:64%;height:100%;object-fit:cover;object-position:center}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#fff 25%,#ffffffed 38%,#ffffff88 49%,transparent 63%)}.hero-copy{position:relative;z-index:1;padding:44px 36px;width:65%}.eyebrow{font-size:12px;letter-spacing:1.6px;font-weight:600;color:#a95634;margin:0 0 18px}.hero h1{margin:0 0 14px;max-width:670px}.hero .intro{font-size:20px;max-width:460px;color:#36404b;margin-bottom:25px}.editorial-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.story img{width:100%;object-fit:cover;border-radius:7px;height:176px}.story-large{grid-row:span 2}.story-large img{height:335px}.story .tags{display:flex;flex-wrap:wrap;gap:8px;margin:13px 5px 8px}.tag{font-size:12px;background:#f0f0f0;border-radius:7px;padding:4px 11px;line-height:1.5}.tag.accent{background:var(--orange);color:#fff}.story h2,.story h3,.story p,.story .read-more{margin-left:5px;margin-right:5px}.story h2{font-size:40px}.story h3{font-size:25px}.story p{color:var(--muted);font-size:15px;line-height:1.5;margin-bottom:18px}.story-large p{font-size:18px}.read-more{color:#cf4a17;font-size:14px;display:inline-flex;gap:9px;align-items:center;padding:6px 0}.read-more:hover{text-decoration:underline}.read-more svg{width:17px;height:17px}.principles{background:var(--soft)}.section-intro{color:var(--muted);max-width:800px;font-size:16px;margin-bottom:20px}.principle-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.principle{border-radius:12px;background:#fff;padding:18px 20px;display:block}.principle .symbol{background:#ffeadc;border-radius:50%;width:62px;height:62px;display:flex;align-items:center;justify-content:center;color:var(--orange);margin:0 0 15px}.symbol svg{width:34px;height:34px}.principle h3{font-size:23px}.principle p{font-size:15px;color:var(--muted);margin:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.section-heading a{color:#cf4a17;font-size:14px;white-space:nowrap}.calendar-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.season{border:1px solid var(--line);border-radius:9px;overflow:hidden}.season-photo{height:112px;position:relative;background-image:url('assets/seasons.webp');background-size:400% 100%;background-repeat:no-repeat}.season:nth-child(1) .season-photo{background-position:0% center}.season:nth-child(2) .season-photo{background-position:33.333% center}.season:nth-child(3) .season-photo{background-position:66.666% center}.season:nth-child(4) .season-photo{background-position:100% center}.season-photo span{position:absolute;bottom:9px;left:12px;background:#ffffffec;border-radius:20px;padding:3px 12px;font-size:12px}.season-body{padding:12px}.season h3{font-size:21px}.season ul{list-style:none;margin:0;padding:0;color:var(--muted);font-size:13px;line-height:1.8}.season li:before{content:'✓';color:var(--orange);padding-right:7px}.calendar-dots{display:none}.newsletter{background:var(--soft);display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}.newsletter-copy{padding-left:26px;border-left:6px solid var(--orange)}.newsletter h2{font-size:29px}.newsletter p{font-size:14px;color:var(--muted);margin:0;max-width:450px}.signup-row{display:flex}.signup-row input{width:100%;min-width:0;padding:12px 15px;border:1px solid #d4d7dc;border-radius:7px 0 0 7px;background:#fff;font-size:14px}.signup-row .btn{border-radius:0 7px 7px 0;white-space:nowrap;padding:12px 20px}.consent{font-size:12px;display:flex;align-items:flex-start;gap:9px;color:var(--muted);margin-top:10px}.consent input{margin:3px 0 0;flex-shrink:0}.consent a{text-decoration:underline}.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.notice{padding:16px 20px;border:1px solid #d6e4d0;background:#f5faf2;margin:16px 0;color:#284b23}.notice.error{background:#fff4f1;border-color:#efc5b7;color:#8d3015}.footer{display:grid;grid-template-columns:1.6fr .8fr .9fr 1.2fr;gap:35px;font-size:13px;padding-top:28px;padding-bottom:26px}.footer .brand strong{font-size:27px}.footer p{margin:12px 0;font-size:13px;color:var(--muted);max-width:270px}.footer h3{font-family:Arial,sans-serif;font-size:14px;margin-bottom:12px;letter-spacing:0}.footer ul{padding:0;list-style:none;margin:0;color:var(--muted);line-height:1.9}.footer .rss{display:inline-flex;gap:8px;align-items:center;margin-top:7px}.footer .rss svg{width:18px;height:18px}.footer .btn{font-size:12px;padding:10px;min-height:40px}.copyright{border-top:1px solid var(--line);padding:13px 36px;display:flex;justify-content:space-between;gap:15px;font-size:11px;color:#65707c}.copyright-links{display:flex;gap:15px}.skip-link{position:absolute;left:-9999px;top:0;z-index:2000;background:#fff;padding:15px}.skip-link:focus{left:0}.page-main{min-height:60vh}.article{max-width:840px;margin:auto;padding:50px 36px 65px}.article h1{font-size:48px}.article h2{font-size:29px;margin-top:34px}.article h3{font-size:24px;margin-top:28px}.article p,.article li{font-size:17px;line-height:1.85;color:#36404b}.article ul,.article ol{padding-left:24px}.article a{color:#c54717;text-decoration:underline}.article .cover{width:100%;height:auto;border-radius:8px;margin:25px 0}.article-meta{font-size:13px;color:var(--muted);margin:16px 0}.breadcrumb{font-size:13px;color:var(--muted);margin-bottom:23px}.archive-title{padding-bottom:16px}.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.pagination{padding:25px 0;display:flex;gap:16px}.empty{padding:40px 0;color:var(--muted)}[hidden]{display:none!important}@media(min-width:1700px){.shell{margin-top:40px}}@media(max-width:1100px){.shell{margin:0;border-radius:0}.wrap{padding:28px}.site-header{padding:22px 28px;gap:18px}.nav{gap:20px}.header-actions{gap:12px}.hero{min-height:370px}.hero-copy{padding:36px 28px}.hero h1{font-size:54px}.story-large img{height:295px}.story h2{font-size:35px}.story h3{font-size:23px}.footer{gap:25px}.brand strong{font-size:26px}.newsletter{gap:25px}}@media(max-width:767px){body{background:#fff;font-size:16px}.shell{box-shadow:none}.site-header{padding:20px 22px;position:relative;min-height:83px}.brand strong{font-size:25px}.brand small{font-size:11px}.header-actions>.btn,.header-actions>.search-toggle{display:none}.mobile-menu{display:flex}.nav{display:none;position:absolute;top:100%;left:0;right:0;background:white;z-index:5;padding:22px;border-bottom:1px solid var(--line);flex-direction:column;align-items:flex-start;gap:18px;box-shadow:0 8px 15px #0001}.nav.open{display:flex}.nav .mobile-search{display:block!important}.hero{min-height:0;display:block}.hero-photo,.hero:after{display:none}.hero-copy{width:100%;padding:27px 22px 12px}.eyebrow{font-size:10px;letter-spacing:1.2px;margin-bottom:12px}.hero h1{font-size:clamp(36px,9.5vw,51px);margin-bottom:12px}.hero .intro{font-size:16px;line-height:1.5;margin-bottom:18px;max-width:350px}.btn{font-size:13px;padding:11px 19px;min-height:43px}.wrap{padding:24px 22px}.editorial-grid{display:block;padding-top:8px}.story{margin-bottom:28px}.story:last-child{margin-bottom:0}.story img,.story-large img{height:auto;aspect-ratio:2.08;object-fit:cover}.story .tags{margin:12px 0 7px}.tag{font-size:11px;padding:3px 10px}.story h2,.story h3,.story p,.story .read-more{margin-left:0;margin-right:0}.story h2,.story h3{font-size:27px;line-height:1.12;margin-bottom:10px}.story p,.story-large p{font-size:14px;margin-bottom:8px;line-height:1.5}.read-more{font-size:13px}.principles h2{font-size:25px}.principles>.section-intro{display:none}.principle-grid{grid-template-columns:1fr;gap:9px}.principle{display:grid;grid-template-columns:48px 1fr;gap:12px;padding:14px 12px}.principle .symbol{width:45px;height:45px;margin:0}.symbol svg{width:26px;height:26px}.principle h3{font-size:18px;margin-bottom:5px}.principle p{font-size:12px;line-height:1.5}.section-heading h2{font-size:25px}.section-heading a{font-size:11px}.calendar>.section-intro{font-size:14px}.calendar-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:18px;scrollbar-width:none}.calendar-grid::-webkit-scrollbar{display:none}.season{flex:0 0 100%;scroll-snap-align:start;display:grid;grid-template-columns:95px 1fr;border:0;border-radius:0;gap:12px}.season-photo{height:110px;border-radius:7px;background-size:400% 100%}.season-photo span{display:none}.season-body{padding:0}.season h3{font-size:21px;margin:7px 0}.season ul{font-size:12px}.season-period-mobile{display:inline-block!important;background:#f0f0f0;border-radius:12px;font-size:11px;padding:2px 10px}.calendar-dots{display:flex;gap:8px;justify-content:center;margin-top:14px}.calendar-dots button{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:#d4d4d4}.calendar-dots button.active{background:var(--orange)}.newsletter{display:block}.newsletter-copy{border:0;padding:0;margin-bottom:14px}.newsletter h2{font-size:25px;margin-bottom:8px}.newsletter p{font-size:13px}.signup-row .btn{font-size:12px;padding:11px 14px}.consent{font-size:11px}.footer{grid-template-columns:1fr 1fr;gap:22px;font-size:12px}.footer-brand{grid-column:1/-1}.footer-news{display:none}.copyright{padding:18px 22px;font-size:10px;flex-direction:column}.copyright-links{gap:12px;flex-wrap:wrap}.article{padding:30px 22px}.article h1{font-size:36px}.article p,.article li{font-size:16px}.archive-grid{grid-template-columns:1fr}.archive-title h1{font-size:37px}.search-panel{padding:15px 22px}.search-form .btn{padding:10px}.section-heading{align-items:baseline}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{scroll-behavior:auto!important}} 
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen-reader-text:focus{position:static!important;width:auto;height:auto;clip:auto;white-space:normal}

/* Editorial topics — 10 October 2026 */
body{background:#f7f5f1}.site-header{gap:18px}.nav{gap:18px;font-size:13px}.header-actions>.btn{display:none}.hero{min-height:440px}.hero-copy{width:65%}.hero h1{font-size:clamp(38px,4.4vw,65px)}.xh-featured-heading{padding-bottom:0}.xh-featured-heading h2{font-size:27px;margin-bottom:0}.home .editorial-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding-top:18px;padding-bottom:20px}.home .story-large{grid-row:auto}.home .story{border:1px solid var(--line);border-radius:10px;overflow:hidden;padding-bottom:14px;box-shadow:0 6px 20px #17202b04}.home .story img,.home .story-large img{height:190px;aspect-ratio:1.8;border-radius:0;object-fit:cover}.home .story h2,.home .story h3{font-size:25px;margin:8px 14px}.home .story .tags{margin:12px 14px 7px}.home .story p{font-size:14px;margin:8px 14px 10px}.home .story .read-more{margin:0 14px}.xh-topics{padding-top:16px;padding-bottom:36px}.xh-topics>h2{font-size:clamp(30px,3.5vw,48px);margin-bottom:8px}.xh-topics>h2>span{color:var(--orange)}#xh-today{white-space:nowrap}.xh-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.xh-topic-card{display:grid;grid-template-columns:38% minmax(0,1fr);gap:22px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 4px 20px #17202b04;min-width:0}.xh-topic-image{min-width:0;overflow:hidden;border-radius:8px}.xh-topic-image img{width:100%;height:100%;min-height:210px;object-fit:cover}.xh-topic-body{padding:7px 10px 7px 0;min-width:0}.xh-topic-number{color:var(--orange);font-size:12px;font-weight:bold}.xh-topic-card h3{font-size:27px;margin:4px 0 10px}.xh-topic-card h3 a:hover{color:var(--orange)}.xh-topic-card ul{list-style:none;padding:0;margin:0}.xh-topic-card li+li{border-top:1px solid var(--line)}.xh-topic-card li a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 0;font-size:15px;color:#59616b;line-height:1.4}.xh-topic-card li a:hover{color:#c94513}.xh-topic-card li a span{color:var(--orange);flex-shrink:0}.xh-topic-card:last-child{grid-column:1/-1;grid-template-columns:54% minmax(0,1fr)}.xh-topic-card:last-child .xh-topic-image img{max-height:245px}.xh-archive-links{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0 25px}.xh-archive-links a{border:1px solid var(--line);border-radius:20px;padding:7px 15px;font-size:14px}.xh-archive-links a:hover{border-color:var(--orange);color:var(--orange)}
@media(min-width:768px) and (max-width:1100px){.site-header{flex-wrap:wrap}.nav{order:3;flex-basis:100%;justify-content:center;gap:22px}.header-actions{margin-left:auto}.xh-topic-card{gap:15px}.xh-topic-card h3{font-size:23px}.xh-topic-card li a{font-size:14px}}
@media(max-width:767px){.site-header{padding:18px 22px}.nav{font-size:15px}.hero{display:flex;flex-direction:column;min-height:0}.hero-copy{width:100%;padding:26px 22px}.hero h1{font-size:clamp(34px,9.4vw,49px)}.hero-photo{display:block;position:static;order:2;width:calc(100% - 44px);height:auto;aspect-ratio:1.7;object-fit:cover;border-radius:8px}.hero:after{display:none}.hero .eyebrow{font-size:9px;letter-spacing:1px}.xh-featured-heading{padding-top:25px}.xh-featured-heading h2{font-size:25px}.home .editorial-grid{display:grid;grid-template-columns:1fr;gap:18px}.home .story{margin:0}.home .story img,.home .story-large img{height:auto;aspect-ratio:1.9}.home .story h2,.home .story h3{font-size:25px}.xh-topics>h2{font-size:30px;line-height:1.15}.xh-topics>h2>span{display:block}.xh-topic-grid{grid-template-columns:1fr;gap:12px}.xh-topic-card,.xh-topic-card:last-child{grid-column:auto;grid-template-columns:31% minmax(0,1fr);gap:14px;padding:9px}.xh-topic-body{padding:3px 2px 3px 0}.xh-topic-card h3{font-size:22px;margin-bottom:8px}.xh-topic-card li a{font-size:13px;padding:7px 0;min-height:34px}.xh-topic-image img{min-height:210px;max-height:none}.xh-topic-card:last-child .xh-topic-image img{max-height:none}.xh-topics .section-intro{font-size:14px}.newsletter{margin-top:5px}}

/* Mobile bento: two topic cards per row */
@media(max-width:767px){.xh-topics{padding-left:16px;padding-right:16px}.xh-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}.xh-topic-card{display:flex;flex-direction:column;gap:0;padding:8px;border-radius:14px;min-width:0}.xh-topic-image{display:block;width:100%;border-radius:9px;flex-shrink:0}.xh-topic-image img{width:100%;height:112px;min-height:0;max-height:112px;aspect-ratio:auto;object-fit:cover}.xh-topic-body{padding:10px 3px 2px;display:flex;flex-direction:column;flex:1}.xh-topic-number{font-size:10px}.xh-topic-card h3{font-size:20px;line-height:1.13;margin:5px 0 10px;min-height:46px;overflow-wrap:anywhere}.xh-topic-card ul{margin-top:auto}.xh-topic-card li a{font-size:12px;line-height:1.4;min-height:44px;padding:8px 0;gap:4px;overflow-wrap:anywhere}.xh-topic-card li a span{font-size:13px}.xh-topic-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:32% minmax(0,1fr);gap:12px}.xh-topic-card:last-child .xh-topic-image img{height:100%;min-height:190px;max-height:none}.xh-topic-card:last-child h3{min-height:0;font-size:23px}.xh-topic-card:last-child ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px}.xh-topic-card:last-child li{border-top:1px solid var(--line)}.xh-topic-card:last-child .xh-topic-body{padding:8px 3px 4px 0}}

/* Equal featured cards with horizontal mobile grid */
.home .editorial-grid{align-items:stretch}.home .editorial-grid .story{display:flex;flex-direction:column;min-width:0}.home .editorial-grid .story>a:first-child{display:block;flex-shrink:0}.home .editorial-grid .story .read-more{margin-top:auto;min-height:44px}.home .editorial-grid .story h2,.home .editorial-grid .story h3{min-height:2.3em}.home .editorial-grid .story p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:4.5em}
@media(max-width:767px){.xh-featured-heading{padding-left:16px;padding-right:16px;display:flex;align-items:center;justify-content:space-between;gap:10px}.xh-featured-heading:after{content:'Vuốt xem →';font-size:12px;color:#a94b26;white-space:nowrap}.home .editorial-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:82%;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:16px;padding:16px 16px 22px;scrollbar-width:thin;scrollbar-color:#e9541d #f4eee8}.home .editorial-grid .story{scroll-snap-align:start;border-radius:12px;padding-bottom:10px}.home .editorial-grid .story img,.home .editorial-grid .story-large img{height:auto;aspect-ratio:16/10;width:100%;object-fit:cover}.home .editorial-grid .story h2,.home .editorial-grid .story h3{font-size:22px;line-height:1.16;min-height:3.48em;margin:6px 12px 10px}.home .editorial-grid .story p{font-size:13px;line-height:1.5;margin:0 12px 12px;min-height:4.5em}.home .editorial-grid .story .tags{margin:12px 12px 6px;gap:5px;min-height:24px}.home .editorial-grid .tag{font-size:10px;padding:3px 7px}.home .editorial-grid .story .read-more{margin-left:12px;margin-right:12px;font-size:13px}}

/* Vietnamese typography for desktop and mobile */
:root{--serif:Arial,Helvetica,sans-serif}body{font-family:Arial,Helvetica,sans-serif;-webkit-text-size-adjust:100%;text-size-adjust:100%}h1,h2,h3,h4,h5,h6,.brand strong{font-family:Arial,Helvetica,sans-serif;letter-spacing:normal;font-weight:700;line-height:1.3}h1,h2,h3,h4,h5,h6{word-break:normal;overflow-wrap:break-word}.hero h1{line-height:1.18}.brand strong{line-height:1.25}.story h2,.story h3{line-height:1.35}.xh-topic-card h3{line-height:1.35;overflow-wrap:normal}.xh-topic-card li a{line-height:1.55}@media(max-width:767px){.hero h1{font-size:clamp(30px,8.2vw,42px);line-height:1.22}.xh-featured-heading h2{font-size:23px}.home .story h2,.home .story h3{font-size:21px;line-height:1.35}.xh-topics>h2{font-size:27px;line-height:1.3}.xh-topic-card h3{font-size:18px;line-height:1.4;min-height:51px}.xh-topic-card:last-child h3{font-size:21px}.brand strong{font-size:25px}}

/* Website brand image */
.brand.brand-image{width:248px;max-width:100%;gap:0}.brand .xhr-logo{display:block;width:248px;max-width:100%;height:auto;margin:-16px 0 -13px;object-fit:contain}.brand.brand-image small{margin-top:0;padding-left:9px;font-size:11px;line-height:1.4}@media(max-width:767px){.brand.brand-image{width:208px;flex-shrink:1}.brand .xhr-logo{width:208px;margin:-14px 0 -11px}.site-header{gap:12px}.header-actions{flex-shrink:0}}

/* SEO articles and practical bento links */
.article{padding:32px 20px;overflow-wrap:anywhere}.article h1{font-size:clamp(28px,4vw,42px);line-height:1.3}.article h2{font-size:clamp(23px,3vw,30px);margin-top:32px}.article h3{font-size:21px;margin-top:24px}.article p,.article li{font-size:18px;line-height:1.8}.article figure{margin:24px 0}.article img.cover{width:100%;height:auto;max-height:none;aspect-ratio:1199/675;object-fit:cover}.article figcaption,.article-meta{font-size:14px;color:#5b6470;line-height:1.6}.xhr-toc,.xhr-sources,.xhr-related{padding:20px;border:1px solid #e5e5e5;border-radius:16px;background:#faf9f6;margin:24px 0}.xhr-toc li,.xhr-sources li,.xhr-related li{font-size:16px;line-height:1.65}.xhr-toc h2,.xhr-sources h2,.xhr-related h2{margin-top:0}.xhr-practice{margin:36px auto}.xhr-practice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.xhr-practice-grid>a{display:grid;gap:12px;padding:20px;border:1px solid #e5e3df;border-radius:18px;background:#faf9f6}.xhr-practice-grid span{font-size:14px;color:#525b68}.xhr-practice-grid strong{font-size:19px}.archive-grid .story img{width:100%;height:auto;aspect-ratio:1199/675;object-fit:cover}@media(max-width:767px){.xhr-practice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.xhr-practice-grid>a{padding:14px}.xhr-practice-grid strong{font-size:17px}.article p,.article li{font-size:17px}.article{padding:24px 18px}.xhr-toc,.xhr-sources,.xhr-related{padding:16px}}


/* Knowledge library cards — 10/10/2026 */
.xhr-library{max-width:1240px;margin:auto;padding:36px 36px 60px;overflow-wrap:break-word}.xhr-library .breadcrumb a{color:#bf461a}.xhr-library-hero{display:flex;justify-content:space-between;align-items:center;gap:32px;padding:32px;background:#faf6f0;border:1px solid #eee4da;border-radius:20px;margin:0 0 22px}.xhr-library-hero>div{max-width:700px}.xhr-library-hero h1{font-size:clamp(30px,4vw,48px);line-height:1.2;margin-bottom:14px}.xhr-library-hero p:not(.eyebrow){font-size:17px;color:#59616b;max-width:580px;margin-bottom:16px}.xhr-library-count{font-size:13px;color:#915536}.xhr-library-hero .btn{flex-shrink:0}.xhr-library-nav{display:flex;flex-wrap:wrap;gap:10px;padding:0 0 26px;margin-bottom:14px;border-bottom:1px solid #eee8e2}.xhr-library-nav a{display:flex;align-items:center;gap:10px;padding:9px 14px;border:1px solid #e8e1da;border-radius:30px;font-size:14px;min-height:44px}.xhr-library-nav a:hover{border-color:#e9541d;color:#c54717;background:#fff8f2}.xhr-library-nav span{background:#f6efe8;padding:1px 6px;border-radius:12px;font-size:12px}.xhr-library-section{margin:34px 0 50px;scroll-margin-top:24px}.xhr-library-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}.xhr-library-heading .eyebrow{margin:0 0 7px;font-size:10px}.xhr-library-heading h2{font-size:28px;margin:0;line-height:1.3}.xhr-library-heading>a{color:#b73e13;font-size:14px;padding:10px 0;white-space:nowrap}.xhr-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}.xhr-library-card{min-width:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #e8e4df;border-radius:16px;background:#fff;box-shadow:0 5px 18px #17202b04}.xhr-library-cover{display:block;overflow:hidden;background:#f7eee4;aspect-ratio:16/9}.xhr-library-cover img{width:100%;height:100%;object-fit:cover}.xhr-library-placeholder{height:100%;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700;gap:6px}.xhr-library-placeholder span{color:#e9541d}.xhr-library-card-body{padding:22px;display:flex;flex-direction:column;flex:1;align-items:flex-start}.xhr-library-tag{font-size:12px;line-height:1.4;background:#fff0e5;color:#a63c15;border-radius:6px;padding:5px 9px;margin-bottom:12px}.xhr-library-card h3{font-size:22px;line-height:1.4;margin:0 0 12px;width:100%}.xhr-library-card h3 a:hover{color:#c54717}.xhr-library-card p{font-size:15px;color:#59616b;line-height:1.7;margin:0 0 18px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.xhr-library-read{display:flex;align-items:center;gap:12px;color:#bc4014;font-weight:600;font-size:14px;min-height:44px;margin-top:auto}.xhr-library-read:hover{text-decoration:underline}.xhr-library-end{padding:28px;border:1px solid #eee4da;border-radius:18px;background:#faf6f0}.xhr-library-end strong{font-size:22px;line-height:1.4}.xhr-library-end p{color:#59616b;margin:10px 0 18px;font-size:16px}@media(max-width:1000px){.xhr-library-hero{align-items:flex-start;flex-direction:column;gap:20px}.xhr-library-hero .btn{min-width:0}}@media(max-width:767px){.xhr-library{padding:24px 16px 36px}.xhr-library .breadcrumb{font-size:12px;margin-bottom:18px}.xhr-library-hero{padding:22px 18px;border-radius:16px}.xhr-library-hero h1{font-size:32px}.xhr-library-hero .eyebrow{font-size:9px;letter-spacing:1px}.xhr-library-hero p:not(.eyebrow){font-size:15px}.xhr-library-nav{gap:8px;padding-bottom:20px}.xhr-library-nav a{font-size:12px;padding:8px 10px;gap:6px}.xhr-library-heading{gap:12px;align-items:flex-end}.xhr-library-heading h2{font-size:23px}.xhr-library-heading>a{font-size:12px;white-space:normal;text-align:right;max-width:96px}.xhr-library-grid{gap:12px}.xhr-library-card{border-radius:12px}.xhr-library-card-body{padding:12px;align-items:stretch}.xhr-library-tag{font-size:10px;padding:4px 6px;align-self:flex-start;margin-bottom:9px}.xhr-library-card h3{font-size:16px;line-height:1.45;margin-bottom:10px;overflow-wrap:break-word}.xhr-library-card p{font-size:12px;line-height:1.65;-webkit-line-clamp:3;margin-bottom:10px}.xhr-library-read{font-size:12px;gap:6px;min-height:44px}.xhr-library-section{margin:28px 0 36px}.xhr-library-end{padding:20px}.xhr-library-end strong{font-size:20px}.xhr-library-end p{font-size:14px}}@media(prefers-reduced-motion:no-preference){.xhr-library-card{transition:border-color .15s,box-shadow .15s}.xhr-library-card:hover{border-color:#e1b39a;box-shadow:0 8px 24px #17202b09}}
