/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


/*===================================================================== variables =====================================================================*/
:root {
      --color-principal: #001871;
      --color-secundario: #509E2F;
      --color-blanco: #ffffff;
      --color-gris: #999999;
      --color-negro: #000000;
    }
 
 /*===================================================================== Logotipo Red - cabecera =====================================================================*/
 
 .logo-red {
      display: flex;
      align-content: center;
      justify-content: center;
      padding: 5px;    
 }
 
 .logo-red__link {
     line-height:0;    
 }
 
 .logo-red__imagen {
     max-width: 105px;
 }
 
    
/*===================================================================== Imágenes destacadas de páginas y entradas =====================================================================*/

.featured-image {
    position: relative;
    margin: auto;
    max-width: 1200px;
    height: calc(1200px * 9 / 16) !important;
    border-bottom: 4px solid var(--color-secundario);
}
.featured-image img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center;
}

@media only screen and (max-width: 1200px) {
    .featured-image {
        width: 100%;
        height: calc(100vw * 9 / 16) !important;
    }    
 }
@media only screen and (max-width: 768px) {
    .featured-image {
        width: 100%;
        height: calc(100vw * 9 / 16) !important;
    }
}   
@media only screen and (max-width: 576px) {
    .featured-image {
        width: 100%;
        height: calc(100vw * 3 / 4) !important;
    }    
 }
