.document-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 50% -25%, #fff 0, #faf7f3 54%, #f4f0eb 100%); }
.document-hero::before, .document-hero::after { content: ""; position: absolute; width: 500px; height: 500px; border: 1px solid #dfd9d180; border-radius: 50%; pointer-events: none; }
.document-hero::before { top: -275px; left: -180px; }
.document-hero::after { right: -245px; bottom: -335px; }
.document-hero-inner { position: relative; z-index: 1; min-height: 580px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-block: 42px 91px; text-align: center; }
.document-breadcrumb { align-self: flex-start; display: flex; align-items: center; gap: 12px; margin-bottom: auto; color: #898b90; font-size: 11px; font-weight: 700; }
.document-breadcrumb a:hover { color: var(--red); }
.document-breadcrumb > span:last-child { color: #434850; }
.document-hero .eyebrow { margin-top: 54px; }
.document-hero h1 { margin: 22px 0 17px; font: 400 clamp(59px, 5.6vw, 86px)/1.07 Anton, Impact, sans-serif; letter-spacing: -.014em; }
.document-hero h1 span { display: inline; width: auto; color: var(--red); white-space: normal; transform: none; }
.document-hero-inner > p { max-width: 700px; margin: 0; color: #61666f; font-size: 17px; line-height: 1.65; }
.document-hero-search { display: flex; align-items: center; gap: 13px; width: min(100%, 735px); min-height: 65px; margin-top: 31px; padding: 7px 7px 7px 21px; border: 1px solid #d8dadd; border-radius: 8px; background: #fff; box-shadow: 0 18px 46px #24292e12; }
.document-hero-search:focus-within { border-color: #bf4352; box-shadow: 0 0 0 3px #de233414, 0 18px 46px #24292e12; }
.document-hero-search > .icon { flex: none; width: 21px; height: 21px; color: #92969d; }
.document-hero-search input { flex: 1; min-width: 0; min-height: 48px; border: 0; outline: 0; background: transparent; color: #242a32; font-size: 14px; }
.document-hero-search input::placeholder { color: #9da1aa; }
.document-hero-search button { display: inline-flex; align-items: center; justify-content: space-between; gap: 21px; align-self: stretch; min-width: 159px; padding-inline: 17px; border-radius: 5px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; }
.document-hero-search button:hover { background: #bd1e30; }
.document-hero-search button .icon { width: 17px; height: 17px; }
.document-hero-meta { display: flex; align-items: center; gap: 11px; margin-top: 17px; color: #8d9198; font-size: 11px; }
.document-hero-meta > span:first-child { color: #555b64; font-weight: 700; }
.document-topic-nav { overflow-x: auto; border-block: 1px solid #e7e7e9; background: #fff; scrollbar-width: none; }
.document-topic-nav::-webkit-scrollbar { display: none; }
.document-topic-inner { display: flex; align-items: center; gap: 25px; min-height: 59px; white-space: nowrap; }
.document-topic-inner > span { color: #aaaeb3; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.document-topic-inner a { display: flex; align-items: center; align-self: stretch; border-bottom: 2px solid transparent; color: #5f646d; font-size: 12px; font-weight: 700; }
.document-topic-inner a:hover, .document-topic-inner a[aria-current="page"] { border-bottom-color: var(--red); color: #a51f32; }
.document-paths { padding-block: 106px 110px; background: #fff; }
.document-section-head { display: grid; grid-template-columns: 1fr minmax(240px, .37fr); gap: 58px; align-items: end; }
.document-section-head h2, .document-next h2 { margin: 17px 0 0; font: 400 clamp(51px, 5vw, 75px)/1.08 Anton, Impact, sans-serif; letter-spacing: -.01em; }
.document-section-head h2 span, .document-next h2 span { color: var(--red); }
.document-section-head > p { margin: 0 0 6px; color: #656a73; font-size: 15px; line-height: 1.7; }
.document-path-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-top: 43px; }
.document-path-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e6e5e2; border-radius: 8px; background: #f8f7f4; color: #252930; text-align: left; transition: transform .2s, border-color .2s; }
.document-path-card:hover { transform: translateY(-3px); border-color: #cf9ca5; }
.document-path-picture { position: relative; height: clamp(215px, 20vw, 295px); display: grid; place-items: center; overflow: hidden; background: var(--path-bg, #e9e3dc); }
.document-path-picture::before { content: ""; position: absolute; width: 150%; height: 150%; border: 1px solid #ffffff80; border-radius: 50%; left: -45%; top: -60%; }
.document-path-picture img { position: relative; z-index: 1; display: block; max-width: 71%; max-height: 76%; object-fit: contain; box-shadow: 8px 15px 20px #1d263130; }
.document-path-picture .document-image-fallback { display: none; }
.document-path-picture:not(:has(img)) .document-image-fallback { display: block; }
.document-path-number { position: absolute; z-index: 2; right: 18px; bottom: -15px; color: #ffffff9c; font: 400 120px/.9 Anton, Impact, sans-serif; }
.document-path-copy { display: grid; gap: 10px; padding: 20px 21px 22px; }
.document-path-copy small { color: #b22a3b; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.document-path-copy strong { color: #242830; font-size: 22px; letter-spacing: -.04em; }
.document-path-copy em { display: flex; justify-content: space-between; align-items: center; color: #848992; font-size: 11px; font-style: normal; }
.document-path-copy .icon { width: 17px; height: 17px; color: #b52b3d; }
.document-catalog { padding-block: 112px 121px; background: #f5f5f4; }
.document-tools { display: flex; align-items: center; gap: 20px; margin-top: 44px; }
.document-search { display: flex; align-items: center; gap: 11px; flex: 1; min-height: 53px; padding: 0 17px; border: 1px solid #dddedf; border-radius: 5px; background: #fff; }
.document-search:focus-within { border-color: #ba3546; box-shadow: 0 0 0 3px #de233411; }
.document-search .icon { width: 19px; height: 19px; color: #969aa2; }
.document-search input { width: 100%; min-height: 51px; border: 0; outline: 0; background: transparent; color: #262b33; font-size: 13px; }
.document-search input::placeholder { color: #a1a4ab; }
.document-sort { display: flex; align-items: center; gap: 11px; color: #686d75; font-size: 12px; font-weight: 700; white-space: nowrap; }
.document-sort select { min-height: 53px; padding: 0 33px 0 15px; border: 1px solid #dddedf; border-radius: 5px; background: #fff; color: #303640; font-size: 12px; font-weight: 700; cursor: pointer; }
.document-year-filters { display: flex; gap: 8px; overflow-x: auto; margin-top: 23px; padding-bottom: 8px; scrollbar-width: thin; }
.document-year-filters button { flex: none; min-height: 38px; padding: 8px 16px; border: 1px solid #dcdee1; border-radius: 25px; background: #fff; color: #59616b; font-size: 12px; font-weight: 700; }
.document-year-filters button:hover { border-color: #c86a77; color: #aa2c3d; }
.document-year-filters button[aria-pressed="true"] { border-color: #272d35; background: #272d35; color: #fff; }
.document-year-filters button span { margin-left: 4px; color: #a4aab2; font-size: 10px; }
.document-year-filters button[aria-pressed="true"] span { color: #fff9; }
.document-catalog-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 25px 0 17px; color: #888e96; font-size: 11px; }
.document-catalog-bar p { margin: 0; color: #323840; font-size: 12px; font-weight: 700; }
.document-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 15px; }
.document-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e5e6e8; border-radius: 8px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.document-card:hover { border-color: #d5b5bc; box-shadow: 0 15px 29px #1d202e0e; }
.document-card-cover { position: relative; display: grid; place-items: center; height: clamp(230px, 22vw, 320px); overflow: hidden; background: #ece8e2; }
.document-card:nth-child(3n+2) .document-card-cover { background: #e9edec; }
.document-card:nth-child(3n+3) .document-card-cover { background: #eeebee; }
.document-card-cover img { display: block; max-width: 82%; max-height: 85%; object-fit: contain; filter: drop-shadow(7px 13px 8px #0002); transition: transform .25s; }
.document-card:hover .document-card-cover img { transform: translateY(-3px); }
.document-card-cover .document-image-fallback { display: none; }
.document-card-cover:not(:has(img)) .document-image-fallback { display: block; }
.document-image-fallback { max-width: 80%; color: #444952; font: 400 29px/1.15 Anton, Impact, sans-serif; text-align: center; }
.document-card-badge { position: absolute; bottom: 13px; left: 13px; padding: 6px 9px; border-radius: 3px; background: #fff; color: #a32b3d; font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.document-card-body { display: flex; flex: 1; flex-direction: column; padding: 21px 21px 19px; }
.document-card-kicker { color: #aa293b; font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.document-card h3 { display: -webkit-box; overflow: hidden; min-height: 58px; margin: 9px 0 11px; color: #222730; font-size: 18px; line-height: 1.36; letter-spacing: -.03em; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.document-card p { display: -webkit-box; overflow: hidden; min-height: 57px; margin: 0; color: #717780; font-size: 12px; line-height: 1.6; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.document-card-meta { display: flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 20px; color: #92979e; font-size: 10px; }
.document-card-meta .icon { width: 14px; height: 14px; color: #b12b3c; }
.document-card-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 13px; border-top: 1px solid #edf0f1; color: #9c293a; font-size: 11px; font-weight: 700; }
.document-card-link .icon { width: 16px; height: 16px; }
.document-empty { padding: 75px 20px; border: 1px dashed #d6d8db; border-radius: 7px; text-align: center; }
.document-empty h3 { margin: 0 0 8px; font-size: 20px; }
.document-empty p { margin: 0 0 21px; color: #717780; font-size: 13px; }
.document-empty button { padding: 11px 18px; border-radius: 4px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; }
.document-more { display: flex; align-items: center; justify-content: center; gap: 11px; min-height: 49px; margin: 34px auto 0; padding: 11px 23px; border: 1px solid #d2d5d8; border-radius: 5px; background: #fff; color: #2f343b; font-size: 12px; font-weight: 700; }
.document-more:hover { border-color: var(--red); color: var(--red); }
.document-more .icon { width: 17px; height: 17px; }
.document-next { padding-block: 94px; background: #f9eded; }
.document-next-inner { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.document-next h2 { font-size: clamp(50px, 4.8vw, 73px); }
.document-next p { max-width: 500px; margin: 18px 0 0; color: #6e6d74; font-size: 15px; line-height: 1.7; }
.document-next .button { flex: none; display: inline-flex; align-items: center; justify-content: space-between; gap: 23px; min-width: 215px; min-height: 53px; padding: 12px 18px; }
.document-next .icon { width: 18px; height: 18px; }
@media (max-width: 1050px) {
  .document-path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .document-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .document-hero-inner { min-height: 0; padding-block: 24px 68px; }
  .document-breadcrumb { margin-bottom: 0; }
  .document-hero .eyebrow { margin-top: 58px; }
  .document-hero h1 { font-size: clamp(49px, 9vw, 69px); }
  .document-hero-inner > p { font-size: 15px; }
  .document-topic-inner { width: max-content; max-width: none; min-height: 52px; margin: 0; padding-inline: 5vw; gap: 22px; }
  .document-topic-inner > span { display: none; }
  .document-paths, .document-catalog { padding-block: 79px 86px; }
  .document-section-head { grid-template-columns: 1fr; gap: 15px; }
  .document-section-head h2, .document-next h2 { font-size: clamp(47px, 8.5vw, 65px); }
  .document-section-head > p { max-width: 550px; }
  .document-path-grid { margin-top: 32px; }
  .document-path-picture { height: 250px; }
  .document-next-inner { display: grid; gap: 30px; }
  .document-next .button { width: fit-content; }
}
@media (max-width: 480px) {
  .document-hero h1 { font-size: clamp(42px, 10vw, 50px); }
  .document-hero-search { min-height: 59px; gap: 9px; padding: 6px 6px 6px 13px; }
  .document-hero-search input { font-size: 12px; }
  .document-hero-search button { min-width: 45px; padding-inline: 10px; font-size: 0; }
  .document-hero-search button .icon { width: 19px; height: 19px; }
  .document-hero-meta { flex-wrap: wrap; justify-content: center; font-size: 10px; }
  .document-section-head h2, .document-next h2 { font-size: clamp(42px, 10vw, 51px); }
  .document-path-grid { gap: 10px; }
  .document-path-picture { height: 182px; }
  .document-path-picture img { max-width: 70%; max-height: 71%; }
  .document-path-number { right: 10px; bottom: -6px; font-size: 83px; }
  .document-path-copy { gap: 7px; padding: 15px; }
  .document-path-copy strong { font-size: 18px; }
  .document-tools { display: grid; gap: 11px; }
  .document-sort { justify-content: space-between; }
  .document-sort select { flex: 1; }
  .document-catalog-bar > span { display: none; }
  .document-grid { grid-template-columns: 1fr; gap: 15px; }
  .document-card-cover { height: 270px; }
}
@media (prefers-reduced-motion: reduce) { .document-path-card, .document-card, .document-card-cover img { transition: none; } }
