/* ==========================================================
   Shared page component styles
   Used by: /compliance/hipaa, /sector/education
   ========================================================== */

/* Override global blue checkpoints text for education page */
.education-page .checkpoints-wrap>.text-block-6 {
  color: var(--colors--grey);
}

/* Hero stat cards grid (used in hipaa & education hero sections) */
.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hero-stat-card {
  padding: 1.25rem;
}

.hero-stat-card .heading-style-h5 {
  margin-bottom: 0.5rem;
}

.hero-stat-card p {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .hero-stat-grid {
    grid-template-columns: 1fr;
  }
}

/* How It Works rows */
.hiw-row-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.hiw-row-2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
}

@media (max-width: 767px) {

  .hiw-row-1,
  .hiw-row-2 {
    grid-template-columns: 1fr;
  }
}

/* Policy note box */
.policy-note-box {
  background: #F5F4F1;
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
}

/* License Optimization Section */
.license-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.license-card {
  background-color: var(--colors--card-grey);
  border: 1px solid var(--colors--border-grey);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.license-card.is-highlighted {
  border: 1px solid var(--colors--border-grey);
}

.license-card-label {
  padding: 0.875rem 0;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--colors--grey);
  background-color: var(--colors--card-grey);
}

.license-card-label.is-blue {
  color: var(--colors--blue);
}

.license-card-body {
  background-color: var(--colors--white);
  border: 1px solid var(--colors--border-grey);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  margin: 0;
  flex: 1;
}

.license-card.is-highlighted .license-card-body {
  border: 2px solid var(--colors--blue);
}

.license-card-title {
  margin-bottom: 1.25rem;
}

.license-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.6rem 0;
  border-top: 1px solid var(--colors--border-grey);
  font-size: 0.9375rem;
}

.license-row-label {
  color: var(--colors--grey);
}

.license-row-value {
  font-weight: 700;
  color: var(--colors--black);
}

.license-savings-banner {
  background-color: var(--colors--card-grey);
  border: 1px solid var(--colors--border-grey);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.license-savings-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--colors--blue);
  white-space: nowrap;
}

.license-footnote {
  text-align: center;
  margin-top: 1.5rem;
}

@media (max-width: 767px) {
  .license-compare-grid {
    grid-template-columns: 1fr;
  }

  .license-savings-banner {
    flex-direction: column;
    gap: 1rem;
  }

  .license-savings-amount {
    font-size: 2rem;
  }
}

/* Safeguards grid */
.safeguards-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 991px) {
  .safeguards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 479px) {
  .safeguards-grid {
    grid-template-columns: 1fr;
  }
}

/* Customer Story Section */
.customer-story-card {
  background-color: var(--colors--card-grey);
  border: 1px solid var(--colors--border-grey);
  border-radius: 16px;
  padding: 2.5rem;
}

.customer-story-top {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
  align-items: start;
}

.customer-story-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--colors--border-grey);
}

@media (max-width: 991px) {
  .customer-story-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .customer-story-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 479px) {
  .customer-story-stats {
    grid-template-columns: 1fr;
  }
}

/* Education pricing card */
.edu-price-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.edu-price-row .edu-price-tag {
  margin-left: auto;
}

.edu-price-amount {
  font-weight: 700;
  color: var(--colors--black);
  line-height: 1;
}

.edu-price-unit {
  color: var(--colors--grey);
}

.edu-price-tag {
  border: 1px solid var(--colors--border-grey);
  border-radius: 8px;
  padding: 0.5rem 0.875rem;
  color: var(--colors--grey);
}

.edu-callout {
  border-left: 3px solid var(--colors--blue);
  padding-left: 1rem;
  color: var(--colors--blue);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.edu-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem 1.5rem;
  margin-bottom: 2.25rem;
}

.edu-cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  background-color: var(--colors--blue);
  color: #fff;
  border-radius: 8px;
  padding: 1rem;
  text-decoration: none;
  box-sizing: border-box;
}

.edu-cta-btn:hover {
  opacity: 0.9;
  color: #fff;
}

@media (max-width: 767px) {
  .edu-features-grid {
    grid-template-columns: 1fr;
  }

  .edu-price-row {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .edu-price-row .edu-price-tag {
    margin-left: 0;
    width: 100%;
  }
}

/* Shared Responsibility image */
.shared-responsibility-img {
  width: 60%;
}

@media (max-width: 767px) {
  .shared-responsibility-img {
    width: 100%;
  }
}

/* ==========================================================
   File Sharing for Law Firms page
   ========================================================== */

/* Share with clients section - card background */
#difference-without-mwd,
#difference-with-mwd {
  background-color: #ffffff !important;
}

/* Share with clients section - card layout fixes */
#difference-without-mwd,
#difference-with-mwd {
  display: block !important;
  align-items: initial !important;
  justify-content: initial !important;
  text-align: left !important;
}

#difference-without-mwd .text-size-large,
#difference-with-mwd .text-size-large {
  display: block;
  text-align: left;
}

/* Share with clients section - custom bullet icons */
#difference-without-mwd ul,
#difference-with-mwd ul {
  list-style: none;
  padding-left: 0;
}

#difference-without-mwd ul li,
#difference-with-mwd ul li {
  display: flex;
  align-items: flex-start;
  padding-left: 0;
  margin-bottom: 1.25rem;
}

#difference-without-mwd ul li::before,
#difference-with-mwd ul li::before {
  content: '';
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  margin-top: 0.15rem;
  background-size: contain;
  background-repeat: no-repeat;
}

#difference-without-mwd ul li::before {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='24' height='24' rx='4' fill='%23272727'/%3E%3Cpath d='M16 16L12 12M12 12L8 8M12 12L16 8M12 12L8 16' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#difference-with-mwd ul li::before {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='24' height='24' rx='4' fill='%233388FF'/%3E%3Cpath d='M6 12L10.2426 16.2426L18.727 7.75732' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* No vendor cloud section - feature list */
.law-firms-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.law-firms-feature-list li {
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
  margin-bottom: 2rem;
}

.law-firms-feature-list li:last-child {
  margin-bottom: 0;
}

.law-firms-feature-list li>p {
  padding-left: 1.85rem;
}

.law-firms-feature-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.law-firms-feature-title::before {
  content: '';
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 10L8.5 14.5L16 6' stroke='%233388FF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ds-why-section education-pricing-card: reset p:last-child so content stays
   grouped and vertically centered (override.css pushes it to the bottom by default) */
.ds-why-section .education-pricing-card .education-pricing-right>p:last-child {
  margin-top: 0 !important;
  flex-grow: 0 !important;
  display: block !important;
  align-items: initial !important;
}

/* ==========================================================
   Finance and Banking - Three Questions section
   ========================================================== */

.exam-eyebrow {
  color: var(--colors--blue);
  border-left: 3px solid var(--colors--blue);
  padding-left: 1rem;
  font-family: 'IBM Plex Mono', monospace;
  display: block;
  margin-bottom: 1rem;
}

.exam-main-question {
  border-left: 3px solid var(--colors--blue);
  padding-left: 1rem;
  margin: 0 0 1.75rem 0;
  color: var(--colors--black);
}

.exam-sub-questions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.exam-sub-question {
  border-left: 2px solid var(--colors--border-grey);
  padding-left: 1rem;
  margin: 0;
}

.exam-answer-card {
  background-color: var(--colors--card-grey);
  border-radius: 16px;
  padding: 2.5rem;
}

.exam-answer-title {
  color: var(--colors--black);
  margin: 0 0 1rem 0;
}

.exam-answer-card>p {
  margin-bottom: 1rem;
}

.exam-answer-card>p:last-child {
  margin-bottom: 0;
}

/* Checkmark list - reusable blue tick list */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  padding-left: 0;
  margin-bottom: 1rem;
}

.checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-right: 0.75rem;
  margin-top: 0.2rem;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 10L8.5 14.5L16 6' stroke='%233388FF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Compliance badge row */
.compliance-badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
  flex: none;
  align-self: center;
  border: 1px solid var(--colors--border-grey);
  border-radius: 8px;
  padding: 0.5rem 1rem;
}

.compliance-badge::before {
  content: '';
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='24' height='24' rx='4' fill='%233388FF'/%3E%3Cpath d='M6 12L10.2426 16.2426L18.727 7.75732' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Infrastructure cards */
.infra-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.infra-cards-grid>.testimonial-card-v3 {
  background-color: #ffffff !important;
}

@media (max-width: 767px) {
  .infra-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Finance page - benefits section 50/50 split */
.section-benefits .benefits-row-gray {
  column-gap: 4rem;
}

.section-benefits .benefits-row-gray>.benefits-content {
  flex: 0 0 calc(50% - 2rem);
}

.section-benefits .benefits-row-gray>.benefits-list {
  flex: 0 0 calc(50% - 2rem);
}

/* Government page - two deployment paths section */
.gov-deployment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.gov-deployment-card {
  background-color: #f3f3f0;
  border-radius: 16px;
  padding: 2.5rem;
}

.gov-deployment-badge {
  display: inline-block;
  background-color: #EAF3FF;
  border: 1.5px solid #93c5fd;
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  color: #2563eb;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .gov-deployment-grid {
    grid-template-columns: 1fr;
  }
}

/* Government page - trust stats grid */
.gov-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gov-trust-card {
  background-color: #f3f3f0;
  border-radius: 16px;
  padding: 2.5rem;
}

.gov-trust-card-title {
  color: #2563eb;
  margin: 0;
}

@media (max-width: 767px) {
  .gov-trust-grid {
    grid-template-columns: 1fr;
  }
}

/* Finance page - feature image stretched and centered */
.section-benefits .benefits-content .image-2 {
  width: 100%;
  max-height: none;
  object-fit: cover;
  margin: 0 auto;
}

/* Government page - procurement badges */
.gov-procurement-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.gov-procurement-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
  flex: none;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 0.5rem 1rem;
}

.gov-procurement-badge::before {
  content: '';
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='24' height='24' rx='4' fill='%2322c55e'/%3E%3Cpath d='M6 12L10.2426 16.2426L18.727 7.75732' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C%2Fsvg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.gov-procurement-note a {
  color: var(--colors--blue, #3388FF);
  text-decoration: none;
}

.gov-procurement-note a:hover {
  text-decoration: underline;
}