/* =========================================================
   Jerid Tex Tile — Inner pages
   Luxury E-commerce system. Shares the --lux-* tokens defined
   on .jerid-root (jerid.css); fallbacks keep it usable if a
   subtree is rendered without that wrapper.
   ========================================================= */

/* ---------- Page banner ---------- */
.jerid-inner-banner {
  position: relative;
  padding: 76px 0 68px;
  color: #fafaf9;
  text-align: center;
  background: linear-gradient(rgba(12, 10, 9, 0.74), rgba(12, 10, 9, 0.74)),
    url("/static/images/about-bg.jpg") center/cover
      no-repeat;
}

/* gold hairline closing the banner */
.jerid-inner-banner::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 120px;
  height: 1px;
  background: var(--lux-gold, #ca8a04);
  transform: translateX(-50%);
}

.jerid-inner-banner h1 {
  color: #fafaf9;
  font-family: var(--jerid-heading, Georgia, serif);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1.15;
  text-transform: none;
}

.jerid-breadcrumb {
  margin-top: 16px;
  color: rgba(250, 250, 249, 0.68);
  font-family: var(--jerid-font, system-ui, sans-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---------- Body shell ---------- */
.jerid-inner-body {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 64px 0 32px;
}

.jerid-inner-body.is-wide {
  flex-direction: column;
}

.jerid-inner-main {
  flex: 1;
  min-width: 0;
}

/* ---------- Sidebar ---------- */
.jerid-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 284px;
  flex-shrink: 0;
}

.jerid-side-block {
  padding: 24px 22px;
  border: 1px solid var(--lux-line, #e7e5e4);
  background: var(--lux-surface, #fff);
}

.jerid-side-block h3,
.jerid-side-block .jerid-side-label {
  position: relative;
  margin-bottom: 24px;
  padding-bottom: 14px;
  color: var(--lux-ink, #0c0a09);
  font-family: var(--jerid-font, system-ui, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.jerid-side-block h3::after,
.jerid-side-block .jerid-side-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--lux-line, #e7e5e4);
}

.jerid-side-block h3::before,
.jerid-side-block .jerid-side-label::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 32px;
  height: 1px;
  background: var(--lux-gold, #ca8a04);
}

.jerid-side-block ul li a {
  display: block;
  padding: 11px 2px;
  border-bottom: 1px solid var(--lux-line-soft, #f0efee);
  color: var(--lux-secondary, #44403c);
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: color var(--lux-duration, 280ms) cubic-bezier(0.22, 1, 0.36, 1),
    padding-left var(--lux-duration, 280ms) cubic-bezier(0.22, 1, 0.36, 1);
}

.jerid-side-block ul li:last-child a {
  border-bottom: 0;
}

.jerid-side-block ul li a:hover {
  padding-left: 7px;
  color: var(--lux-gold-ink, #8a5a00);
}

/* Featured Products：缩略图在左、文字在右 */
.jerid-side-block ul.jerid-side-featured li a,
.jerid-side-block .jerid-side-featured li a {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--lux-line-soft, #f0efee);
  color: var(--lux-ink, #0c0a09);
}

.jerid-side-block ul.jerid-side-featured li:first-child a,
.jerid-side-block .jerid-side-featured li:first-child a {
  padding-top: 10px;
}

.jerid-side-block ul.jerid-side-featured li:last-child a,
.jerid-side-block .jerid-side-featured li:last-child a {
  padding-bottom: 4px;
  border-bottom: 0;
}

.jerid-side-block ul.jerid-side-featured li a:hover,
.jerid-side-block .jerid-side-featured li a:hover {
  padding-left: 0;
  color: var(--lux-gold-ink, #8a5a00);
}

.jerid-side-block ul.jerid-side-featured img,
.jerid-side-block .jerid-side-featured img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border: 1px solid var(--lux-line, #e7e5e4);
  background: var(--lux-bg, #fafaf9);
  flex-shrink: 0;
  transition: border-color 0.25s ease;
}

.jerid-side-block ul.jerid-side-featured li a:hover img,
.jerid-side-block .jerid-side-featured li a:hover img {
  border-color: var(--lux-gold, #ca8a04);
}

.jerid-side-block ul.jerid-side-featured span,
.jerid-side-block .jerid-side-featured span {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--lux-ink, #0c0a09);
  font-family: var(--jerid-font, system-ui, sans-serif);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.jerid-side-block ul.jerid-side-featured li a:hover span,
.jerid-side-block .jerid-side-featured li a:hover span {
  color: var(--lux-gold-ink, #8a5a00);
}

.jerid-side-contact p {
  margin-bottom: 10px;
  color: var(--lux-gold-ink, #8a5a00);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  word-break: break-all;
}

.jerid-side-contact p:last-child {
  margin-bottom: 0;
}

.jerid-side-contact a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Inquiry form ---------- */
.jerid-inquiry {
  padding: 24px 22px;
  border: 1px solid var(--lux-line, #e7e5e4);
  background: var(--lux-bg, #fafaf9);
}

.jerid-inquiry h3,
.jerid-inquiry .jerid-side-label {
  margin-bottom: 16px;
  color: var(--lux-ink, #0c0a09);
  font-family: var(--jerid-font, system-ui, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.jerid-inquiry input,
.jerid-inquiry textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid var(--lux-line, #e7e5e4);
  border-radius: 0;
  background: #fff;
  color: var(--lux-ink, #0c0a09);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color var(--lux-duration, 280ms)
      cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow var(--lux-duration, 280ms) cubic-bezier(0.22, 1, 0.36, 1);
}

.jerid-inquiry textarea {
  resize: vertical;
  min-height: 96px;
}

.jerid-inquiry input:focus,
.jerid-inquiry textarea:focus {
  border-color: var(--lux-gold, #ca8a04);
  box-shadow: 0 0 0 3px var(--lux-gold-soft, rgba(202, 138, 4, 0.1));
}

.jerid-inquiry button {
  width: 100%;
  min-height: 48px;
  padding: 14px 16px;
  border: 1px solid var(--lux-primary, #1c1917);
  border-radius: 0;
  background: var(--lux-primary, #1c1917);
  color: var(--lux-gold, #ca8a04);
  cursor: pointer;
  font-family: var(--jerid-font, system-ui, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background var(--lux-duration, 280ms)
      cubic-bezier(0.22, 1, 0.36, 1),
    color var(--lux-duration, 280ms) cubic-bezier(0.22, 1, 0.36, 1);
}

.jerid-inquiry button:hover {
  background: var(--lux-gold, #ca8a04);
  color: var(--lux-primary, #1c1917);
}

.jerid-inquiry.is-compact input,
.jerid-inquiry.is-compact textarea {
  font-size: 13px;
  padding: 10px 12px;
}

/* ---------- Card grids ---------- */
.jerid-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.jerid-list-card {
  overflow: hidden;
  border: 1px solid var(--lux-line, #e7e5e4);
  background: #fff;
  transition: border-color var(--lux-duration, 280ms)
      cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow var(--lux-duration, 280ms) cubic-bezier(0.22, 1, 0.36, 1);
}

.jerid-list-card:hover {
  border-color: var(--lux-gold-line, rgba(202, 138, 4, 0.34));
  box-shadow: 0 16px 48px rgba(28, 25, 23, 0.1);
}

.jerid-list-card a {
  display: block;
  cursor: pointer;
}

.jerid-list-card .jerid-card-img {
  position: relative;
  overflow: hidden;
  background: var(--lux-bg-soft, #f5f5f4);
}

.jerid-list-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.jerid-list-card:hover img {
  transform: scale(1.05);
}

.jerid-list-card h3 {
  padding: 18px 18px 22px;
  color: var(--lux-ink, #0c0a09);
  font-family: var(--jerid-heading, Georgia, serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  transition: color var(--lux-duration, 280ms)
    cubic-bezier(0.22, 1, 0.36, 1);
}

.jerid-list-card:hover h3 {
  color: var(--lux-gold-ink, #8a5a00);
}

.jerid-list-meta {
  margin-bottom: 18px;
  color: var(--lux-muted, #78716c);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.jerid-total {
  margin-bottom: 22px;
  color: var(--lux-muted, #78716c);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- News rows ---------- */
.jerid-news-rows {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.jerid-news-row {
  display: flex;
  gap: 0;
  border: 1px solid var(--lux-line, #e7e5e4);
  background: #fff;
  transition: border-color var(--lux-duration, 280ms)
      cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow var(--lux-duration, 280ms) cubic-bezier(0.22, 1, 0.36, 1);
}

.jerid-news-row:hover {
  border-color: var(--lux-gold-line, rgba(202, 138, 4, 0.34));
  box-shadow: 0 12px 36px rgba(28, 25, 23, 0.08);
}

.jerid-news-row > a {
  display: flex;
  width: 100%;
  gap: 22px;
}

.jerid-news-row .jerid-row-img {
  width: 268px;
  flex-shrink: 0;
  overflow: hidden;
}

.jerid-news-row .jerid-row-img img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 176px;
  object-fit: cover;
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.jerid-news-row:hover .jerid-row-img img {
  transform: scale(1.04);
}

.jerid-news-row .jerid-row-body {
  flex: 1;
  min-width: 0;
  padding: 24px 24px 24px 0;
}

.jerid-news-row time {
  display: block;
  margin-bottom: 10px;
  color: var(--lux-gold-ink, #8a5a00);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.jerid-news-row h3 {
  margin-bottom: 10px;
  color: var(--lux-ink, #0c0a09);
  font-family: var(--jerid-heading, Georgia, serif);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
}

.jerid-news-row p {
  display: -webkit-box;
  overflow: hidden;
  color: var(--lux-muted, #78716c);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* ---------- Case / gallery ---------- */
.jerid-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
}

/* 旧 .jerid-factory-gallery 已废弃（只有 CSS、没有模板在用）。
   图集统一样式搬到 luxury.css 的 .jerid-content-gallery（3:2 锁比例，不再被网格拉伸）。 */

/* ---------- Article ---------- */
.jerid-article h2 {
  margin-bottom: 20px;
  color: var(--lux-ink, #0c0a09);
  font-family: var(--jerid-heading, Georgia, serif);
  font-size: clamp(24px, 2.4vw, 33px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.jerid-article h3 {
  margin: 30px 0 14px;
  color: var(--lux-ink, #0c0a09);
  font-family: var(--jerid-heading, Georgia, serif);
  font-size: 22px;
  font-weight: 500;
}

.jerid-article p {
  max-width: 74ch;
  margin-bottom: 16px;
  color: var(--lux-secondary, #44403c);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
}

.jerid-article p:last-child {
  margin-bottom: 0;
}

.jerid-about-hero {
  margin-bottom: 32px;
}

.jerid-about-hero img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--lux-line, #e7e5e4);
}

/* ---------- Contact ---------- */
.jerid-contact-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.jerid-contact-card {
  padding: 30px;
  border: 1px solid var(--lux-line, #e7e5e4);
  background: #fff;
}

.jerid-contact-card h2 {
  margin-bottom: 18px;
  color: var(--lux-ink, #0c0a09);
  font-family: var(--jerid-heading, Georgia, serif);
  font-size: 23px;
  font-weight: 500;
}

.jerid-contact-card .row {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.65;
}

.jerid-contact-card .row label {
  min-width: 96px;
  color: var(--lux-gold-ink, #8a5a00);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 2px;
}

.jerid-contact-card ul {
  margin-top: 16px;
}

.jerid-contact-card ul li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 18px;
  color: var(--lux-body, #57534e);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
}

.jerid-contact-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lux-gold, #ca8a04);
}

/* ---------- Certificates ---------- */
.jerid-cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.jerid-cert-item {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--lux-line, #e7e5e4);
  background: #fff;
  transition: border-color var(--lux-duration, 280ms)
      cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow var(--lux-duration, 280ms) cubic-bezier(0.22, 1, 0.36, 1);
}

.jerid-cert-item:hover {
  border-color: var(--lux-gold-line, rgba(202, 138, 4, 0.34));
  box-shadow: 0 12px 36px rgba(28, 25, 23, 0.08);
}

.jerid-cert-item img {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: contain;
  background: var(--lux-bg, #fafaf9);
}

.jerid-cert-item figcaption {
  margin-top: 14px;
  color: var(--lux-ink, #0c0a09);
  font-family: var(--jerid-font, system-ui, sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

/* 缩略图按钮：证书缩略图在手机上辨不出文字，点图弹大图。
   用 button 而非 a：.jerid-root a{color:inherit}(0,1,1) 会压单类名规则。 */
.jerid-cert-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  -webkit-appearance: none;
  appearance: none;
}

.jerid-cert-zoom:focus-visible {
  outline: 2px solid var(--lux-gold, #ca8a04);
  outline-offset: 2px;
}

/* ---------- 证书灯箱 ----------
   z-index 1200 高于头部 99（jerid.css:310）、抽屉 98（mobile.css:101）、
   语言下拉 999（jerid.css:473）。模板里该节点在 header 之外，
   不会被 header 的 backdrop-filter 捕获为 fixed 包含块。 */
.jerid-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(12, 10, 9, 0.9);
}

/* 必须显式声明：[hidden] 的 UA 规则 display:none 是 (0,1,0) 且在 UA 层，
   压不住上面 author 层的 display:flex，不写则 hidden 元素照样铺满全屏 */
.jerid-lightbox[hidden] {
  display: none;
}

.jerid-lightbox-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.jerid-lightbox-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fafaf9;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.jerid-lightbox-close:hover,
.jerid-lightbox-close:focus-visible {
  color: var(--lux-gold, #ca8a04);
}

/* ---------- FAQ ---------- */
.jerid-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jerid-faq-item {
  padding: 0;
  border: 1px solid var(--lux-line, #e7e5e4);
  background: #fff;
  transition: border-color var(--lux-duration, 280ms)
    cubic-bezier(0.22, 1, 0.36, 1);
}

.jerid-faq-item[open] {
  border-color: var(--lux-gold-line, rgba(202, 138, 4, 0.34));
}

.jerid-faq-item summary {
  position: relative;
  padding: 20px 60px 20px 22px;
  border-left: 2px solid var(--lux-gold, #ca8a04);
  color: var(--lux-ink, #0c0a09);
  cursor: pointer;
  font-family: var(--jerid-heading, Georgia, serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  list-style: none;
  transition: color var(--lux-duration, 280ms) cubic-bezier(0.22, 1, 0.36, 1);
}

.jerid-faq-item summary:hover {
  color: var(--lux-gold-ink, #8a5a00);
}

.jerid-faq-item summary::-webkit-details-marker {
  display: none;
}

/* +/− affordance */
.jerid-faq-item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 13px;
  height: 13px;
  margin-top: -7px;
  background: linear-gradient(var(--lux-gold, #ca8a04), var(--lux-gold, #ca8a04))
      center / 13px 1px no-repeat,
    linear-gradient(var(--lux-gold, #ca8a04), var(--lux-gold, #ca8a04)) center /
      1px 13px no-repeat;
  transition: transform var(--lux-duration, 280ms)
    cubic-bezier(0.22, 1, 0.36, 1);
}

.jerid-faq-item[open] summary::after {
  transform: rotate(90deg);
}

.jerid-faq-item p {
  max-width: 74ch;
  padding: 0 60px 22px 24px;
  color: var(--lux-body, #57534e);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
}

/* ---------- Search page ---------- */
.jerid-search-panel {
  margin-bottom: 32px;
}

.jerid-search-form {
  display: flex;
  gap: 10px;
  max-width: 640px;
}

.jerid-search-form input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  border: 1px solid var(--lux-line, #e7e5e4);
  border-radius: 0;
  background: #fff;
  color: var(--lux-ink, #0c0a09);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color var(--lux-duration, 280ms)
      cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow var(--lux-duration, 280ms) cubic-bezier(0.22, 1, 0.36, 1);
}

.jerid-search-form input:focus {
  border-color: var(--lux-gold, #ca8a04);
  box-shadow: 0 0 0 3px var(--lux-gold-soft, rgba(202, 138, 4, 0.1));
}

.jerid-search-form button {
  height: 52px;
  padding: 0 32px;
  border: 1px solid var(--lux-primary, #1c1917);
  border-radius: 0;
  background: var(--lux-primary, #1c1917);
  color: var(--lux-gold, #ca8a04);
  cursor: pointer;
  font-family: var(--jerid-font, system-ui, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background var(--lux-duration, 280ms)
      cubic-bezier(0.22, 1, 0.36, 1),
    color var(--lux-duration, 280ms) cubic-bezier(0.22, 1, 0.36, 1);
}

.jerid-search-form button:hover {
  background: var(--lux-gold, #ca8a04);
  color: var(--lux-primary, #1c1917);
}

.jerid-search-group {
  margin-bottom: 40px;
}

.jerid-search-group h2 {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--lux-line, #e7e5e4);
  color: var(--lux-ink, #0c0a09);
  font-family: var(--jerid-heading, Georgia, serif);
  font-size: 22px;
  font-weight: 500;
}

.jerid-search-hits {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jerid-search-hits li a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--lux-line, #e7e5e4);
  background: #fff;
  transition: border-color var(--lux-duration, 280ms)
      cubic-bezier(0.22, 1, 0.36, 1),
    background var(--lux-duration, 280ms) cubic-bezier(0.22, 1, 0.36, 1);
}

.jerid-search-hits li a:hover {
  border-color: var(--lux-gold-line, rgba(202, 138, 4, 0.34));
  background: var(--lux-bg, #fafaf9);
}

.jerid-search-hits img {
  width: 84px;
  height: 64px;
  object-fit: cover;
  border: 1px solid var(--lux-line, #e7e5e4);
  flex-shrink: 0;
}

.jerid-search-hits span {
  color: var(--lux-ink, #0c0a09);
  font-family: var(--jerid-heading, Georgia, serif);
  font-size: 16px;
  line-height: 1.4;
}

.jerid-search-hits li a:hover span {
  color: var(--lux-gold-ink, #8a5a00);
}

.jerid-search-empty {
  padding: 32px;
  border: 1px dashed var(--lux-line, #e7e5e4);
  background: var(--lux-bg, #fafaf9);
  color: var(--lux-muted, #78716c);
  font-size: 15px;
  text-align: center;
}

/* ---------- Spacing helpers (replace ad-hoc inline styles) ---------- */
.jerid-mt-24 {
  margin-top: 24px;
}
.jerid-mb-24 {
  margin-bottom: 24px;
}
.jerid-mb-28 {
  margin-bottom: 28px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .jerid-inner-body {
    flex-direction: column;
    padding-top: 44px;
  }
  .jerid-sidebar {
    width: 100%;
  }
  .jerid-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .jerid-contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .jerid-cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .jerid-inner-banner {
    padding: 48px 0 44px;
  }
  .jerid-list-grid,
  .jerid-case-grid,
  .jerid-cert-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .jerid-news-row > a {
    flex-direction: column;
    gap: 0;
  }
  .jerid-news-row .jerid-row-img {
    width: 100%;
  }
  .jerid-news-row .jerid-row-body {
    padding: 20px;
  }
  .jerid-cert-item img {
    height: 260px;
  }
  .jerid-faq-item summary {
    padding: 16px 52px 16px 18px;
    font-size: 16px;
  }
  .jerid-faq-item p {
    padding: 0 20px 18px 20px;
  }
  .jerid-search-form {
    flex-direction: column;
  }
}
