/* ILZE blog / news: section page and article */
.igb {
  --igb-orange: #f26f21;
  --igb-orange-dark: #e0540f;
  --igb-navy: #2b5474;
  --igb-ink: #1a1a1a;
  --igb-text: #3d4658;
  --igb-muted: #7a8396;
  --igb-line: #e9ecf2;
}
/* the wrapper is #content, which the theme pads by id -- hence the id in the selector */
#content.igb { box-sizing: border-box; max-width: 1240px; margin: 0 auto 56px; padding: 0 20px; }
.igb a { text-decoration: none; }

/* ---------- section page ---------- */
.igb-hero { max-width: 760px; margin: 14px auto 30px; text-align: center; }
.igb-hero__title { margin: 0 0 12px; font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -.3px; color: var(--igb-navy); }
.igb-hero__title::after {
  content: '';
  display: block;
  width: 110px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(242, 111, 33, 0) 0%, #f7944f 22%, var(--igb-orange-dark) 50%, #f7944f 78%, rgba(242, 111, 33, 0) 100%);
}
.igb-hero__page { font-size: .55em; font-weight: 600; color: var(--igb-muted); }
.igb-hero__intro { margin: 0; font-size: 16px; line-height: 1.6; color: var(--igb-text); }
.igb-empty { max-width: 560px; margin: 0 auto; padding: 44px 20px; border-radius: 14px; background: #fff; text-align: center; font-size: 16px; color: var(--igb-muted); box-shadow: 0 2px 14px rgba(26, 45, 82, .06); }

/* cards */
.igb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.igb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 14px rgba(26, 45, 82, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.igb-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(26, 45, 82, .12); }
.igb-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #eef1f5; }
.igb-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.igb-card:hover .igb-card__media img { transform: scale(1.035); }
.igb-card__ph { display: grid; place-items: center; height: 100%; background: linear-gradient(135deg, #2b5474 0%, #1b3a55 100%); }
.igb-card__ph span { font-size: 30px; font-weight: 800; letter-spacing: 4px; color: #fff; border-bottom: 3px solid var(--igb-orange); padding-bottom: 2px; }
.igb-card__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 16px 18px 20px; }
.igb-card__meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--igb-muted); }
.igb-card__title { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; }
.igb-card__title a { color: var(--igb-ink); transition: color .2s; }
.igb-card__title a::after { content: ''; position: absolute; inset: 0; } /* the whole card is the link */
.igb-card:hover .igb-card__title a { color: var(--igb-orange); }
.igb-card__title a:focus-visible { outline: none; }
.igb-card:focus-within { outline: 2px solid var(--igb-orange); outline-offset: 2px; }
.igb-card__excerpt { display: -webkit-box; margin: 0; overflow: hidden; font-size: 14.5px; line-height: 1.55; color: var(--igb-text); -webkit-line-clamp: 3; -webkit-box-orient: vertical; }

/* first article of the section: wide card */
.igb-card--lead { grid-column: 1 / -1; flex-direction: row; }
.igb-card--lead .igb-card__media { flex: 0 0 56%; aspect-ratio: 16 / 9; }
.igb-card--lead .igb-card__body { justify-content: center; gap: 12px; padding: 30px 34px; }
.igb-card--lead .igb-card__title { font-size: 27px; line-height: 1.2; }
.igb-card--lead .igb-card__excerpt { font-size: 16px; -webkit-line-clamp: 5; }

/* pagination */
.igb-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 34px 0 0; }
.igb-pages a, .igb-pages span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--igb-ink);
  font-weight: 700;
  box-shadow: 0 1px 6px rgba(26, 45, 82, .08);
  transition: color .2s, background-color .2s;
}
.igb-pages a:hover { color: var(--igb-orange); }
.igb-pages span[aria-current] { background: var(--igb-orange); color: #fff; }

/* ---------- article ---------- */
.igb-preview { max-width: 780px; margin: 0 auto 16px; padding: 10px 14px; border-radius: 8px; background: #fff4e5; color: #8a4b00; font-size: 13px; font-weight: 600; }
.igb-post { max-width: 780px; margin: 10px auto 0; }
.igb-post__head { margin: 0 0 22px; }
.igb-post__section {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff1e7;
  color: var(--igb-orange) !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.igb-post__section:hover { background: #ffe4d2; }
.igb-post__title { margin: 0 0 12px; font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.15; letter-spacing: -.4px; color: var(--igb-navy); }
.igb-post__meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--igb-muted); }
.igb-post__cover { margin: 0 0 26px; overflow: hidden; border-radius: 16px; background: #eef1f5; }
.igb-post__cover img { display: block; width: 100%; height: auto; }

.igb-summary { margin: 0 0 26px; padding: 18px 22px; border-left: 4px solid var(--igb-orange); border-radius: 0 14px 14px 0; background: #fff7f1; }
.igb-summary__label { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; color: var(--igb-orange); }
.igb-summary__text { margin: 0; font-size: 17px; line-height: 1.6; color: var(--igb-ink); }

.igb-toc { margin: 0 0 30px; padding: 16px 22px 14px; border: 1px solid var(--igb-line); border-radius: 14px; background: #fff; }
.igb-toc__title { margin: 0 0 8px; font-size: 15px; font-weight: 800; color: var(--igb-navy); }
.igb-toc ol { margin: 0; padding-left: 20px; }
.igb-toc li { margin: 5px 0; line-height: 1.4; color: var(--igb-muted); }
.igb-toc a { color: var(--igb-navy); }
.igb-toc a:hover { color: var(--igb-orange); text-decoration: underline; }

/* the text written in the editor */
.igb-content { font-size: 17px; line-height: 1.72; color: #262b35; overflow-wrap: break-word; }
.igb-content > :first-child { margin-top: 0; }
.igb-content p, .igb-content ul, .igb-content ol { margin: 0 0 1.05em; }
.igb-content p { font-size: inherit; line-height: inherit; color: inherit; } /* the theme sets p { 15px; #7a7a7a } */
.igb-content h2 { margin: 1.9em 0 .6em; font-size: 27px; font-weight: 800; line-height: 1.25; color: var(--igb-navy); scroll-margin-top: 100px; }
.igb-content h3 { margin: 1.5em 0 .5em; font-size: 21px; font-weight: 700; line-height: 1.3; color: var(--igb-ink); }
.igb-content h4 { margin: 1.3em 0 .4em; font-size: 18px; font-weight: 700; color: var(--igb-ink); }
.igb-content a { color: var(--igb-orange); text-decoration: underline; text-underline-offset: 2px; }
.igb-content a:hover { color: var(--igb-orange-dark); }
.igb-content ul, .igb-content ol { padding-left: 1.4em; }
.igb-content li { margin: .35em 0; }
.igb-content ul li::marker { color: var(--igb-orange); }
.igb-content img { max-width: 100%; height: auto; border-radius: 12px; }
.igb-content figure { margin: 1.4em 0; }
.igb-content figcaption { margin-top: 6px; font-size: 14px; color: var(--igb-muted); text-align: center; }
.igb-content blockquote { margin: 1.5em 0; padding: 14px 22px; border-left: 4px solid var(--igb-navy); border-radius: 0 12px 12px 0; background: #f4f7fb; color: var(--igb-ink); }
.igb-content blockquote p:last-child { margin-bottom: 0; }
.igb-content hr { margin: 2em 0; border: 0; border-top: 1px solid var(--igb-line); }
.igb-table { margin: 0 0 1.3em; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.igb-content table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; background: #fff; }
.igb-content th, .igb-content td { padding: 10px 12px; border-bottom: 1px solid var(--igb-line); text-align: left; vertical-align: top; }
.igb-content th { background: #f4f7fb; color: var(--igb-navy); font-weight: 700; }
.igb-video { position: relative; margin: 1.4em 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #000; }
.igb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.igb-faq { margin: 40px 0 0; }
.igb-faq__title { margin: 0 0 14px; font-size: 27px; font-weight: 800; color: var(--igb-navy); }
.igb-faq__item { margin: 0 0 10px; border: 1px solid var(--igb-line); border-radius: 12px; background: #fff; transition: border-color .2s; }
.igb-faq__item[open] { border-color: #f7c3a3; }
.igb-faq__item summary { position: relative; padding: 15px 48px 15px 18px; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--igb-ink); cursor: pointer; list-style: none; }
.igb-faq__item summary::-webkit-details-marker { display: none; }
.igb-faq__item summary::after { content: '+'; position: absolute; top: 50%; right: 18px; transform: translateY(-50%); font-size: 24px; font-weight: 400; line-height: 1; color: var(--igb-orange); }
.igb-faq__item[open] summary::after { content: '−'; }
.igb-faq__a { padding: 0 18px 16px; font-size: 16px; line-height: 1.65; color: #333a47; }

.igb-products { margin-top: 48px !important; }
.igb-more { margin: 52px 0 0; }
.igb-more__title { margin: 0 0 20px; text-align: center; font-size: 27px; font-weight: 800; color: var(--igb-navy); }
.igb-more .igb-card__title { font-size: 17px; }
.igb-back { max-width: 780px; margin: 30px auto 0; }
.igb-back a { font-weight: 700; color: var(--igb-orange); }
.igb-back a:hover { text-decoration: underline; }

@media (max-width: 991px) {
  .igb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .igb-card--lead { flex-direction: column; }
  .igb-card--lead .igb-card__media { flex: none; }
  .igb-card--lead .igb-card__body { padding: 20px 22px 24px; }
  .igb-card--lead .igb-card__title { font-size: 23px; }
  .igb-more .igb-grid > :nth-child(3) { display: none; }
}
@media (max-width: 575px) {
  #content.igb { padding: 0 16px; }
  .igb-hero { margin-bottom: 22px; }
  .igb-hero__intro { font-size: 15px; }
  .igb-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .igb-more .igb-grid > :nth-child(3) { display: flex; }
  .igb-card--lead .igb-card__title { font-size: 21px; }
  .igb-card--lead .igb-card__excerpt { font-size: 15px; }
  .igb-post__cover { margin-left: -4px; margin-right: -4px; border-radius: 12px; }
  .igb-summary { padding: 14px 16px; }
  .igb-summary__text { font-size: 16px; }
  .igb-content { font-size: 16px; line-height: 1.68; }
  .igb-content h2, .igb-faq__title, .igb-more__title { font-size: 22px; }
  .igb-content h3 { font-size: 19px; }
}
