.jp-home-portal {
color: #202124;
margin-bottom: 18px;
padding: 8px 0 0;
}
.jp-home-portal__header {
margin: 0 auto 16px;
max-width: 960px;
text-align: center;
}
.jp-home-portal__header h1 {
font-size: 28px;
line-height: 1.35;
margin: 0 0 6px;
}
.jp-home-portal__header p {
color: #666;
margin: 0;
}
.jp-home-search {
margin: 0 auto 18px;
max-width: 960px;
}
.jp-search-modes {
background: #e9eaec;
border-radius: 4px;
display: grid;
gap: 2px;
grid-template-columns: repeat(4, 64px);
margin: 0 auto 8px;
padding: 3px;
width: max-content;
}
.jp-search-modes button {
background: transparent;
border: 0;
border-radius: 3px;
color: #62666a;
cursor: pointer;
height: 30px;
padding: 0 8px;
}
.jp-search-modes button.is-active {
background: #fff;
box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
color: #8b4513;
font-weight: 600;
}
.jp-home-search__form {
display: grid;
gap: 8px;
grid-template-columns: minmax(0, 1fr) 88px;
}
.jp-home-search__form input {
background: #fff;
border: 2px solid #8b4513;
border-radius: 4px;
box-sizing: border-box;
height: 48px;
padding: 0 14px;
width: 100%;
}
.jp-home-search__form input:focus {
box-shadow: 0 0 0 3px rgba(139, 69, 19, .13);
outline: 0;
}
.jp-home-search__form button {
align-items: center;
background: #8b4513;
border: 0;
border-radius: 4px;
color: #fff;
cursor: pointer;
display: flex;
gap: 7px;
height: 48px;
justify-content: center;
}
.jp-home-paths {
border-bottom: 1px solid #dfe1e3;
border-top: 1px solid #dfe1e3;
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
margin: 0 auto;
max-width: 960px;
}
.jp-home-paths a {
align-items: center;
color: #292b2d;
display: grid;
gap: 10px;
grid-template-columns: 30px minmax(0, 1fr) 12px;
min-height: 74px;
padding: 9px 16px;
}
.jp-home-paths a + a {
border-left: 1px solid #dfe1e3;
}
.jp-home-paths a > .fa:first-child {
color: #8b4513;
font-size: 21px;
text-align: center;
}
.jp-home-paths a > .fa-angle-right {
color: #93979b;
}
.jp-home-paths strong,
.jp-home-paths small {
display: block;
}
.jp-home-paths strong {
font-size: 15px;
margin-bottom: 3px;
}
.jp-home-paths small {
color: #39705a;
font-size: 12px;
}
.jp-home-paths a:hover strong {
color: #8b4513;
}
.jp-home-latest {
align-items: baseline;
display: flex;
justify-content: space-between;
padding: 20px 2px 9px;
}
.jp-home-latest h2 {
font-size: 21px;
margin: 0;
}
.jp-home-latest span {
color: #666;
font-size: 13px;
}
.home .posts-item .meta-author,
.home .posts-item .meta-comm,
.home .posts-item .meta-like {
display: none;
}
.home .item-tags > .meta-pay,
.category .item-tags > .meta-pay,
.search .item-tags > .meta-pay,
.tag .item-tags > .meta-pay {
display: none !important;
}
.jp-directory {
color: #202124;
max-width: 1120px;
margin: 0 auto;
padding: 12px 0 32px;
}
.jp-directory__header {
border-bottom: 2px solid #a52a2a;
margin-bottom: 20px;
padding-bottom: 14px;
}
.jp-directory__header h1 {
font-size: 28px;
line-height: 1.35;
margin: 0 0 8px;
}
.jp-directory__header p,
.jp-result-count {
color: #666;
margin: 0;
}
.jp-search {
display: block;
margin: 0 0 16px;
}
.jp-search > span,
.jp-search label > span {
display: block;
font-size: 14px;
font-weight: 600;
margin-bottom: 6px;
}
.jp-search input {
background: #fff;
border: 1px solid #c7c9cc;
border-radius: 4px;
box-sizing: border-box;
height: 42px;
padding: 0 12px;
width: 100%;
}
.jp-search input:focus {
border-color: #a52a2a;
box-shadow: 0 0 0 2px rgba(165, 42, 42, .12);
outline: 0;
}
.jp-search--form {
align-items: end;
display: grid;
gap: 10px;
grid-template-columns: minmax(0, 1fr) 76px;
}
.jp-search--form label {
min-width: 0;
}
.jp-search--form button {
background: #a52a2a;
border: 0;
border-radius: 4px;
color: #fff;
cursor: pointer;
height: 42px;
}
.jp-alphabet {
display: grid;
gap: 6px;
grid-template-columns: repeat(auto-fit, minmax(34px, 1fr));
margin-bottom: 12px;
}
.jp-alphabet a,
.jp-pagination a {
align-items: center;
background: #f3f4f5;
border: 1px solid #dfe1e3;
border-radius: 4px;
color: #333;
display: flex;
font-weight: 600;
height: 34px;
justify-content: center;
}
.jp-letter-group {
border-top: 1px solid #e4e5e7;
margin-top: 22px;
padding-top: 14px;
scroll-margin-top: 80px;
}
.jp-letter-group h2 {
color: #a52a2a;
font-size: 22px;
margin: 0 0 10px;
}
.jp-surname-grid {
display: grid;
gap: 8px;
grid-template-columns: repeat(5, minmax(0, 1fr));
}
.jp-surname-item,
.jp-province-item {
align-items: center;
background: #fff;
border: 1px solid #dedfe1;
border-radius: 6px;
color: #252525;
display: flex;
justify-content: space-between;
min-height: 46px;
padding: 8px 12px;
}
.jp-surname-item:hover,
.jp-province-item:hover,
.jp-province-item.is-active {
border-color: #a52a2a;
color: #a52a2a;
}
.jp-surname-item span,
.jp-province-item span,
.jp-section-heading > span {
color: #39705a;
font-size: 13px;
}
.jp-province-grid {
display: grid;
gap: 8px;
grid-template-columns: repeat(6, minmax(0, 1fr));
}
.jp-section-heading {
align-items: baseline;
border-bottom: 1px solid #dfe1e3;
display: flex;
justify-content: space-between;
margin-top: 26px;
padding-bottom: 9px;
}
.jp-section-heading h2 {
font-size: 21px;
margin: 0;
}
.jp-post-list article {
align-items: center;
border-bottom: 1px solid #eceeef;
display: flex;
gap: 14px;
justify-content: space-between;
padding: 13px 2px;
}
.jp-post-list article div {
align-items: center;
display: flex;
gap: 9px;
min-width: 0;
}
.jp-post-list article span {
background: #edf5f1;
border-radius: 3px;
color: #39705a;
flex: 0 0 auto;
font-size: 12px;
padding: 2px 6px;
}
.jp-post-list article a {
color: #252525;
}
.jp-post-list time {
color: #777;
flex: 0 0 auto;
font-size: 13px;
}
.jp-empty {
background: #f6f7f8;
border-left: 3px solid #7a8580;
color: #62676a;
margin: 18px 0 0;
padding: 14px;
}
.jp-pagination {
display: flex;
gap: 6px;
margin-top: 20px;
}
.jp-pagination a {
width: 34px;
}
.jp-pagination a.is-active {
background: #a52a2a;
border-color: #a52a2a;
color: #fff;
}
.jp-downloads {
color: #202124;
margin: 0 auto;
max-width: 1120px;
padding: 8px 0 34px;
}
.jp-downloads__header {
align-items: center;
border-bottom: 2px solid #a52a2a;
display: flex;
gap: 24px;
justify-content: space-between;
margin-bottom: 18px;
padding-bottom: 16px;
}
.jp-downloads__eyebrow {
color: #39705a;
display: block;
font-size: 13px;
font-weight: 600;
margin-bottom: 5px;
}
.jp-downloads__eyebrow .fa {
margin-right: 6px;
}
.jp-downloads__header h1 {
font-size: 28px;
line-height: 1.35;
margin: 0 0 6px;
}
.jp-downloads__header p {
color: #666;
margin: 0;
}
.jp-downloads__header > strong {
border-left: 1px solid #dedfe1;
color: #a52a2a;
flex: 0 0 auto;
font-size: 14px;
line-height: 1.2;
padding-left: 22px;
text-align: right;
}
.jp-downloads__header > strong b {
font-size: 28px;
}
.jp-downloads__header > strong small {
color: #6b6e71;
font-weight: 400;
}
.jp-download-filters {
align-items: end;
background: #f5f6f6;
border: 1px solid #dedfe1;
border-radius: 6px;
display: grid;
gap: 10px;
grid-template-columns: minmax(220px, 1fr) 170px 150px 84px;
padding: 14px;
}
.jp-download-filters label > span {
display: block;
font-size: 13px;
font-weight: 600;
margin-bottom: 6px;
}
.jp-download-filters__query > div {
position: relative;
}
.jp-download-filters__query .fa {
color: #85898c;
left: 12px;
position: absolute;
top: 14px;
}
.jp-download-filters input,
.jp-download-filters select {
background: #fff;
border: 1px solid #c7c9cc;
border-radius: 4px;
box-sizing: border-box;
height: 44px;
width: 100%;
}
.jp-download-filters input {
padding: 0 12px 0 36px;
}
.jp-download-filters select {
padding: 0 10px;
}
.jp-download-filters input:focus,
.jp-download-filters select:focus {
border-color: #a52a2a;
box-shadow: 0 0 0 2px rgba(165, 42, 42, .12);
outline: 0;
}
.jp-download-filters button {
background: #a52a2a;
border: 0;
border-radius: 4px;
color: #fff;
cursor: pointer;
height: 44px;
touch-action: manipulation;
}
.jp-download-filters button:hover {
background: #83301f;
}
.jp-downloads__summary {
align-items: baseline;
display: flex;
justify-content: space-between;
margin: 24px 0 12px;
}
.jp-downloads__summary h2 {
font-size: 21px;
margin: 0;
}
.jp-downloads__summary span {
color: #666;
font-size: 13px;
}
.jp-download-grid {
display: grid;
gap: 14px;
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.jp-download-card {
background: #fff;
border: 1px solid #dedfe1;
border-radius: 6px;
min-width: 0;
overflow: hidden;
transition: border-color .2s ease, box-shadow .2s ease;
}
.jp-download-card:hover {
border-color: #b7a394;
box-shadow: 0 5px 16px rgba(42, 35, 30, .09);
}
.jp-download-card__image {
aspect-ratio: 16 / 9;
background: #ece8e4;
display: block;
overflow: hidden;
position: relative;
}
.jp-download-card__image img {
height: 100%;
object-fit: cover;
transition: transform .25s ease;
width: 100%;
}
.jp-download-card:hover .jp-download-card__image img {
transform: scale(1.025);
}
.jp-download-card__image > span {
align-items: center;
color: #8b4513;
display: flex;
font-size: 38px;
height: 100%;
justify-content: center;
}
.jp-download-card__image > em {
background: #a52a2a;
border-radius: 3px;
bottom: 8px;
color: #fff;
font-size: 11px;
font-style: normal;
font-weight: 700;
left: 8px;
padding: 3px 7px;
position: absolute;
}
.jp-download-card__body {
padding: 12px 13px 13px;
}
.jp-download-card__meta {
display: flex;
gap: 9px;
min-height: 20px;
}
.jp-download-card__meta span {
color: #39705a;
font-size: 12px;
}
.jp-download-card__meta .fa {
margin-right: 3px;
}
.jp-download-card h3 {
font-size: 16px;
line-height: 1.55;
margin: 5px 0 12px;
min-height: 50px;
}
.jp-download-card h3 a {
color: #252525;
}
.jp-download-card h3 a:hover {
color: #a52a2a;
}
.jp-download-card__footer {
align-items: center;
border-top: 1px solid #eceeef;
display: flex;
justify-content: space-between;
padding-top: 10px;
}
.jp-download-card__footer time {
color: #777;
font-size: 12px;
}
.jp-download-card__footer a {
color: #a52a2a;
font-size: 13px;
font-weight: 600;
}
.jp-download-card__footer .fa {
margin-left: 3px;
}
.jp-download-help {
color: #252525;
margin: 0 auto;
max-width: 760px;
padding: 20px 0 40px;
}
.jp-download-help__header {
align-items: flex-start;
border-bottom: 2px solid #a52a2a;
display: flex;
gap: 16px;
padding-bottom: 22px;
}
.jp-download-help__icon {
align-items: center;
background: #f7e9e6;
border-radius: 6px;
color: #a52a2a;
display: flex;
flex: 0 0 48px;
font-size: 25px;
height: 48px;
justify-content: center;
}
.jp-download-help__eyebrow {
color: #39705a;
font-size: 13px;
font-weight: 600;
margin: 0 0 4px;
}
.jp-download-help__header h1 {
font-size: 28px;
line-height: 1.35;
margin: 0 0 7px;
}
.jp-download-help__header div > p:last-child,
.jp-download-help__contacts > p {
color: #62666a;
line-height: 1.7;
margin: 0;
}
.jp-download-help__body {
align-items: center;
display: flex;
gap: 32px;
justify-content: space-between;
padding: 24px 0;
}
.jp-download-help__contacts {
flex: 1 1 auto;
min-width: 0;
}
.jp-download-help__contacts h2 {
font-size: 20px;
margin: 0 0 6px;
}
.jp-download-help__contacts dl {
border-top: 1px solid #e4e5e7;
margin: 18px 0 0;
}
.jp-download-help__contacts dl > div {
align-items: center;
border-bottom: 1px solid #e4e5e7;
display: grid;
gap: 16px;
grid-template-columns: 116px minmax(0, 1fr);
min-height: 58px;
}
.jp-download-help__contacts dt {
color: #606468;
font-weight: 500;
}
.jp-download-help__contacts dt .fa {
color: #39705a;
margin-right: 8px;
text-align: center;
width: 18px;
}
.jp-download-help__contacts dd {
font-size: 17px;
font-weight: 600;
margin: 0;
overflow-wrap: anywhere;
}
.jp-download-help__contacts dd a {
color: #a52a2a;
display: inline-flex;
min-height: 44px;
align-items: center;
}
.jp-download-help__wechat {
align-items: center;
display: flex;
gap: 10px;
}
.jp-download-help__wechat button {
align-items: center;
background: transparent;
border: 0;
color: #252525;
cursor: pointer;
display: inline-flex;
font-size: 17px;
font-weight: 600;
height: 44px;
justify-content: flex-start;
padding: 0;
text-decoration: underline;
text-decoration-color: #b7b9b8;
text-underline-offset: 4px;
touch-action: manipulation;
}
.jp-download-help__wechat button:hover {
color: #39705a;
text-decoration-color: #39705a;
}
.jp-download-help__wechat button:focus-visible {
box-shadow: 0 0 0 3px rgba(57, 112, 90, .18);
outline: 2px solid #39705a;
outline-offset: 2px;
}
.jp-download-help__wechat button.is-copied {
color: #39705a;
}
.jp-download-help__wechat em {
background: #252927;
border-radius: 4px;
color: #fff;
font-size: 13px;
font-style: normal;
font-weight: 500;
left: 50%;
max-width: calc(100vw - 32px);
padding: 9px 14px;
position: fixed;
top: 50%;
transform: translate(-50%, -50%);
z-index: 1000;
}
.jp-download-help__wechat em:empty {
display: none;
}
.jp-download-help__contacts dd a:focus-visible {
box-shadow: 0 0 0 3px rgba(165, 42, 42, .2);
outline: 2px solid #a52a2a;
outline-offset: 2px;
}
.jp-download-help__qr {
flex: 0 0 180px;
margin: 0;
text-align: center;
}
.jp-download-help__qr img {
background: #fff;
border: 1px solid #dedfe1;
border-radius: 6px;
display: block;
height: 180px;
object-fit: contain;
padding: 7px;
width: 180px;
}
.jp-download-help__qr figcaption {
color: #62666a;
font-size: 13px;
margin-top: 7px;
}
.jp-download-help__notice {
align-items: flex-start;
background: #f1f6f3;
border-left: 3px solid #39705a;
display: flex;
gap: 10px;
padding: 14px 16px;
}
.jp-download-help__notice > .fa {
color: #39705a;
margin-top: 3px;
}
.jp-download-help__notice p,
.jp-download-help__notice span {
display: block;
margin: 0;
}
.jp-download-help__notice span {
color: #5d6260;
margin-top: 2px;
}
@media (max-width: 768px) {
.jp-home-portal__header h1 { font-size: 24px; }
.jp-home-paths a { gap: 7px; padding: 8px 10px; }
.jp-directory__header h1 { font-size: 24px; }
.jp-surname-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jp-province-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jp-downloads__header h1 { font-size: 24px; }
.jp-download-filters { grid-template-columns: minmax(0, 1fr) 1fr; }
.jp-download-filters__query { grid-column: 1 / -1; }
.jp-download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jp-download-help__header h1 { font-size: 24px; }
}
@media (max-width: 420px) {
.jp-home-portal { padding-top: 2px; }
.jp-home-portal__header p { font-size: 13px; }
.jp-search-modes { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
.jp-home-search__form { grid-template-columns: minmax(0, 1fr) 72px; }
.jp-home-search__form button span { display: none; }
.jp-home-paths { grid-template-columns: 1fr; }
.jp-home-paths a { min-height: 58px; padding: 7px 8px; }
.jp-home-paths a + a { border-left: 0; border-top: 1px solid #e6e7e8; }
.jp-home-latest { padding-top: 16px; }
.jp-surname-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jp-province-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jp-post-list article { align-items: flex-start; flex-direction: column; gap: 4px; }
.jp-downloads__header { align-items: flex-start; }
.jp-downloads__header > strong { padding-left: 14px; }
.jp-downloads__header > strong b { font-size: 24px; }
.jp-download-filters { grid-template-columns: 1fr; }
.jp-download-filters__query { grid-column: auto; }
.jp-download-grid { grid-template-columns: 1fr; }
.jp-download-card h3 { min-height: 0; }
.jp-download-help { padding-top: 8px; }
.jp-download-help__header { gap: 12px; }
.jp-download-help__icon { flex-basis: 44px; height: 44px; }
.jp-download-help__body { align-items: stretch; flex-direction: column; gap: 22px; }
.jp-download-help__contacts dl > div { gap: 8px; grid-template-columns: 108px minmax(0, 1fr); }
.jp-download-help__qr { align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
.jp-download-card,
.jp-download-card__image img {
transition: none;
}
}