/* The page "Work for girls": three cards and the text under them.
   Fonts come from the site, the colour from --wp-accent. */
.wp-escort-page-container {
  --wp-accent: var(--accent);
  --wp-border: #e3e3e3;
  --wp-text: #333;
}

/* Cards */
.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 10px 0 40px;
}

/* An empty paragraph of the editor would make a row of its own */
.hero-grid > p {
  display: none;
}

.hero-grid .card {
  display: block;
  padding: 28px 26px 22px;
  background: #fff;
  border: 1px solid var(--wp-border);
  border-top: 3px solid var(--wp-accent);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
  transition: box-shadow .2s ease;
}

.hero-grid .card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.hero-grid .card h2 {
  margin: 0 0 20px;
  padding: 0;
  color: var(--wp-text);
  font-family: inherit;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-transform: none;
}

.hero-grid .card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.hero-grid .card li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 26px;
  color: var(--wp-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.hero-grid .card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--wp-accent);
  font-weight: 700;
}

/* Contacts card */
.hero-grid .contacts-card {
  text-align: center;
}

.hero-grid .contacts-card p {
  margin: 0 0 24px;
  color: #666;
  font-size: 15px;
  line-height: 1.6;
}

.wp-escort-page-container .social-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.wp-escort-page-container .social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--wp-accent);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.wp-escort-page-container .social-link:hover {
  opacity: .8;
  text-decoration: none;
}

/* Each messenger in its own colour, with a round coloured badge */
.wp-escort-page-container .social-link i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  font-size: 19px;
}

.wp-escort-page-container .social-link.telegram { color: #229ed9; }
.wp-escort-page-container .social-link.telegram i { background: #229ed9; }
.wp-escort-page-container .social-link.viber { color: #7360f2; }
.wp-escort-page-container .social-link.viber i { background: #7360f2; }
.wp-escort-page-container .social-link.whatsapp { color: #25d366; }
.wp-escort-page-container .social-link.whatsapp i { background: #25d366; }

/* Font Awesome 4 has no Viber icon: a phone in the Viber badge */
.wp-escort-page-container .social-link .fa-viber::before { content: "\f095"; }

/* Text under the cards: one font, one size for paragraphs and lists */
.content-section {
  padding: 0;
  color: var(--wp-text);
  font-size: 16px;
  line-height: 1.75;
}

.content-section h2,
.content-section h3 {
  margin: 36px 0 14px;
  color: var(--wp-text);
  font-family: inherit;
  font-weight: 600;
  line-height: 1.3;
  text-transform: none;
}

.content-section h2 {
  font-size: 26px;
}

.content-section h3 {
  font-size: 21px;
}

.content-section > h2:first-child {
  margin-top: 0;
}

.content-section h2 b,
.content-section h3 b,
.content-section h2 strong,
.content-section h3 strong {
  font-weight: inherit;
}

.content-section p,
.content-section li {
  font-size: 16px;
  line-height: 1.75;
}

.content-section p {
  margin: 0 0 16px;
}

.content-section ul,
.content-section ol {
  margin: 0 0 16px;
  padding-left: 24px;
}

.content-section li {
  margin-bottom: 4px;
}

.content-section strong {
  font-weight: 700;
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
