/*
Theme Name: Leonie Child
Theme URI: https://leonie.qodeinteractive.com
Description: A child theme of Leonie
Author: Elated Themes
Author URI: https://qodeinteractive.com
Version: 1.0.0
Text Domain: leonie
Template: leonie
*/

*{
  font-family: "Archivo", sans-serif;
}
h1,h2,h3,h4,h5,button{
  font-family: "DM Mono", Sans-serif !important;
}

.fab {
  font-family: "Font Awesome 5 Brands" !important;
}

.qodef-social-icons-group .qodef-icon-holder:after {
  display: none;
}

#qodef-page-footer .widget ul:not(.qodef-shortcode-list) li a {
  color: #ffffffb8;
}

#qodef-page-footer .widget ul:not(.qodef-shortcode-list) li a:hover {
  color: #fff;
}

textarea {
  resize: none;
}

#custom_html-21 .qodef-button {
  display: none;
}

#qodef-related-posts .qodef-e-bottom-holder .qodef-e-info {
  flex: 1;
  text-align: center;
}

#farmacias_wrapper .dt-layout-cell.dt-layout-start label {
  display: flex;
  align-items: center;
  gap: 10px;
}

#farmacias_wrapper select {
  width: 50px;
  background-position: calc(100% - 5px) center;
}

#sb_instagram .sb_instagram_header .sbi_header_text,
.sb_instagram_header .sbi_header_text {
  max-width: 100%;
  width: 400px;
  margin: 0 auto;
}

/*#menu-main-menu-right,
#menu-main-menu-right-1{
	display: none!important;
}*/

.wpcf7-list-item {
  margin: 0 auto !important;
  text-align: left;
  font-size: 12px;
  line-height: normal;
}

.yarpp-thumbnails-horizontal .yarpp-thumbnail {
  border: none !important;
}

.qodef-grid-inner
  .qodef-grid.qodef-layout--columns.qodef-col-num--1
  > .qodef-grid-inner
  > .qodef-grid-item {
  max-width: 90%;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  padding-top: 20px;
}

.widget .qodef-blog .qodef-grid-inner article {
  max-width: 100% !important;
  box-shadow: none !important;
  padding-top: 0px !important;
}

.qodef-testimonials-list .qodef-e-media-image {
  margin-bottom: 0px;
}

.yarpp-related h3 {
  margin-top: 62px !important;
}

.qodef-blog .qodef-blog-item .qodef-e-left {
  visibility: hidden;
}
.qodef-e-info > * {
  gap: 5px;
}

.qodef-testimonials-list .qodef-e-title {
  margin: 0 0 25px;
  font-size: 14px;
  font-style: italic;
}

@media only screen and (max-width: 768px) {
  .qodef-grid-inner
    .qodef-grid.qodef-layout--columns.qodef-col-num--1
    > .qodef-grid-inner
    > .qodef-grid-item {
    max-width: 100%;
  }
}

h2.qodef-e-title.entry-title {
  font-size: 36px;
}

@media only screen and (max-width: 768px) {
  h2.qodef-e-title.entry-title {
    font-size: 28px;
  }
}

.elementor-77
  .elementor-element.elementor-element-64b8eb6
  .elementor-image-carousel-caption {
  margin-top: 20px;
}

/*#menu-item-11239 > a > span.qodef-menu-item-text {
    background-color: #AE1832;
    color: white !important;
    padding: 6px 12px;
    border-radius: 4px;
    box-shadow: 0 3px 5px rgba(221, 0, 47, 0.3);
    transition: all 0.3s ease;
}

#menu-item-11239 > a > span.qodef-menu-item-text:hover {
    background-color: #AE1832;
    box-shadow: 0 4px 6px rgba(221, 0, 47, 0.4);
}*/

/*#menu-item-11239 > a > span.qodef-menu-item-text {
    position: relative;
    color: #AE1832;
    border: 2px solid #AE1832;
    padding: 4px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

#menu-item-11239 > a > span.qodef-menu-item-text:hover {
    background-color: #AE1832;
    color: white !important;
    box-shadow: 0 3px 5px rgba(221, 0, 47, 0.2);
}*/

/*#menu-item-11239 > a > span.qodef-menu-item-text {
    position: relative;
    color: #AE1832;
    font-weight: bold;
}

#menu-item-11239 > a > span.qodef-menu-item-text::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: #AE1832;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease;
}

#menu-item-11239 > a > span.qodef-menu-item-text:hover::after {
    visibility: visible;
    transform: scaleX(1);
}

/*#menu-item-11239 > a > span.qodef-menu-item-text {
    position: relative;
    color: #AE1832;
    transition: all 0.3s ease;
}

#menu-item-11239 > a > span.qodef-menu-item-text:hover {
    transform: scale(1.1);
    font-weight: bold;
}*/

/*menu blog */
#menu-item-11239 > a > span.qodef-menu-item-text {
  background-color: #AE1832;
  color: white !important;
  padding: 6px 12px;
  border-radius: 4px;
  box-shadow: 0 3px 5px rgba(221, 0, 47, 0.3);
  transition: all 0.3s ease;
}

#menu-item-11239 > a > span.qodef-menu-item-text:hover {
  background-color: #AE1832;
  box-shadow: 0 4px 6px rgba(221, 0, 47, 0.4);
}

#menu-item-11239 > a > span.qodef-menu-item-text::after {
  display: none;
}

.menu-item-11239 > a > span.qodef-menu-item-text:hover {
  background-color: #AE1832;
  box-shadow: 0 4px 6px rgba(221, 0, 47, 0.4);
}

.menu-item-11239 > a > span.qodef-menu-item-text {
  background-color: #AE1832;
  color: white !important;
  padding: 6px 12px;
  border-radius: 4px;
  box-shadow: 0 3px 5px rgba(221, 0, 47, 0.3);
  transition: all 0.3s ease;
}

.menu-item-11239 > a > span.qodef-menu-item-text::after {
  display: none;
}

a.relpost-block-single {
  border: none;
}

.qodef-testimonials-list .qodef-e-author-job {
  display: none;
}

@media only screen and (max-width: 768px) {
  h2.qodef-m-title {
    font-size: 41px;
  }
}
.relpost_card_exerpt {
  display: none;
}

.qodef-blog .qodef-blog-item .qodef-e-title {
  font-size: 42px;
  text-align: left !important;
}

.qodef-custom-post-style .qodef-blog.qodef--single .qodef-e-top-holder {
  text-align: left;
}

.qodef-blog h2 {
  font-family: Cormorant, serif;
  letter-spacing: 0.01em;
  color: #363636;
  font-size: 30px;
  line-height: 1.2em;
  font-weight: 700;
  margin: 25px 0;
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}

.qodef-blog h3 {
  font-family: Cormorant, serif;
  letter-spacing: 0.01em;
  color: #363636;
  font-size: 26px;
  line-height: 1.2em;
  font-weight: 500;
  margin: 25px 0;
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}

h6.qodef-e-title.entry-title {
  font-size: 18px !important;
}

.widget ul:not(.qodef-shortcode-list) {
  list-style: circle;
}
#nav_menu-3 ul:not(.qodef-shortcode-list),#nav_menu-4 ul:not(.qodef-shortcode-list) {
    list-style: none;
}
.qodef-blog.qodef-item-layout--standard.qodef--center-align {
    text-align: left;
}

.line-small {
    line-height: 17px;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
}

.qodef-blog .qodef-blog-item .qodef-e-excerpt {
    display: none;
}

.h3-no-margin {
    margin-bottom: 0px;
}

@media only screen and (max-width: 768px) {
  .elementor-element-a19921e, .elementor-element-a29e69b, 
  .elementor-77 .elementor-element.elementor-element-2b953d2 {
    margin-bottom: 0px;
  }
  
  .elementor-element-a19921e h3,.elementor-element-a29e69b h3, .elementor-element-2b953d2 h3 {
  margin-bottom: 0px;
  }

  .qodef-testimonials-list.qodef-swiper-container .qodef-e-inner {
    padding-bottom: 40px;
  }
  .elementor-9335 .elementor-element.elementor-element-0f38db5 {
    margin-top: 30px !important;
    margin-bottom: 0px !important;
  }

  .qodef-blog .qodef-blog-item .qodef-e-title {
    font-size: 30px;
  }
  #qodef-page-sidebar {
    margin-bottom: 40px;
    margin-top: 0px;
  }
  .single-post #qodef-page-inner,  .elementor-page-2155 #qodef-page-inner {
    padding: 40px 0px 10px;
  }
  .qodef-blog .qodef-blog-item .qodef-e-left {
    display: none;
  }
  #qodef-single-post-navigation {
    
    margin: 0px 0 5px;
   
    padding-bottom: 20px;
}

.qodef-custom-post-style .qodef-blog.qodef--single .qodef-e-title,.qodef-e-info {
  margin-bottom: 20px;
}

#categories-2 {
  margin-top: 40px;
}
.qodef-grid.qodef-gutter--large>.qodef-grid-inner>.qodef-grid-item {
margin-bottom: 0;
}
}

/*new tipo*/
.qodef-blog .qodef-blog-item .qodef-e-title {
  font-size: 30px !important;
  padding: 10px 0px;
  font-weight: 500 !important;
  font-family: "DM Mono", Sans-serif !important;
}
.rs-layer#slider-12-slide-21-layer-0{
  font-size: 40px !important;
  padding: 10px 0px;
  font-weight: 500 !important;
  font-family: "DM Mono", Sans-serif !important;
}



.qodef-blog h2,h2 {
  font-size: 24px;
  font-weight: 500;
}

h3.elementor-heading-title.elementor-size-default,.qodef-blog h3,h3,h3 a {
  font-size: 20px;
  font-weight: 500 !important;
}
.qodef-h4, h4 {
  font-size: 16px;
  font-weight: 500;
}

.qodef-h6 a, h6 a {
  font-size: 12px;
  font-weight: 500;

}
h6 {
  line-height: 11px;
}

.relpost-block-container .relpost_card_title {
  font-weight: 500;
}

.elementor-widget-container,p {
  font-size: 14px;
}

.qodef-blog.qodef-item-layout--standard.qodef-custom-style .qodef-blog-item .qodef-e-title {
  line-height: 22px;
}

@media screen and (max-width: 768px) {
  .qodef-blog .qodef-blog-item .qodef-e-title {
    font-size: 24px !important;
  }

 .rs-layer#slider-12-slide-21-layer-0{
    font-size: 32px !important;
  }

  .page-title h1,h1 {
font-size: 32px !important;
  }
  .qodef-blog h2, h2 {
    font-size: 20px;
  }

  h3.elementor-heading-title.elementor-size-default, 
  .qodef-blog h3, h3, h3 a {
    font-size: 18px !important;
  }

  .qodef-h4, h4 {
    font-size: 14px;
  }

  .qodef-h6 a, h6 a {
    font-size: 11px;
  }

  h6 {
    line-height: 10px;
  }

  .elementor-widget-container, p {
    font-size: 13px;
  }

  .qodef-blog.qodef-item-layout--standard.qodef-custom-style 
  .qodef-blog-item .qodef-e-title {
    line-height: 20px;
  }
}

/* ============================================
   TOC - Table of Contents
   ============================================ */
.dh-toc {
  background: #faf9f7;
  border: 1px solid #e8e4df;
  border-left: 4px solid #AE1832;
  border-radius: 6px;
  padding: 0;
  margin: 0 0 2em;
  font-family: "Archivo", sans-serif;
  overflow: hidden;
}

.dh-toc__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
}

.dh-toc__header:hover {
  background: #f3f0ec;
}

.dh-toc__title {
  font-family: "DM Mono", Sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #363636;
  letter-spacing: 0.02em;
}

.dh-toc__toggle {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.dh-toc__toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #AE1832;
  border-bottom: 2px solid #AE1832;
  transform: translate(-50%, -65%) rotate(45deg);
  transition: transform 0.3s ease;
}

.dh-toc--collapsed .dh-toc__toggle::before {
  transform: translate(-50%, -35%) rotate(-135deg);
}

.dh-toc__list {
  list-style: none;
  counter-reset: toc-counter;
  margin: 0;
  padding: 0 20px 16px;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  max-height: 800px;
  opacity: 1;
  overflow: hidden;
}

.dh-toc--collapsed .dh-toc__list {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.dh-toc__item {
  counter-increment: toc-counter;
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

.dh-toc__item + .dh-toc__item {
  margin-top: 6px;
}

.dh-toc__link {
  display: block;
  padding: 6px 8px 6px 0;
  color: #555;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
  border-bottom: 1px solid transparent;
  position: relative;
}

.dh-toc__link::before {
  content: counter(toc-counter) ". ";
  color: #AE1832;
  font-weight: 600;
  font-size: 12px;
}

.dh-toc__link:hover {
  color: #AE1832;
  padding-left: 4px;
}

.dh-toc__item--sub {
  padding-left: 20px;
}

.dh-toc__item--sub .dh-toc__link {
  font-size: 12px;
  color: #777;
}

.dh-toc__item--sub .dh-toc__link::before {
  font-size: 11px;
  color: #c4727f;
}

.dh-toc__item--sub .dh-toc__link:hover {
  color: #AE1832;
}

/* Target heading highlight */
h2:target,
h3:target {
  animation: dh-toc-highlight 2s ease;
}

@keyframes dh-toc-highlight {
  0% {
    background-color: rgba(174, 24, 50, 0.08);
    border-radius: 4px;
  }
  100% {
    background-color: transparent;
  }
}

/* Responsive TOC */
@media only screen and (max-width: 768px) {
  .dh-toc {
    margin: 0 0 1.5em;
  }

  .dh-toc__header {
    padding: 12px 16px;
  }

  .dh-toc__title {
    font-size: 13px;
  }

  .dh-toc__list {
    padding: 0 16px 12px;
  }

  .dh-toc__link {
    font-size: 12px;
    padding: 5px 6px 5px 0;
  }

  .dh-toc__item--sub {
    padding-left: 14px;
  }

  .dh-toc__item--sub .dh-toc__link {
    font-size: 11px;
  }
}

