body:has(.dig-page) .protect-me,
body:has(.dig-page) .protect-me > .clearfix {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#main_area:has(.dig-page) {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: #eef3f6;
}

#main_area:has(.dig-page) .wrapper,
#main_area:has(.dig-page) .main_con,
#main_area:has(.dig-page) .main_sub_con,
#main_area:has(.dig-page) main,
#main_area:has(.dig-page) .hentry,
#main_area:has(.dig-page) .entry-content,
.dig-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#main_area:has(.dig-page) main {
  padding: 0 24px 0 !important;
}

.main_sub_con > main:has(.dig-page) {
  width: min(1180px, 100%) !important;
}

.dig-page h1 {
  margin: 0 0 8px !important;
  color: #234f6f !important;
  font-size: 44px !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em;
}

.dig-page h2 {
  margin: 0 0 6px !important;
  color: #234f6f !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.dig-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 32px;
  margin: 0 0 10px;
}

.dig-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #7d8c98;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.dig-back span {
  display: inline-block;
  transform-origin: left center;
}

.dig-back:hover {
  color: #7d8c98;
  text-decoration: none;
}

.dig-back:hover span {
  animation: dig-back-pop 0.45s ease forwards;
}

@keyframes dig-back-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.16); }
  70% { transform: scale(1.04); }
  100% { transform: scale(1.1); }
}

.dig-arrow {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: #d8d460;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dig-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7d8c98;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.dig-next span {
  display: inline-block;
  transform-origin: right center;
}

.dig-next:hover {
  color: #7d8c98;
  text-decoration: none;
}

.dig-next:hover span {
  animation: dig-back-pop 0.45s ease forwards;
}

.dig-next svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #d8d460;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dig-next:hover svg {
  transform: translateX(4px);
}

.dig-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px !important;
  color: #8b98a3 !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.dig-kicker::after {
  content: "";
  width: 42px;
  height: 3px;
  border-radius: 2px;
  background: #d8d460;
}

.dig-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 28px;
  align-items: start;
  margin: 0 0 22px;
}

.dig-lead {
  margin: 0 0 8px !important;
  color: #234f6f !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
}

.dig-copy {
  max-width: 40em;
  margin: 0 !important;
  color: #546572 !important;
  font-size: 15.5px !important;
  line-height: 1.5 !important;
}

.dig-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 32px 0 0;
}

.dig-cta,
.dig-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.dig-cta {
  background: #d8d460;
  color: #234f6f;
}

.dig-more {
  border: 1.5px solid #c5d0d8;
  background: #fff;
  color: #234f6f;
}

.dig-cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dig-hero-photo {
  margin: 0;
}

.dig-hero-photo img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center 40%;
  clip-path: ellipse(78% 100% at 100% 50%);
}

.dig-work {
  margin: 0 0 8px;
}

.dig-sub {
  margin: 0 0 16px !important;
  color: #546572 !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

.dig-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dig-cards li {
  margin: 0;
  padding: 16px 14px 14px;
  background: #fff;
  border-radius: 14px;
  border-bottom: 4px solid #d7e8f6;
  box-shadow: 0 8px 22px rgba(35, 79, 111, 0.06);
}

.dig-card-green { border-bottom-color: #b7e4cc; }
.dig-card-gold { border-bottom-color: #e6dc72; }

.dig-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.dig-ico {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.dig-ico svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #234f6f;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dig-ico-blue { background: #d7e8f6; }
.dig-ico-green { background: #d9f0e4; }
.dig-ico-gold { background: #f3efc0; }

.dig-num {
  color: #8b98a3;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.dig-cards strong {
  display: block;
  margin: 0 0 6px;
  color: #234f6f;
  font-size: 16px;
  line-height: 1.3;
}

.dig-cards p {
  margin: 0 !important;
  color: #5c6d7a !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

@media (max-width: 1100px) {
  .dig-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .dig-page h1 {
    font-size: 32px !important;
  }

  .dig-hero,
  .dig-cards {
    grid-template-columns: 1fr;
  }

  .dig-hero-photo img {
    height: 210px;
    clip-path: none;
    border-radius: 16px;
  }
}
