* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Times New Roman", Times, Georgia, serif;
  color: #111;
  background: #f3f3f3;
  line-height: 1.28;
  padding: 20px 14px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

.ats-resume {
  width: min(8.5in, 100%);
  margin: 0 auto;
  background: #fff;
  border: 1px solid #d3d3d3;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.12);
  padding: 0.48in 0.56in;
  overflow-wrap: anywhere;
}

.ats-header {
  text-align: center;
  margin-bottom: 8px;
}

.ats-name {
  font-size: 2.75rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ats-subtitle {
  margin-top: 2px;
  font-size: 1.05rem;
  font-style: italic;
  color: #222;
}

.ats-contact-line {
  margin-top: 7px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  font-size: 0.98rem;
  max-width: 100%;
}

.ats-contact-line a {
  color: #111;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ats-divider {
  margin: 0 4px;
  color: #555;
}

.ats-section {
  margin-top: 10px;
}

.ats-summary {
  font-size: 0.99rem;
  line-height: 1.3;
  color: #191919;
}

.ats-section h2 {
  text-transform: uppercase;
  font-size: 1.02rem;
  line-height: 1.05;
  letter-spacing: 0.03em;
  font-weight: 700;
  border-bottom: 1px solid #5f5f5f;
  padding-bottom: 2px;
  margin-bottom: 4px;
}

.ats-entry-list {
  list-style: none;
  display: block;
}

.ats-entry-list li {
  display: grid;
  gap: 2px;
  margin-top: 8px;
}

.ats-entry-list li:first-child {
  margin-top: 0;
}

.ats-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.ats-row.ats-row--detail-below {
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.ats-row > *,
.ats-subrow--dual > * {
  min-width: 0;
}

.ats-row strong {
  font-size: 1.09rem;
  line-height: 1.08;
  font-weight: 700;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ats-row span {
  font-size: 1.01rem;
  font-weight: 700;
  text-align: right;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ats-row [data-az-key="detail"] {
  font-weight: 400;
}

.ats-row.ats-row--detail-below span {
  margin-left: 0;
  text-align: left;
  max-width: 100%;
}

.ats-subrow {
  color: #333;
  font-size: 0.95rem;
}

.ats-subrow--dual {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.ats-subrow--dual em {
  font-style: italic;
  font-weight: 400;
}

.ats-subrow--dual span {
  text-align: right;
  white-space: normal;
  font-style: italic;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ats-project-detail {
  margin-top: 1px;
  color: #202020;
  font-size: 0.96rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ats-bullets {
  margin: 1px 0 0;
  padding-left: 20px;
  list-style: disc;
}

.ats-bullets li {
  display: list-item;
  margin-top: 1px;
  font-size: 0.97rem;
  line-height: 1.24;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ats-inline-group {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.99rem;
}

.ats-inline-heading {
  font-weight: 700;
}

.ats-inline-list {
  display: inline;
  list-style: none;
  padding: 0;
}

.ats-inline-list li {
  display: inline;
}

.ats-inline-list li + li::before {
  content: ", ";
}

.ats-interests {
  margin-top: 2px;
  font-size: 0.99rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.az-hidden {
  display: none !important;
}

@media screen and (max-width: 820px) {
  .ats-resume {
    padding: 22px 18px;
  }

  .ats-name {
    font-size: 2.2rem;
  }

  .ats-row,
  .ats-subrow--dual {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .ats-row span,
  .ats-subrow--dual span {
    white-space: normal;
    text-align: left;
  }

  .ats-contact-line {
    justify-content: flex-start;
  }
}
