.pg-post-header {
  background-color: var(--pg-white);
  padding-top: 24px;
}
@media (min-width: 1024px) {
  .pg-post-header {
    padding-top: 48px;
  }
}
.pg-post-header__container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 20px;
}
@media (min-width: 1024px) {
  .pg-post-header__container {
    padding-bottom: 32px;
  }
}
.pg-post-header__back {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 9999px;
  background-color: var(--pg-orange-muted);
  color: var(--pg-white);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.pg-post-header__title {
  margin: 0;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--pg-green-forest);
  font-size: 20px;
}
@media (min-width: 768px) {
  .pg-post-header__title {
    font-size: 24px;
  }
}
@media (min-width: 1024px) {
  .pg-post-header__title {
    font-size: 40px;
  }
}
.pg-post-header__byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--pg-gray-cool);
}
.pg-post-header__author, .pg-post-header__category {
  color: inherit;
  text-decoration: none;
}
.pg-post-header__author:hover, .pg-post-header__category:hover {
  text-decoration: underline;
}
.pg-post-header__hero-wrap {
  padding-bottom: 24px;
}
@media (min-width: 1024px) {
  .pg-post-header__hero-wrap {
    padding-bottom: 48px;
  }
}
.pg-post-header__hero {
  margin: 0;
  height: 322px;
  border-radius: 16px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .pg-post-header__hero {
    height: 420px;
  }
}
.pg-post-header__hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pg-post-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 24px;
}
@media (min-width: 1024px) {
  .pg-post-content {
    padding-bottom: 48px;
  }
}
.pg-post-content p, .pg-post-content ul, .pg-post-content ol, .pg-post-content blockquote {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--pg-gray-steel);
}
.pg-post-content ul, .pg-post-content ol {
  padding-left: 20px;
}
.pg-post-content ul li:not(:last-child), .pg-post-content ol li:not(:last-child) {
  margin-bottom: 8px;
}
.pg-post-content h2, .pg-post-content h3 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--pg-gray-charcoal);
}
.pg-post-content h2 {
  font-size: 24px;
}
.pg-post-content h3 {
  font-size: 20px;
}
.pg-post-content a {
  color: var(--pg-green);
  text-decoration: underline;
}
.pg-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.pg-post-share {
  display: flex;
  padding-bottom: 24px;
  align-items: center;
  gap: 16px;
}
.pg-post-share__label {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
  color: var(--pg-gray-dark);
}
.pg-post-share__list {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pg-post-share__link {
  display: block;
  width: 32px;
  height: 32px;
}
.pg-post-share__link svg {
  display: block;
  width: 100%;
  height: 100%;
}

.pg-teacher-card {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
  background-color: var(--pg-white);
  border: 1px solid rgba(51, 155, 71, 0.25);
  border-radius: 2px;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}
@media (min-width: 768px) {
  .pg-teacher-card {
    flex-direction: row;
  }
}
@media (min-width: 1024px) {
  .pg-teacher-card {
    margin-bottom: 0;
  }
}
.pg-teacher-card__photo {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: 200px;
  margin: 0;
  background: linear-gradient(to right, var(--pg-green-sage), var(--pg-green-deep));
}
@media (min-width: 768px) {
  .pg-teacher-card__photo {
    width: 304px;
    height: auto;
  }
}
.pg-teacher-card__photo-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.pg-teacher-card__content {
  padding: 24px;
}
@media (min-width: 1024px) {
  .pg-teacher-card__content {
    padding: 38px 43px;
  }
}
.pg-teacher-card__name {
  margin: 0;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--pg-green-emerald);
}
.pg-teacher-card__divider {
  display: block;
  width: 98px;
  height: 2px;
  margin: 10px 0 16px;
  background-color: var(--pg-green-emerald);
}
.pg-teacher-card__description {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: var(--pg-gray-dark);
}

.pg-blog-cards {
  padding: 32px 0 48px;
}
@media (min-width: 768px) {
  .pg-blog-cards {
    padding: 40px 0 56px;
  }
}
@media (min-width: 1024px) {
  .pg-blog-cards {
    padding: 48px 0 64px;
  }
}

.pg-blog-cards__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 768px) {
  .pg-blog-cards__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 706px;
    margin: 0 auto;
    gap: 32px 16px;
  }
}
@media (min-width: 1024px) {
  .pg-blog-cards__grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1236px;
    gap: 42px 48px;
  }
}

.pg-blog-cards__empty {
  font-family: "Poppins", sans-serif;
  color: var(--pg-gray-slate-light);
  text-align: center;
  padding: 24px 0;
}

.pg-blog-card {
  background-color: var(--pg-white);
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pg-blog-card__figure {
  display: block;
}
.pg-blog-card__image {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.pg-blog-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
}
.pg-blog-card__date {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: var(--pg-gray-cool);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.pg-blog-card__title {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  color: var(--pg-gray-charcoal);
}
.pg-blog-card__title a {
  color: inherit;
  text-decoration: none;
}
.pg-blog-card__cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 9999px;
  background-color: var(--pg-orange-deep);
  color: var(--pg-white);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.pg-blog-card__cta:hover {
  background-color: var(--pg-orange);
}
.pg-blog-card__cta:focus-visible {
  outline: 2px solid var(--pg-green-deep);
  outline-offset: 2px;
}

.pg-post-popular {
  background-color: var(--pg-green-ice);
  padding-block: 32px;
}
@media (min-width: 1024px) {
  .pg-post-popular {
    background: none;
  }
}
.pg-post-popular__container {
  padding-inline: 30px;
}
@media (min-width: 768px) {
  .pg-post-popular__container {
    padding-inline: 56px;
  }
}
@media (min-width: 1024px) {
  .pg-post-popular__container {
    padding-inline: 28px 34px;
  }
}
.pg-post-popular__title {
  margin: 0 0 24px;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.5px;
  color: var(--pg-green-dusty);
}
.pg-post-popular__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .pg-post-popular__list {
    flex-direction: row;
  }
  .pg-post-popular__list > .pg-blog-card {
    flex: 1 1 0;
  }
}

main.pg-single-post {
  overflow-x: hidden;
  padding-top: 98px;
}
@media (min-width: 768px) and (max-width: 1023px) {
  main.pg-single-post {
    padding-top: 99px;
  }
}
@media (min-width: 1024px) {
  main.pg-single-post {
    padding-top: 117px;
  }
}
@media (min-width: 1024px) {
  main.pg-single-post {
    padding-bottom: 48px;
  }
}

body:not(.admin-bar) main.pg-single-post {
  padding-top: 148px;
}
@media (min-width: 768px) and (max-width: 1023px) {
  body:not(.admin-bar) main.pg-single-post {
    padding-top: 149px;
  }
}
@media (min-width: 1024px) {
  body:not(.admin-bar) main.pg-single-post {
    padding-top: 167px;
  }
}

.pg-single-post__layout {
  max-width: 1440px;
  margin-inline: auto;
}
@media (min-width: 1024px) {
  .pg-single-post__layout {
    display: grid;
    grid-template-columns: 1fr 406px;
    column-gap: 77px;
  }
}

.pg-single-post__main {
  padding-inline: 16px;
}
@media (min-width: 768px) {
  .pg-single-post__main {
    padding-inline: 56px;
  }
}
@media (min-width: 1024px) {
  .pg-single-post__main {
    padding-inline: 73px 0;
  }
}

@media (min-width: 1024px) {
  .pg-single-post__aside {
    margin-top: 277px;
    background-color: var(--pg-green-ice);
  }
}