:root {
  --primary-color: #e5007e;
  --secondary-color: #fffaf3;
  --terciary-color: #161616;
}

/*=============== LISTADO ==============*/

/*=============== SINGLE ================*/
.single-profesores main {
  background-color: var(--secondary-color);
  padding: 80px 0;
}
.single-profesores .profesor-header {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 40px;
  align-items: flex-end;
}
.single-profesores .featured-image {
  grid-column: span 4;
}
.single-profesores .entry-header {
  grid-column: span 8;
}
.single-profesores .entry-header h1 {
  font-size: 2.5rem;
  line-height: 1;
}
.single-profesores .featured-image .post-thumbnail img {
  width: 100%;
  border-radius: 10px;
}
.single-profesores .entry-header .profesor-meta {
  font-size: 1.2rem;
}
.single-profesores .entry-header .profesor-meta p {
  font-weight: 500;
}
.single-profesores .entry-header .profesor-meta p span {
  color: var(--primary-color);
  font-weight: bold;
}
.single-profesores .entry-header .profesor-meta a {
  color: var(--terciary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all ease-in-out 300ms;
}
.single-profesores .entry-header .profesor-meta a:hover {
  text-decoration: underline !important;
}

/* GRID */
.single-profesores .profesor-content .section {
  border-top: 2px solid var(--terciary-color);
  padding: 1rem 0 3rem 0;
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
}
.single-profesores .profesor-content .section .section-title {
  grid-column: span 8;
}
.single-profesores .profesor-content .section .section-content {
  grid-column: span 6;
}
.single-profesores .profesor-content .section .section-title h3 {
  margin: 0;
  font-size: 2.5rem;
  max-width: 300px;
  line-height: 1.2;
}

/* CONTENT */
.single-profesores .profesor-content .section .section-content p:first-child,
.single-profesores .profesor-content .section .section-content ul:first-child,
.single-profesores .profesor-content .section .section-content ol:first-child,
.single-profesores .profesor-content .section .section-content h1:first-child,
.single-profesores .profesor-content .section .section-content h2:first-child,
.single-profesores .profesor-content .section .section-content h3:first-child,
.single-profesores .profesor-content .section .section-content h4:first-child,
.single-profesores .profesor-content .section .section-content h5:first-child,
.single-profesores .profesor-content .section .section-content h6:first-child {
  margin-top: 10px;
}
.single-profesores .profesor-content .section .section-content p {
  margin-bottom: 25px;
}
.single-profesores .profesor-content .section .section-content p.bigger {
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 400;
}
.single-profesores .profesor-content .section .section-content p:not(.bigger) {
  font-size: 1.2rem;
  line-height: 1.1;
  font-weight: 400;
}
.single-profesores .profesor-content .section .section-content ul ul,
.single-profesores .profesor-content .section .section-content ol ol,
.single-profesores .profesor-content .section .section-content ol ul,
.single-profesores .profesor-content .section .section-content ul ol {
  margin-top: 25px;
}
.single-profesores .profesor-content .section .section-content ul ul {
  list-style: none !important;
  list-style-type: none !important;
}
.single-profesores .profesor-content .section .section-content ul {
  padding-left: 0;
  margin: 0;
  list-style: none;
}
.single-profesores .profesor-content .section .section-content ol {
  padding-left: 0;
  margin: 0;
}
.single-profesores .profesor-content .section .section-content .accordions ul,
.single-profesores .profesor-content .section .section-content .accordions ol {
  padding-left: 40px;
}
.single-profesores .profesor-content .section .section-content ul li,
.single-profesores .profesor-content .section .section-content ol li {
  font-size: 1.2rem;
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 25px;
  position: relative;
}
.single-profesores .profesor-content .section .section-content ul li:before,
.single-profesores .profesor-content .section .section-content ul ul li:before {
  content: "";
  width: 10px;
  height: 10px;
  background-color: var(--primary-color);
  transform: rotate(45deg);
  position: absolute;
  top: 7px;
  left: -20px;
}
.single-profesores .profesor-content .section .section-content ul ul li:before {
  width: 7px;
  height: 7px;
  background-color: var(--terciary-color);
}

/*=================================================*/
/*===============   RESPONSIVE   ==================*/
/*=================================================*/
@media screen and (max-width: 720px) {
  .single-profesores .profesor-content .title-profesor {
    padding-bottom: 3rem;
  }
  .single-profesores .profesor-content .title-profesor h1 {
    font-size: 2rem;
  }
  .single-profesores .profesor-content .section .section-title {
    grid-column: span 14;
  }
  .single-profesores .profesor-content .section .section-title h3 {
    font-size: 1.8rem;
    max-width: unset;
  }
  .single-profesores .profesor-content .section .section-content {
    grid-column: span 14;
    margin-top: 40px;
  }
  .single-profesores .profesor-content .section .section-content p,
  .single-profesores .profesor-content .section .section-content span,
  .single-profesores .profesor-content .section .section-content ul {
    font-size: large !important;
  }
  .single-profesores .profesor-content .section .section-content ul {
    margin-left: 25px;
  }
  ul.margin-left,
  ol.margin-left {
    padding-left: 25px !important;
  }
}

@media screen and (max-width: 670px) {
  .single-profesores .profesor-header {
    gap: 0;
  }
  .single-profesores .featured-image {
    grid-column: span 6;
  }
  .single-profesores .entry-header {
    grid-column: span 12;
  }
}
@media screen and (max-width: 550px) {
  .single-profesores .entry-header h1 {
    font-size: 2.2rem;
  }
  .single-profesores .featured-image {
    grid-column: span 8;
  }
}
@media screen and (max-width: 470px) {
  .single-profesores main {
    padding: 50px 0;
  }
  .single-profesores .featured-image {
    grid-column: span 12;
  }
}
