.resource-detail{--resource-line:#dde6ef;--resource-surface:#f5f7fa;--resource-text:#405063;--resource-active:#e3edf9}
.resource-detail+.site-footer-wrap{margin-top:0}
.resource-detail__banner .page-banner{min-height:clamp(126px,14vw,190px)}
.resource-detail__banner .resource-detail__banner-title{margin-top:0;color:#fff;font:700 clamp(30px,3.9vw,49px)/1.16 "Noticia Text",serif}
.resource-detail-wrap{padding-block:clamp(30px,4.6vw,68px) clamp(52px,6vw,96px)}
.resource-detail__layout{display:grid;grid-template-columns:clamp(242px,23vw,300px) minmax(0,1fr);gap:clamp(34px,5.5vw,88px);align-items:start}
.resource-detail__sidebar{position:sticky;top:24px;max-height:calc(100vh - 48px);overflow:auto;border:1px solid var(--resource-line);border-radius:12px;background:var(--resource-surface)}
.resource-nav{padding:16px}
.resource-nav__back{min-height:42px;padding:8px 10px 13px;display:flex;align-items:center;gap:7px;color:var(--color-second);font-size:13px;font-weight:700;border-bottom:1px solid var(--resource-line)}
.resource-nav__back::before{content:"";flex:none;width:17px;height:17px;background-color:currentColor;-webkit-mask:var(--svg-left) center / contain no-repeat;mask:var(--svg-left) center / contain no-repeat}
.resource-nav__back:hover{text-decoration:underline;text-underline-offset:3px}
.resource-nav__group+.resource-nav__group{border-top:1px solid var(--resource-line)}
.resource-nav__label{min-height:46px;padding:10px;display:grid;grid-template-columns:minmax(0,1fr) 20px;align-items:center;gap:8px;list-style:none;cursor:pointer;color:var(--color-main-dark);font-size:14px;font-weight:700;line-height:1.4}
.resource-nav__label::-webkit-details-marker{display:none}
.resource-nav__label::after{content:"";width:20px;height:20px;background-color:currentColor;-webkit-mask:var(--svg-bottom) center / contain no-repeat;mask:var(--svg-bottom) center / contain no-repeat}
.resource-nav__group[open]>.resource-nav__label::after{transform:rotate(180deg)}
.resource-nav__label:hover{color:var(--color-second)}
.resource-nav__list{margin:0 0 10px 12px;padding-left:10px;display:grid;gap:3px;border-left:1px solid var(--resource-line)}
.resource-nav__link{min-height:38px;padding:8px 10px;display:block;border-radius:5px;color:var(--resource-text);font-size:13px;font-weight:500;line-height:1.5}
.resource-nav__link:hover{background:#edf2fa;color:var(--color-main)}
.resource-nav__link[aria-current="page"]{background:var(--resource-active);color:var(--color-main);font-weight:700}
.resource-nav a:focus-visible,.resource-nav__label:focus-visible{outline:2px solid var(--color-second);outline-offset:-2px}
.resource-article{max-width:840px;min-width:0;color:var(--resource-text);overflow-wrap:anywhere}
.resource-article__header{padding-bottom:clamp(18px,3vw,28px);border-bottom:1px solid var(--resource-line)}
.resource-article__header h1,.resource-article__body h2{font-family:"Noticia Text",serif;color:var(--color-main-dark)}
.resource-article__header h1{font-size:clamp(32px,4vw,54px);line-height:1.13}
.resource-article__lead{margin-top:16px;font-size:clamp(16px,1.7vw,20px);line-height:1.65}
.resource-article__cover{display:block;width:100%;height:auto;margin-top:24px;border-radius:12px}
.resource-article__contents{margin-top:24px;padding:16px 20px;border-radius:8px;background:var(--resource-surface)}
.resource-article__contents h2{font-size:16px;color:var(--color-main-dark)}
.resource-article__contents ul{margin-top:8px}
.resource-article__contents a{display:inline-block;padding-block:4px;color:var(--color-second);text-decoration:underline;text-underline-offset:3px}
.resource-article__body{margin-top:clamp(22px,3vw,34px);color:inherit;font-size:clamp(15px,1.35vw,17px);line-height:1.8}
.resource-article__body>p{margin-bottom:0}
.resource-article__body>*+*{margin-top:clamp(22px,3.2vw,38px)}
.resource-article__body h2{margin-bottom:10px;font-size:clamp(22px,2.4vw,30px);line-height:1.3}

@media (max-width:768px){
  .resource-detail__layout{grid-template-columns:minmax(0,1fr);gap:30px}
  .resource-detail__sidebar{position:static;max-height:none;overflow:visible}
  .resource-nav{padding:12px}
}
