/* assets/css/page-journal.css - копия без комментариев, править исходник */
.journal-page { color: #252B2B; background: #fff; } .journal-breadcrumbs { display: flex; align-items: center; gap: 6px; height: 22px; margin-top: 20px; color: #979E9F; font-family: var(--font-body); font-size: 13px; font-weight: 400; line-height: 22px; } .journal-breadcrumbs a { color: #252B2B; text-decoration: none; } .journal-breadcrumbs a:hover { color: #006C66; }  .journal-hero { position: relative; min-height: 680px; margin-top: 20px; display: flex; align-items: center; overflow: hidden; color: #fff; background-image: linear-gradient(110deg, rgba(0,0,0,.6), rgba(0,0,0,0)), var(--journal-hero-image); background-position: center; background-size: cover; }  .journal-hero__shade { --shade-x: linear-gradient(90deg, rgba(0,0,0,.5) 0, rgba(0,0,0,.69) 50px, rgba(0,0,0,.84) 100px, rgba(0,0,0,.93) 150px, rgba(0,0,0,.98) 200px, #000 calc(100% - 450px), rgba(0,0,0,.93) calc(100% - 400px), rgba(0,0,0,.84) calc(100% - 350px), rgba(0,0,0,.69) calc(100% - 300px), rgba(0,0,0,.5) calc(100% - 250px), rgba(0,0,0,.31) calc(100% - 200px), rgba(0,0,0,.16) calc(100% - 150px), rgba(0,0,0,.07) calc(100% - 100px), rgba(0,0,0,.02) calc(100% - 50px), transparent 100%); --shade-y: linear-gradient(180deg, rgba(0,0,0,.5) 0, rgba(0,0,0,.69) 50px, rgba(0,0,0,.84) 100px, rgba(0,0,0,.93) 150px, rgba(0,0,0,.98) 200px, rgba(0,0,0,.98) calc(100% - 200px), rgba(0,0,0,.93) calc(100% - 150px), rgba(0,0,0,.84) calc(100% - 100px), rgba(0,0,0,.69) calc(100% - 50px), rgba(0,0,0,.5) 100%); position: absolute; top: 0; left: 0; width: max(786px, calc(50% - 174px)); height: 100%; background: rgba(0,0,0,.3); backdrop-filter: blur(50px); -webkit-mask-image: var(--shade-x), var(--shade-y); -webkit-mask-composite: source-in; mask-image: var(--shade-x), var(--shade-y); mask-composite: intersect; } .journal-hero__inner { position: relative; width: 100%; height: 680px; }  @media (min-width: 769px) { .journal-hero { min-height: calc(100vh - 180px); min-height: calc(100svh - 180px); } } .journal-hero__meta { position: absolute; top: 96px; left: 32px; display: flex; align-items: center; gap: 24px; height: 44px; } .journal-hero__meta > span:not(.journal-hero__tag) { display: flex; align-items: center; gap: 8px; height: 24px; font-family: var(--font-body); font-size: 16px; font-weight: 400; line-height: 26px; } .journal-hero__meta svg { width: 16px; height: 16px; } .journal-hero__tag { display: flex; align-items: center; height: 44px; padding: 0 16px; box-sizing: border-box; border: 1px solid rgba(255,255,255,.07); border-radius: 999px; background: rgba(255,255,255,.12); backdrop-filter: blur(10px); font-family: var(--font-body); font-size: 14px; font-weight: 400; line-height: 20px; } .journal-hero h1 { position: absolute; top: 164px; left: 32px; width: 855px; margin: 0; font-family: var(--font-display); font-size: 64px; font-weight: 500; line-height: 76px; } .journal-hero__button { position: absolute; top: 358px; left: 32px; display: flex; align-items: center; justify-content: center; width: 180px; height: 52px; border-radius: 8px; color: #252B2B; background: #fff; text-decoration: none; font-family: var(--font-body); font-size: 16px; font-weight: 500; transition: background .2s ease; } .journal-hero__button:hover { background: #F3F3F3; } .journal-content { padding-top: 60px; padding-bottom: 132px; } .journal-content > h2 { height: 64px; margin: 0; font-family: var(--font-display); font-size: 48px; font-weight: 600; line-height: 64px; } .journal-type-filters { display: flex; gap: 12px; height: 48px; margin-top: 40px; } .journal-type-filters button, .journal-task-filter__track button { height: 48px; padding: 0 26px; flex: 0 0 auto; border: 1px solid #E3E5E6; border-radius: 999px; color: #555B5C; background: #fff; font-family: var(--font-body); font-size: 16px; font-weight: 500; line-height: 20px; cursor: pointer; } .journal-type-filters button.is-active { border-color: #252B2B; color: #fff; background: #252B2B; } .journal-task-filter { position: relative; height: 88px; margin-top: 34px; overflow: hidden; } .journal-task-filter > strong { display: block; height: 20px; font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 20px; } .journal-task-filter__viewport { width: 100%; margin-top: 20px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; } .journal-task-filter__viewport::-webkit-scrollbar { display: none; } .journal-task-filter__track { display: flex; gap: 12px; width: max-content; } .journal-task-filter__track button.is-active { border-color: #252B2B; color: #fff; background: #252B2B; } .journal-task-filter__arrow { position: absolute; bottom: 12px; z-index: 2; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: #fff; cursor: pointer; } .journal-task-filter__arrow[hidden] { display: none; } .journal-task-filter__arrow--prev { left: 0; } .journal-task-filter__arrow--next { right: 0; } .journal-task-filter__arrow::before { content: ''; position: absolute; width: 140px; height: 48px; pointer-events: none; } .journal-task-filter__arrow--prev::before { left: 0; background: linear-gradient(90deg, #fff 26%, rgba(255,255,255,.2)); } .journal-task-filter__arrow--next::before { right: 0; background: linear-gradient(270deg, #fff 26%, rgba(255,255,255,.2)); } .journal-task-filter__arrow img { position: relative; z-index: 1; width: 19px; height: 14px; } .journal-task-filter__arrow--prev img { transform: scaleX(-1); } .journal-toolbar { display: flex; align-items: center; justify-content: space-between; height: 42px; margin-top: 40px; } .journal-toolbar > p { margin: 0; color: #979E9F; font-family: var(--font-body); font-size: 16px; font-weight: 400; line-height: 26px; } .journal-toolbar > p strong { font-weight: 400; } .journal-toolbar > label { display: flex; align-items: center; gap: 14px; color: #979E9F; font-family: var(--font-body); font-size: 14px; font-weight: 400; line-height: 20px; } .journal-sort { position: relative; display: block; width: 210px; height: 42px; } .journal-sort select { width: 210px; height: 42px; padding: 0 42px 0 14px; border: 0; border-radius: 4px; outline: none; appearance: none; color: #252B2B; background: #F5F5F5; font-family: var(--font-body); font-size: 14px; font-weight: 400; line-height: 20px; cursor: pointer; } .journal-sort img { position: absolute; top: 13px; right: 14px; width: 16px; height: 16px; pointer-events: none; } .journal-sort .journal-sort__icon, .journal-sort__value { display: none; } .journal-grid { display: grid; grid-template-columns: repeat(4, 339px); gap: 32px 14px; margin-top: 32px; } .journal-card { position: relative; width: 339px; height: 482px; } .journal-card[hidden] { display: none; } .journal-card:nth-child(n+17) { display: none; } .journal-card.is-revealed { display: block; } .journal-card__image { display: block; width: 339px; height: 240px; overflow: hidden; border-radius: 4px; } .journal-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; } .journal-card:hover .journal-card__image img { transform: scale(1.025); } .journal-card__meta { display: flex; align-items: center; gap: 20px; height: 34px; margin: 16px 10px 0; } .journal-card__meta > span { display: flex; align-items: center; height: 34px; padding: 0 12px; border: 1px solid #E3E5E6; border-radius: 999px; font-family: var(--font-body); font-size: 12px; font-weight: 400; line-height: 20px; } .journal-card__meta time { display: flex; align-items: center; gap: 8px; color: #979E9F; font-family: var(--font-body); font-size: 12px; font-weight: 400; line-height: 16px; white-space: nowrap; } .journal-card__meta time svg { width: 16px; height: 16px; flex: 0 0 16px; } .journal-card h3 { height: 51px; margin: 16px 10px 0; overflow: hidden; font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 24px; } .journal-card h3 a { color: #252B2B; text-decoration: none; } .journal-card h3 a:hover { color: #006C66; } .journal-card > p { display: -webkit-box; height: 59px; margin: 16px 10px 0; overflow: hidden; color: #979E9F; font-family: var(--font-body); font-size: 14px; font-weight: 400; line-height: 20px; -webkit-box-orient: vertical; -webkit-line-clamp: 3; } .journal-card__more { display: inline-block; margin: 20px 10px 0; color: #006C66; text-decoration: none; font-family: var(--font-body); font-size: 14px; font-weight: 500; line-height: 20px; } .journal-card__more:hover { text-decoration: underline; } .journal-empty { grid-column: 1 / -1; } .journal-show-more { display: flex; align-items: center; justify-content: center; gap: 10px; width: 200px; height: 40px; margin: 32px auto 0; padding: 0; border: 0; border-radius: 4px; color: #fff; background: #252B2B; font-family: var(--font-body); font-size: 13px; font-weight: 400; line-height: 18px; cursor: pointer; } .journal-show-more img { width: 18px; height: 18px; filter: brightness(0) invert(1); } .journal-show-more[hidden] { display: none; } @media (max-width: 1200px) { .journal-hero__meta, .journal-hero h1, .journal-hero__button { left: 32px; } .journal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .journal-card, .journal-card__image { width: 100%; } } @media (max-width: 768px) {  .journal-breadcrumbs { display: none; }  .journal-hero { height: 586px; min-height: 0; margin-top: 0; align-items: stretch; background-image: linear-gradient(180deg, rgba(0,0,0,.56), rgba(0,0,0,.12)), var(--journal-hero-image); background-position: 0 0, 76.4% 100%; background-size: 100% 100%, auto 636px; background-repeat: no-repeat; } .journal-hero__shade { display: none; }  .journal-hero__inner { display: flex; height: auto; padding-bottom: 54px; flex-direction: column; justify-content: flex-end; }  .journal-hero__meta { position: static; height: 30px; gap: 14px; flex-wrap: nowrap; } .journal-hero__meta > span:not(.journal-hero__tag) { height: 24px; font-size: 12px; line-height: 20px; white-space: nowrap; } .journal-hero__tag { height: 30px; padding: 0 12px; font-size: 12px; line-height: 20px; } .journal-hero h1 { position: static; width: auto; margin-top: 18px; font-size: 32px; line-height: 40px; }  .journal-hero__button { position: static; width: 200px; height: 48px; margin-top: 24px; box-shadow: 0 4px 12px rgba(0,108,102,.24), 0 4px 4px rgba(0,0,0,.15); } .journal-content { padding-top: 54px; padding-bottom: 80px; } .journal-content > h2 { height: 38px; font-size: 32px; line-height: 38px; }  .journal-type-filters, .journal-task-filter, .journal-task-filter__viewport { width: calc(100% + 32px); margin-right: -16px; margin-left: -16px; padding-right: 16px; padding-left: 16px; } .journal-type-filters { height: 34px; margin-top: 32px; gap: 6px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; } .journal-type-filters::-webkit-scrollbar { display: none; }  .journal-type-filters button, .journal-task-filter__track button { height: 34px; padding: 0 20px; font-size: 13px; line-height: 16px; white-space: nowrap; } .journal-task-filter { height: 64px; margin-top: 22px; } .journal-task-filter > strong { height: 16px; font-size: 14px; line-height: 16px; } .journal-task-filter__viewport { margin-top: 14px; } .journal-task-filter__track { gap: 6px; }  .journal-task-filter__arrow { display: none; } .journal-type-filters, .journal-task-filter__viewport { --journal-fade: 48px; --journal-fade-start: 0px; --journal-fade-end: 0px; -webkit-mask-image: linear-gradient(90deg, transparent calc(var(--journal-fade-start) * .257), rgba(0,0,0,.8) var(--journal-fade-start), #000 var(--journal-fade-start), #000 calc(100% - var(--journal-fade-end)), rgba(0,0,0,.8) calc(100% - var(--journal-fade-end)), transparent calc(100% - var(--journal-fade-end) * .257)); mask-image: linear-gradient(90deg, transparent calc(var(--journal-fade-start) * .257), rgba(0,0,0,.8) var(--journal-fade-start), #000 var(--journal-fade-start), #000 calc(100% - var(--journal-fade-end)), rgba(0,0,0,.8) calc(100% - var(--journal-fade-end)), transparent calc(100% - var(--journal-fade-end) * .257)); } .journal-task-filter__viewport { --journal-fade: 40px; } .journal-type-filters.has-more-start, .journal-task-filter__viewport.has-more-start { --journal-fade-start: var(--journal-fade); } .journal-type-filters.has-more-end, .journal-task-filter__viewport.has-more-end { --journal-fade-end: var(--journal-fade); }  .journal-toolbar { height: 20px; margin-top: 32px; gap: 12px; } .journal-toolbar > p { font-size: 14px; line-height: 20px; white-space: nowrap; } .journal-toolbar__found, .journal-toolbar__sort-label, .journal-sort .journal-sort__chevron { display: none; } .journal-toolbar > label { gap: 0; }  .journal-sort { display: flex; align-items: center; gap: 6px; width: auto; height: 20px; } .journal-sort .journal-sort__icon { position: static; display: block; width: 20px; height: 20px; } .journal-sort__value { display: block; color: #555B5C; font-family: var(--font-body); font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap; } .journal-sort select { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 0; opacity: 0; font-size: 16px; } .journal-sort:has(select:focus-visible) { border-radius: 2px; outline: 2px solid #006C66; outline-offset: 2px; } .journal-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }  .journal-card { width: 100%; height: 480px; } .journal-card__image { width: 100%; height: 242px; }  .journal-card:nth-child(n+7) { display: none; } .journal-card.is-revealed { display: block; } .journal-card__more { margin-top: 16px; }  .journal-show-more { width: 160px; height: 34px; margin-top: 24px; gap: 6px; font-size: 12px; line-height: 15px; } .journal-show-more img { width: 16px; height: 16px; } }
