/*
    Estilos para el diseño de Miradas 2025 sobre el tema Twenty Twenty-Five de Wordpress.
*/

/* HEADER */

main.post-detail .post-detail-header {
    height: 600px;
  
    display: flex;
    flex-direction: column;
    justify-content: end;
  
    font-family: sans-serif;
    font-size: 45px;
  }
  
  @media (max-width: 500px) {
    main.post-detail .post-detail-header {
      height: auto;
    }
  }
  
  main.post-detail .post-detail-header > figure {
    position: absolute;
    aspect-ratio: initial !important;
    height: 600px;
    width: 100%;
  }
  
  @media (max-width: 500px) {
    main.post-detail .post-detail-header > figure {
      position: static;
      height: auto;
    }
  }
  
  main.post-detail .post-detail-header > h1,
  main.post-detail .post-detail-header > div {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: fit-content !important;
  }
  
  main.post-detail .post-detail-header h1 {
    z-index: 10;
    background-color: white;
    padding-left: 40px;
    padding-right: 40px;
  
    font-family: sans-serif;
    letter-spacing: -1px;
    font-size: 1em;
    font-weight: 800;
    color: #000000;
  }
  
  @media (max-width: 500px) {
    main.post-detail .post-detail-header h1 {
      font-size: 0.5em;
    }
  }
  
  main.post-detail .post-detail-header > div {
    z-index: 10;
    background-color: white;
    padding-left: 40px;
    padding-right: 40px;
    margin-bottom: 25px !important;
  }
  
  main.post-detail .post-detail-header > div a,
  main.post-detail .post-detail-header > div span.wp-block-post-terms__separator,
  main.post-detail .post-detail-header > div p {
    font-family: sans-serif;
    font-size: 2em;
    font-weight: 300;
    color: #464444;
    text-decoration: none;
  }
  
  @media (max-width: 500px) {
    main.post-detail .post-detail-header > div a,
    main.post-detail
      .post-detail-header
      > div
      span.wp-block-post-terms__separator,
    main.post-detail .post-detail-header > div p {
      font-size: 1em;
    }
  }
  
  main.post-detail .post-detail-header .wp-block-post-author-name {
    margin-left: 0.5em;
  }
  
  main.post-detail .post-detail-header .wp-block-group p:nth-of-type(2) {
    display: none;
  }
  
  main.post-detail
    .post-detail-header
    .wp-block-group
    div.taxonomy-category::before {
    content: "|";
    position: relative;
    right: 0.5em;
    font-size: 30px;
    color: #464444;
  }
  
  main.post-detail .post-detail-header .wp-block-group div.taxonomy-category {
    margin-left: 2em;
  }
  
  /* CONTENT */
  
  main.post-detail .post-detail-content {
    font-size: 38px;
  }
  
  main.post-detail .post-detail-content .entry-content {
    padding-top: 20px;
    font-family: sans-serif;
    font-size: 0.5em;
  
    display: flex;
  }
   
  main.post-detail .post-detail-content .entry-content h1 {
    font-size: 1.7em;
  }
  
  main.post-detail .post-detail-content .entry-content h2 {
    font-size: 1.6em;
  }
  
  main.post-detail .post-detail-content .entry-content h3 {
    font-size: 1.5em;
  }
  
  /* LEGACY CONTENT LAYOUT */
  
  #legacy-post-content-columns {
    display: flex;
    gap: 30px;
    width: 100%;
    margin: 0 !important;
    max-width: initial;
  }
  
  #legacy-post-content-columns .legacy-post-content-columns-html-column {
    line-height: 1.8em;
  }
  
  #legacy-post-content-columns .legacy-post-content-columns-html-column :first-child {
    margin-top: 0;
  }
  
  #legacy-post-content-columns .legacy-post-content-columns-images-column {
    font-size: 1.3em;
  }
  
  