/*----------------------------------------------
PT Service detail page. Loaded after about-page.css and reuses its banner,
wrap, titles and buttons, in the same look as Contact Us.
----------------------------------------------*/

/* Banner: the service's own photo under the same blue tint */
.pts-hero {
  background: #09377a;
}

.pts-hero-img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.pts-hero::before {
  background: linear-gradient(90deg, rgba(9, 55, 122, 0.94) 0%, rgba(10, 58, 126, 0.82) 38%, rgba(18, 81, 160, 0.3) 100%);
  display: block;
  z-index: 1;
}

.pts-hero::after {
  z-index: 1;
}

/* Layout */
.pts-main {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) 320px;
  padding-bottom: 72px;
  padding-top: 40px;
}

.pts-content,
.pts-side {
  display: grid;
  gap: 24px;
}

.pts-card {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(16, 58, 140, 0.12);
  padding: 36px;
}

.pts-card .abt-title {
  font-size: 24px;
  text-transform: none;
}

/* Description written in the admin editor */
.pts-body {
  color: #3f4f70;
  font-size: 15.5px;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.pts-body p {
  margin: 0 0 16px;
}

.pts-body > :last-child {
  margin-bottom: 0;
}

.pts-body h2,
.pts-body h3,
.pts-body h4,
.pts-body h5 {
  color: #0d2a63;
  font-weight: 700;
  line-height: 1.3;
  margin: 24px 0 10px;
  text-transform: none;
}

.pts-body h2 { font-size: 22px; }
.pts-body h3 { font-size: 19px; }
.pts-body h4,
.pts-body h5 { font-size: 17px; }

.pts-body > :first-child {
  margin-top: 0;
}

.pts-body ul,
.pts-body ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.pts-body li {
  margin-bottom: 6px;
}

.pts-body a {
  color: #1d5fd6;
  font-weight: 600;
}

.pts-body a:hover {
  color: #0d3a8c;
}

.pts-body img {
  border-radius: 14px;
  height: auto;
  max-width: 100%;
}

.pts-body table {
  max-width: 100%;
}

/* Schemes table */
.pts-table-wrap {
  border: 1px solid #dbe6f5;
  border-radius: 14px;
}

.pts-table {
  border-collapse: collapse;
  min-width: 640px;
  width: 100%;
}

.pts-table thead th {
  background: #e4effd;
  color: #0d3a8c;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 14px;
  position: sticky;
  text-align: left;
  top: 0;
  white-space: nowrap;
}

.pts-table tbody td {
  border-top: 1px solid #dbe6f5;
  color: #10244d;
  font-size: 14.5px;
  padding: 12px 14px;
  vertical-align: middle;
}

.pts-table tbody tr:hover td {
  background: #f6f9fe;
}

.pts-code {
  background: #e4effd;
  border-radius: 6px;
  color: #1d5fd6;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  white-space: nowrap;
}

/* Sidebar */
.pts-cta {
  background: linear-gradient(135deg, #09377a 0%, #1251a0 70%, #1a5cab 100%);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(16, 58, 140, 0.2);
  padding: 28px;
}

.pts-cta h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 10px;
  text-transform: none;
}

.pts-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 20px;
}

.pts-nav {
  padding: 28px;
}

.pts-nav ul {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pts-nav a {
  align-items: center;
  border-radius: 10px;
  color: #10244d;
  display: flex;
  font-size: 14.5px;
  font-weight: 600;
  gap: 10px;
  justify-content: space-between;
  padding: 10px 12px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.pts-nav a i {
  color: #8a98b5;
  font-size: 11px;
}

.pts-nav a:hover,
.pts-nav a.is-active {
  background: #e4effd;
  color: #1d5fd6;
}

.pts-nav a:hover i,
.pts-nav a.is-active i {
  color: #1d5fd6;
}

.pts-photo {
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(16, 58, 140, 0.18);
  display: block;
  height: auto;
  width: 100%;
}

@media (max-width: 1199px) {
  .pts-main {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

@media (max-width: 991px) {
  .pts-main {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 56px;
    padding-top: 32px;
  }
}

@media (max-width: 575px) {
  .pts-card,
  .pts-cta,
  .pts-nav {
    border-radius: 18px;
    padding: 24px 18px;
  }
}
