/* Corporations page layout */

.corp-page .page-content-intro {
  padding-bottom: 0.5rem;
}

.corp-page-section {
  padding-block: clamp(1.25rem, 2.5vw, 2rem);
}

.corp-page-section .section-intro {
  margin-bottom: 0.5rem;
}

.corp-page-section--band {
  background: var(--soft-white-deep);
  border-block: 1px solid var(--border);
}

.corp-page-intro-text {
  max-width: 44rem;
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.corp-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  align-items: stretch;
}

@media (min-width: 600px) {
  .corp-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .corp-services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.corp-services-grid .card {
  min-width: 0;
  padding: 20px;
  height: 100%;
}

.corp-services-grid .card h3 {
  font-size: 19px;
}

.corp-services-grid .card p {
  font-size: 15px;
  line-height: 1.45;
}

.corp-compact-card {
  margin-top: 1rem;
}

.corp-compact-card ul {
  margin: 0;
  padding-left: 1.15rem;
  line-height: 1.55;
}

.corp-compact-card li + li {
  margin-top: 0.35rem;
}

.corp-payroll-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-top: 1rem;
}

@media (min-width: 600px) {
  .corp-payroll-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .corp-payroll-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.corp-payroll-cards .card {
  padding: 1.15rem;
  min-width: 0;
}

.corp-payroll-cards .card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.corp-payroll-cards .card p {
  font-size: 0.92rem;
  margin: 0;
}

.corp-checklist-block {
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
}

.corp-checklist-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.corp-checklist-head .section-title {
  margin: 0;
}

.corp-deadlines-table-wrap {
  overflow-x: auto;
  margin-top: 0.75rem;
}

.corp-deadlines-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.corp-deadlines-table th,
.corp-deadlines-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.corp-deadlines-table th {
  background: var(--green-dark);
  color: var(--white);
  font-weight: 600;
}

.corp-deadlines-table tr:last-child td {
  border-bottom: none;
}

.corp-deadlines-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
  line-height: 1.55;
}

.corp-sos-actions {
  margin-top: 1rem;
}

.btn-back-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--white);
  background: var(--green-dark);
  border: 2px solid var(--green-dark);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
}

.btn-back-top:hover {
  background: var(--green-dark-hover);
  border-color: var(--green-dark-hover);
  color: var(--white);
}

@media (max-width: 599px) {
  .corp-checklist-head {
    flex-direction: column;
    align-items: stretch;
  }

  .corp-checklist-head .btn-print-gold {
    width: 100%;
  }
}

@media print {
  body.print-corp-checklist-only .hero.hero--home,
  body.print-corp-checklist-only #site-header,
  body.print-corp-checklist-only #site-footer,
  body.print-corp-checklist-only .corp-page-section:not(#corp-tax-checklist),
  body.print-corp-checklist-only .no-print {
    display: none !important;
  }

  body.print-corp-checklist-only main > *:not(#corp-tax-checklist) {
    display: none !important;
  }

  body.print-corp-checklist-only #corp-tax-checklist {
    display: block !important;
    background: #fff !important;
    padding: 0 !important;
  }

  body.print-corp-checklist-only .checklist-accordion summary {
    display: block;
    padding: 0 0 0.35rem;
    background: none;
    color: #000;
  }

  body.print-corp-checklist-only .checklist-accordion summary::after {
    display: none;
  }
}
