/* =========================
   HEADER / MENU
========================= */

.qodef-page-title {
  height: 333px;
}

.qodef-page-title,
.qodef-header--standard #qodef-page-header {
  background-color: #4b3c37 !important;
}

.upk-harold-list .upk-title a:hover {
  color: #4b3c37 !important;
}

.upk-harold-list .upk-category a:hover {
  border: 1px solid #4b3c37 !important;
  color: #4b3c37 !important;
}

.qodef-header-navigation ul li ul {
  background-color: #f7f5f5 !important;
}

.qodef-header-navigation > ul > li > a {
  text-transform: uppercase !important;
}

.qodef-header-navigation > ul > li.qodef-menu-item--narrow ul li a {
  color: #1e1e1e !important;
  text-transform: uppercase !important;
}

.qodef-header-navigation
  > ul
  > li.qodef-menu-item--narrow
  ul
  li.current-menu-ancestor
  > a,
.qodef-header-navigation
  > ul
  > li.qodef-menu-item--narrow
  ul
  li.current-menu-item
  > a,
.qodef-header-navigation > ul > li.qodef-menu-item--narrow ul li:hover > a {
  color: #d14e3a !important;
}

.content-box .qodef-m-image img {
  height: 350px;
  object-fit: cover;
}

.content-box-text strong {
  text-transform: uppercase;
}

.text-align-justify {
  text-align: justify !important;
}

.custom-underline {
  text-decoration-line: underline !important;
  text-decoration-color: #a1978c !important;
  text-decoration-thickness: 3px !important;
  text-underline-offset: 4px !important;
}

/* =========================
   BUTTONS
========================= */

input[type="submit"],
button[type="submit"],
.qodef-theme-button.qodef--filled,
button.qodef-theme-button.qodef--filled,
#qodef-woo-page .added_to_cart,
#qodef-woo-page .button,
.qodef-woo-shortcode .added_to_cart,
.qodef-woo-shortcode .button,
.widget.woocommerce .button,
.woocommerce-page div.woocommerce > .return-to-shop a,
.woocommerce-account .button,
#qodef-page-header .widget.woocommerce.widget_shopping_cart .buttons a,
.widget.woocommerce.widget_shopping_cart .buttons a,
.ff-btn-submit,
.qodef-qi-button.qodef-layout--filled {
  background-color: #f7f5f5 !important;
  color: #1e1e1e !important;
  transition: all 0.3s ease;
  border-radius: 4px !important;
  border: 0;
}

.qodef-qi-button.qodef-layout--filled:hover {
  background-color: rgb(240, 240, 240) !important;
  color: var(--e-global-color-text) !important;
}

.ff-btn-submit {
  border-color: #f7f5f5 !important;
}

/* =========================
   COURSE DETAILS GRID
========================= */

.curso-detalhes-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 0;
  text-align: center;
}

.detalhe-item {
  flex: 1;
  min-width: 200px;
  padding: 10px;
  border-right: 1px solid #f0f0f0;
}

.detalhe-item:last-child {
  border-right: none;
}

.detalhe-label {
  display: block;
  font-weight: 500;
  font-size: 20px;
  color: #1e1e1e;
  margin-bottom: 8px;
}

.detalhe-valor {
  display: block;
  font-size: 1rem;
  color: #444;
  line-height: 1.4;
}

/* =========================
   TITLES
========================= */

.section-title {
  margin-bottom: 30px;
}

.section-title .qodef-m-title {
  font-size: 50px;
  line-height: 60px;
}

.section-title .qodef-m-title.center {
  text-align: center;
}

/* =========================
   COURSE GRID SECTION
========================= */

.secao-curso-grid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 500px;
}

.grid-texto,
.grid-imagem {
  flex: 1 1 50%;
  min-width: 350px;
}

.grid-texto {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.grid-imagem {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.grid-imagem img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.grid-reverso {
  flex-direction: row-reverse;
}

/* =========================
   CONTENT
========================= */

.label-secao {
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.conteudo-lista ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.conteudo-lista ul li {
  margin-bottom: 14px;
  line-height: 1.7;
}

.conteudo-lista ul li::before {
  content: "●";
  margin-right: 10px;
}

.btn-grid {
  display: inline-block;
  padding: 12px 25px;
  margin-top: 20px;
  text-decoration: none;
  font-weight: bold;
}

/* =========================
   PDF DOWNLOAD
========================= */

.container-download-pdf {
  margin: 20px 0;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .section-title .qodef-m-title {
    font-size: 40px;
    line-height: 50px;
  }

  .grid-texto {
    padding: 48px;
  }
}

@media (max-width: 768px) {
  /* Details grid */

  .detalhe-item {
    flex: 1 1 50%;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
  }

  .detalhe-item:nth-child(even) {
    border-left: 1px solid #f0f0f0;
  }

  /* Course sections */

  .secao-curso-grid {
    flex-direction: column;
  }

  .grid-reverso {
    flex-direction: column;
  }

  .grid-texto,
  .grid-imagem {
    min-width: 100%;
  }

  .grid-texto {
    padding: 40px 24px;
  }

  .grid-imagem {
    min-height: 320px;
  }

  .section-title .qodef-m-title {
    font-size: 32px;
    line-height: 42px;
  }

  .curso-detalhes-container {
    padding: 20px 0;
  }
}

@media (max-width: 480px) {
  .section-title .qodef-m-title {
    font-size: 28px;
    line-height: 36px;
  }

  .grid-texto {
    padding: 32px 20px;
  }

  .btn-download-pdf {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* =========================
   PAGE PROFESSOR
========================= */

.professor-cards-container .upk-harold-list .upk-image-wrap .upk-img {
  height: 120px;
  width: 100%;
  object-fit: cover;
}

/* =========================
   SINGLE PROFESSOR
========================= */

.professor-container {
  width: min(1200px, 92%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: start;
}

/* =========================
   IMAGE
========================= */

.professor-image-wrapper {
  position: sticky;
  top: 40px;
}

.professor-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);

  display: block;
}

/* =========================
   CONTENT
========================= */

.professor-label {
  display: inline-flex;

  padding: 10px 16px;

  border-radius: 999px;

  background: #ebe5df;

  color: #4b3c37;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  margin-bottom: 24px;
}

.professor-title {
  font-size: 64px;
  line-height: 1.05;
  margin-bottom: 24px;

  color: #1e1e1e;
}

.professor-subtitle {
  font-size: 22px;
  line-height: 1.6;

  color: #5b5b5b;

  margin-bottom: 50px;

  max-width: 850px;
}

/* =========================
   CARDS
========================= */

.professor-card {
  background: #ffffff;
  border-radius: 4px;
  margin-bottom: 32px;
}

.professor-section-title {
  font-size: 30px;
  line-height: 1.2;

  margin-bottom: 30px;

  color: #1e1e1e;
}

/* =========================
   LIST
========================= */

.professor-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.professor-item {
  font-size: 17px;
  line-height: 1.8;

  color: #444;

  padding-bottom: 20px;

  border-bottom: 1px solid #f0f0f0;
}

.professor-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.professor-item strong {
  color: #1e1e1e;
}

/* =========================
   WYSIWYG
========================= */

.professor-especialidades {
  font-size: 17px;
  line-height: 1.9;

  color: #444;
}

.professor-especialidades ul {
  padding-left: 20px;
}

.professor-especialidades li {
  margin-bottom: 12px;
}

.professor-especialidades h1,
.professor-especialidades h2,
.professor-especialidades h3,
.professor-especialidades h4 {
  margin-top: 32px;
  margin-bottom: 20px;

  color: #1e1e1e;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .professor-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .professor-image-wrapper {
    position: relative;
    top: initial;
  }

  .professor-image {
    max-width: 500px;
  }

  .professor-title {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .professor-hero {
    padding: 60px 0;
  }

  .professor-title {
    font-size: 38px;
  }

  .professor-subtitle {
    font-size: 18px;
  }

  .professor-card {
    padding: 28px;
  }

  .professor-section-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .professor-title {
    font-size: 32px;
  }

  .professor-card {
    padding: 22px;
  }
}

/* =========================
   PROFESSOR COURSES
========================= */

.professor-cursos {
  padding: 100px 0;
  background: #ffffff;
}

.professor-cursos-container {
  width: min(1280px, 92%);
  margin: 0 auto;
}

.professor-cursos-header {
  margin-bottom: 60px;
}

.professor-cursos-title {
  font-size: 52px;
  line-height: 1.1;

  margin-top: 20px;

  color: #1e1e1e;

  max-width: 900px;
}

.professor-cursos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* =========================
   COURSE CARD
========================= */

.curso-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

  display: flex;
  flex-direction: column;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.curso-card:hover {
  transform: translateY(-6px);

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.curso-card-image-link {
  display: block;
  overflow: hidden;
}

.curso-card-image {
  width: 100%;
  height: 280px;

  object-fit: cover;

  display: block;

  transition: transform 0.5s ease;
}

.curso-card:hover .curso-card-image {
  transform: scale(1.04);
}

.curso-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.curso-card-date {
  display: inline-flex;

  margin-bottom: 16px;

  font-size: 13px;
  font-weight: 600;

  color: #7a7a7a;

  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.curso-card-title {
  font-size: 28px;
  line-height: 1.2;

  margin-bottom: 18px;

  color: #1e1e1e;
}

.curso-card-subtitle {
  font-size: 16px;
  line-height: 1.7;

  color: #5f5f5f;

  margin-bottom: 28px;
}

.curso-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: auto;
  align-self: flex-start;

  padding: 13px 46px;
  background-color: #f7f5f5 !important;
  color: #1e1e1e !important;
  transition: all 0.3s ease;
  border-radius: 4px !important;
  border: 0;

  text-decoration: none;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.curso-card-button:hover {
  background-color: rgb(240, 240, 240) !important;
  color: var(--e-global-color-text) !important;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .professor-cursos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .professor-cursos-title {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .professor-cursos {
    padding: 70px 0;
  }

  .professor-cursos-grid {
    grid-template-columns: 1fr;
  }

  .professor-cursos-title {
    font-size: 34px;
  }

  .curso-card-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .curso-card-content {
    padding: 24px;
  }

  .professor-cursos-title {
    font-size: 30px;
  }
}

/* =========================
   HOME PRINCIPAL
========================= */

.page-id-7 .qodef-header-logo-link img,
.page-id-7 #phone-header,
.page-id-7 #qodef-page-footer {
  display: none !important;
}

.page-id-7 #qodef-page-header {
  background-color: transparent !important;
}

/* =========================
   HOME CLINICA
========================= */

.page-id-3371 #qodef-page-header {
  background-color: transparent !important;
}

/* =========================
   NEWSLETTER
========================= */

.newsletter-section .ff-default .ff-el-input--label label {
  color: #fff;
}

.newsletter-section .ff-default .ff-el-form-control {
  background-color: #fff;
}

.newsletter-section .ff-default .ff-el-form-control:focus {
  border-color: #d14e3a;
}

/* =========================
   HOME INSTITUTO
========================= */

.page-id-3718 #qodef-page-header {
  background-color: transparent !important;
}

/* =========================
   PROFISSIONAIS
========================= */

.team-lead-grid-item img {
  height: 700px !important;
  object-fit: cover;
  object-position: top center;
}

.team-grid-item img {
  height: 400px !important;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 768px) {
  .team-lead-grid-item img {
    height: 400px !important;
  }
}
