.section-tabulation-image-content {
  width: 100%;
  background: #1B2540;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-tabulation-image-content .wrap {
  width: 100%;
  max-width: 100%;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  box-sizing: border-box;
}

.section-tabulation-image-content .tabulation-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.section-tabulation-image-content .tabulation-title,
.section-tabulation-image-content .tabulation-title h1,
.section-tabulation-image-content .tabulation-title h2,
.section-tabulation-image-content .tabulation-title h3,
.section-tabulation-image-content .tabulation-title p {
  margin: 0;
  width: 100%;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0;
  text-align: center;
  text-transform: capitalize;
  color: #FFFFFF;
}

.section-tabulation-image-content .tabulation-title span,
.section-tabulation-image-content .tabulation-title em,
.section-tabulation-image-content .tabulation-title strong,
.section-tabulation-image-content .tabulation-title .highlighted-red {
  color: #E81A3F;
  font-style: normal;
}

.section-tabulation-image-content .tabulation-description {
  width: 100%;
  max-width: 100%;
}

.section-tabulation-image-content .tabulation-description,
.section-tabulation-image-content .tabulation-description p {
  margin: 0;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0;
  text-align: center;
  color: #FFFFFF;
}

.section-tabulation-image-content .tabulation-description a,
.section-tabulation-image-content .tabulation-description strong,
.section-tabulation-image-content .tabulation-description em,
.section-tabulation-image-content .tabulation-description u,
.section-tabulation-image-content .tabulation-description ul,
.section-tabulation-image-content .tabulation-description ol {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.section-tabulation-image-content .tabulation-description p + p {
  margin-top: 12px;
}

.section-tabulation-image-content .tabulation-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.section-tabulation-image-content .tabulation-tabs {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid #FFFFFF;
  border-radius: 42px;
  box-sizing: border-box;
}

.section-tabulation-image-content .tabulation-tab {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 22px 48px;
  background: transparent;
  border: 0;
  border-radius: 230px;
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  cursor: pointer;
  appearance: none;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.section-tabulation-image-content .tabulation-tab:hover,
.section-tabulation-image-content .tabulation-tab:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  outline: none;
}

.section-tabulation-image-content .tabulation-tab.is-active {
  background: #FFFFFF;
  color: #1B2540;
}

.section-tabulation-image-content .tabulation-tab.is-active:hover,
.section-tabulation-image-content .tabulation-tab.is-active:focus {
  background: #FFFFFF;
  color: #E81A3F;
}

.section-tabulation-image-content .tabulation-panels,
.section-tabulation-image-content .tabulation-panel {
  width: 100%;
}

.section-tabulation-image-content .tabulation-panel[hidden] {
  display: none;
}

.section-tabulation-image-content .tabulation-card {
  width: 100%;
  background: #FFFFFF;
  border-radius: 40px;
  padding: 24px 20px;
  box-sizing: border-box;
}

.section-tabulation-image-content .tabulation-card-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 60px;
}

.section-tabulation-image-content .tabulation-media {
  width: 100%;
  height: 340px;
  position: relative;
  overflow: hidden;
  background: #FDECEF;
  border-radius: 20px;
  box-shadow: 10px 10px 20px 0 rgba(0, 0, 0, 0.05);
}

.section-tabulation-image-content .tabulation-media-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.section-tabulation-image-content .tabulation-expand {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.section-tabulation-image-content .tabulation-expand img {
  width: 100%;
  height: 100%;
  display: block;
}

.section-tabulation-image-content .tabulation-expand:hover,
.section-tabulation-image-content .tabulation-expand:focus {
  opacity: 0.85;
  transform: scale(1.06);
  outline: none;
}

.section-tabulation-image-content .tabulation-copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.section-tabulation-image-content .tabulation-copy-title {
  width: 100%;
}

.section-tabulation-image-content .tabulation-copy-title,
.section-tabulation-image-content .tabulation-copy-title h1,
.section-tabulation-image-content .tabulation-copy-title h2,
.section-tabulation-image-content .tabulation-copy-title h3,
.section-tabulation-image-content .tabulation-copy-title p {
  margin: 0;
  width: 100%;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0;
  text-align: center;
  text-transform: capitalize;
  color: #1B2540;
}

.section-tabulation-image-content .tabulation-copy-title span,
.section-tabulation-image-content .tabulation-copy-title em,
.section-tabulation-image-content .tabulation-copy-title strong,
.section-tabulation-image-content .tabulation-copy-title .highlighted-red {
  color: #E81A3F;
  font-style: normal;
}

.section-tabulation-image-content .tabulation-copy-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.section-tabulation-image-content .tabulation-copy-body > *:first-child {
  margin-top: 0;
}

.section-tabulation-image-content .tabulation-copy-body > *:last-child {
  margin-bottom: 0;
}

.section-tabulation-image-content .tabulation-copy-body p,
.section-tabulation-image-content .tabulation-copy-body li {
  margin: 0;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0;
  color: #515151;
}

.section-tabulation-image-content .tabulation-copy-body a,
.section-tabulation-image-content .tabulation-copy-body strong,
.section-tabulation-image-content .tabulation-copy-body em,
.section-tabulation-image-content .tabulation-copy-body u,
.section-tabulation-image-content .tabulation-copy-body ul,
.section-tabulation-image-content .tabulation-copy-body ol {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.section-tabulation-image-content .tabulation-copy-body p + p {
  margin-top: 16px;
}

.section-tabulation-image-content .tabulation-copy-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-tabulation-image-content .tabulation-copy-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
}

.section-tabulation-image-content .tabulation-copy-body ul li::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background-image: url("img/tabulation-check.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px 30px;
}

.section-tabulation-image-content .tabulation-copy-body blockquote {
  margin: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: #FDECEF;
  border: 0;
  border-radius: 2px;
  padding: 12px 16px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  position: relative;
}

.section-tabulation-image-content .tabulation-copy-body blockquote::before {
  content: "";
  display: block;
  width: 6px;
  min-height: 100%;
  align-self: stretch;
  flex-shrink: 0;
  background: #E81A3F;
  border-radius: 0;
}

.section-tabulation-image-content .tabulation-copy-body blockquote p {
  margin: 0;
  width: 100%;
  font-family: "Lato", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0;
  text-align: left;
  color: #1B2540;
}

.section-tabulation-image-content .tabulation-copy-btn {
  width: 100%;
  padding: 16px 40px;
  font-weight: 900;
  border-width: 1px;
  box-sizing: border-box;
}

.section-tabulation-image-content .tabulation-copy-btn:hover,
.section-tabulation-image-content .tabulation-copy-btn:focus {
  background: #E81A3F;
  border-color: #E81A3F;
  color: #FFFFFF !important;
}

.section-tabulation-image-content .tabulation-lightbox,
.tabulation-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 37, 64, 0.88);
  padding: 20px;
  box-sizing: border-box;
}

.section-tabulation-image-content .tabulation-lightbox[hidden],
.tabulation-lightbox[hidden] {
  display: none;
}

.section-tabulation-image-content .tabulation-lightbox img,
.tabulation-lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}

.section-tabulation-image-content .tabulation-lightbox-close,
.tabulation-lightbox .tabulation-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: #FFFFFF;
  color: #1B2540;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  cursor: pointer;
  z-index: 1;
  overflow: visible;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.section-tabulation-image-content .tabulation-lightbox-close svg,
.tabulation-lightbox .tabulation-lightbox-close svg {
  display: block;
  width: 16px;
  height: 16px;
}

.section-tabulation-image-content .tabulation-lightbox-close:hover,
.section-tabulation-image-content .tabulation-lightbox-close:focus-visible,
.tabulation-lightbox .tabulation-lightbox-close:hover,
.tabulation-lightbox .tabulation-lightbox-close:focus-visible {
  background: #E81A3F;
  color: #FFFFFF;
  outline: none;
}

body.tabulation-lightbox-open {
  overflow: hidden;
}

/* Tablet: mobile layout, desktop fonts */
@media screen and (min-width: 768px) {
  .section-tabulation-image-content .wrap {
    padding: 100px 7.81%;
    gap: 60px;
  }

  .section-tabulation-image-content .tabulation-title,
  .section-tabulation-image-content .tabulation-title h1,
  .section-tabulation-image-content .tabulation-title h2,
  .section-tabulation-image-content .tabulation-title h3,
  .section-tabulation-image-content .tabulation-title p {
    font-size: 48px;
    line-height: 58px;
  }

  .section-tabulation-image-content .tabulation-description,
  .section-tabulation-image-content .tabulation-description p {
    font-size: 22px;
    line-height: 30px;
  }

  .section-tabulation-image-content .tabulation-copy-title,
  .section-tabulation-image-content .tabulation-copy-title h1,
  .section-tabulation-image-content .tabulation-copy-title h2,
  .section-tabulation-image-content .tabulation-copy-title h3,
  .section-tabulation-image-content .tabulation-copy-title p {
    font-size: 48px;
    line-height: 58px;
  }

  .section-tabulation-image-content .tabulation-copy-body p,
  .section-tabulation-image-content .tabulation-copy-body li {
    font-size: 22px;
    line-height: 30px;
  }

  .section-tabulation-image-content .tabulation-copy-body blockquote p {
    font-size: 22px;
    line-height: 30px;
  }
}

/* Desktop: horizontal tabs + two-column card */
@media screen and (min-width: 1024px) {
  .section-tabulation-image-content .wrap {
    padding: 100px 8.33%;
    gap: 60px;
  }

  .section-tabulation-image-content .tabulation-description {
    max-width: 71.33%;
  }

  .section-tabulation-image-content .tabulation-tabs {
    width: auto;
    max-width: 100%;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    border-radius: 600px;
  }

  .section-tabulation-image-content .tabulation-tab {
    width: auto;
    white-space: nowrap;
  }

  .section-tabulation-image-content .tabulation-card {
    padding: 60px 6.67%;
  }

  .section-tabulation-image-content .tabulation-card-inner {
    flex-direction: row;
    align-items: center;
    gap: 5.77%;
  }

  .section-tabulation-image-content .tabulation-media {
    width: 36.54%;
    max-width: 380px;
    height: auto;
    align-self: stretch;
    min-height: 380px;
  }

  .section-tabulation-image-content .tabulation-expand {
    width: 48px;
    height: 48px;
  }

  .section-tabulation-image-content .tabulation-copy {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
  }

  .section-tabulation-image-content .tabulation-copy-title,
  .section-tabulation-image-content .tabulation-copy-title h1,
  .section-tabulation-image-content .tabulation-copy-title h2,
  .section-tabulation-image-content .tabulation-copy-title h3,
  .section-tabulation-image-content .tabulation-copy-title p {
    text-align: left;
  }

  .section-tabulation-image-content .tabulation-copy-btn {
    width: auto;
    padding: 22px 48px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1279px) {
  .section-tabulation-image-content .wrap {
    padding-left: 60px;
    padding-right: 60px;
  }
}
