* {
    margin: 0;
    padding: 0;
    /*font-weight: 400;*/
    font-style: normal;
    font-family: Montserrat;
    /*line-height: 54px;*/
    --header-height: 80px;

    --max-width: 1120px;
    --min-width: 1120px;

    --general-width: 100vw;
    --general-width: max(min(85vw, 1320px), 1122px);   
}

.visible {
    display: block;
}

.hidden {
    display: none;
}

h1 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.4em;
}

h2 {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.4em;
}

h3 {
    /* titulos de articulos */
    /* 2do nivel de titulos*/
    font-size: 25px;
    font-weight: bold;
    line-height: 1.4em;
}

p {
    font-size: 18px;
    text-align: left;
    line-height: 1.5em;
}

strong {
    font-weight: bold;
}

html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    /*overflow-x: hidden;*/
}

body {
    /*line-height: 1.5;*/
    line-height: normal;
    margin: 0;
    width: 100%;
    height: 100%;
    /*overflow-x: hidden;*/
    /*justify-items: center;*/

    li {
        /*width: 90%;*/
        margin: 0 auto;
    }
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: var(--header-height) auto 0 auto;
    @media only screen and (min-width:1120px) {
        width: var(--general-width);
    }

    @media only screen and (max-width:1120px) {
        width: var(--general-width-mob);
    }
}

a {
    text-decoration: none;
    color: black;
}

.mob {

    @media only screen and (min-width:1120px) {
        display: none;
    }

    @media only screen and (max-width:1120px) {
        display: block;
    }
}

.pc {
    @media only screen and (min-width:1120px) {
        display: block;
    }

    @media only screen and (max-width:1120px) {
        display: none;
    }
}



.shown {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Header */

    header {
        background-color: var(--header-bg);
        z-index: 10000; /* Ensure header stays on top */
        width: 100vw;
        height: var(--header-height);
        box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.15);
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: center;

        line-height: 0;
    
        position: fixed;
        top: 0;
        left: 0;
        overflow: visible;
    }

    #header-wrapper {
        display: flex;
        align-items: center;
        flex-direction: row;

        @media only screen and (min-width:1120px) {
            width: var(--general-width);
        }

        @media only screen and (max-width:1120px) {
            width: 100%;
        }


    }


/* top menu */

#logo-container {
    width: 25%;
}

#navmenu {
    width: 75%;
    line-height: var(--header-height);
}

#imagen-logo {
    max-height: var(--header-height);
    
    @media only screen and (max-width:1120px) {
        margin-left: var(--side-blank-mob);
    }
}


#menu {
    @media only screen and (min-width:1120px) {
        display: flex;
        flex-direction: row;
        line-height: 44px;
        justify-content: space-evenly;
    }
}

nav ul {
    list-style-type: none;
}

nav ul li {
    @media only screen and (min-width:1120px) {
        display: inline;
        margin: 0 0 0 10px;
        font-size: 13px;
    }
}

nav ul li a {
    color: black;
    text-decoration: none;

    @media only screen and (max-width:1120px) {
        margin: 10px 0;
        font-size: 13px;
    }
}

#content-wrapper {
    display: flex;
    margin: 15px 0 0 0;

    @media only screen and (max-width:1120px) {
        padding: 0;
        flex-direction: column;
        width: auto;
    }
}

/* excerpt (distributor & article) */
/* excerpt */
.excerpt-wrapper {

    @media only screen and (min-width:1120px) {
        max-width: var(--general-width);
    }

    display: flex;
    margin: 15px auto;
    color: black;

    flex-direction: column;
    min-width: 100%;
}

.main-title {
    font-size: 36px;
    font-weight: bold;
    /*margin-top: 15px;*/
    margin-bottom: 15px;
}

.excerpt-text {
    padding: 0 0 20px 0;

}

.excerpt {
    margin-bottom: 15px;
}

.share-icons-cont {
    margin-top: 20px;
}


/* article boxes */
    /* article-details */
        .article-details {
            display: flex;
            flex-direction: row;
            width: 100%;
            padding-bottom: 7px;
        }

        .article-details.main {
            text-align: center;
            justify-content: center;
        }

        .article-details-item {
            margin: 0 20px 0 0 ;
            font-size: 14px;
        }

    /* main-article-box */
    .main-article-box {
        background-color: #dddddd;
        padding: 15px; 

        @media only screen and (max-width:1120px) {
            width: 100%;
            padding: 15px 0;
        }

        a {
            text-decoration: none;
            color: black;
            font-weight: bold;
        } 

        h3 {
            padding: 0px 10px;
        }
    }

    .main-article-box.dist{
        width: 100%;
    }

    .main-article-box.home{
        @media only screen and (min-width:1120px) {
            width: 50%;
        }
    }

    .main-article-contents {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 90%;
        margin: 0 auto;
        @media only screen and (max-width:1120px) {
            padding-bottom: 20px;
        }
    }

    .main-article-title h3 {
        margin: 0.5em 0 0.5em 0;
        text-align: center;
        width: 100%;
    }

    .main-article-img-cont {
        /*width: 600px;
        height: 600px;*/
        margin: auto;

        img {
            object-fit: cover;
            height: auto;
            width: 100%
        }

        @media only screen and (max-width:1120px) {
            width: 90%;
            height: auto;
            text-align: center;
        }
    }

    /* article-box */
    .article-box {
        display: flex;
        flex-direction: column;

        a {
            text-decoration: none;
            color: black;
        }

        p {margin: 10px 0;}

        @media only screen and (min-width:1120px) {
            flex-basis: 100%;
        }
    }

    .article-contents {
        @media only screen and (max-width:1120px) {
            margin: 20px auto 10px auto;
            width: 90%;
        }
    }

    .article-title{
        h3 {
            font-weight: normal;
        }
    }

    .sub-articles {
        display: flex;
        justify-content: space-between;
        @media only screen and (min-width:1120px) {
            margin-top: 20px;
        }
        @media only screen and (max-width:1120px) {
          display: block;
        }
      }

    .sub-article {
        h2 {
            margin: 10px 0;
        }
        img {
            width: 100%;
            height: auto;
        }
    }

    .article-cta {
        font-size: 0.8rem;
        font-weight: bold;
        color: var(--excerpt-bg);
        a {
            text-decoration: none;  
        }
        :hover {
            color: var(--header-bg);
        }
    }


/* botón all articles*/
.home-all-articles-cont{
    width: 100%; 

    @media only screen and (min-width:1120px) {
        margin: 0;
    }       

    @media only screen and (max-width:1120px) {
        margin: 15px 5px;
    }       

}

/* footer */
footer {
    color: white; 
    background-color: var(--dark-bg);
    display:flex;
    flex-direction: column;
    align-items: center;
}

.risk-warning {
    width: var(--general-width);
    padding: 20px 0;
    p {font-size: 12px;}
}


/* provider banners */

.provider-banner {
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
}


/* decoradores */

.rec {
    width: 241px;
    height: 0px;
    position: relative;
    margin-top: 5px;
}

.excerpt-decorator::after {
  content: "";
  position: absolute;
  transform: translateX(0%);
  width: var(--general-width); 
  border-bottom: 1px solid #ccc; 
  z-index: -1;
  @media only screen and (min-width:1120px) {
    width: var(--general-width);
  }
  @media only screen and (max-width:1120px) {
    width: var(--general-width-mob);
  }
}

.excerpt-dec {
    border: 6px solid var(--excerpt-bg);
}

.excerpt-bg {
    background-color: var(--excerpt-bg);
}

.horizontal-dec {
    margin: 15px 0;
    left: 15;
    height: 15px;
}

.horizontal-dec-3 {
    margin: 15px 0;
    left: 15;
    height: 45px;
}







.platform-logo {
  height: auto;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.15);
  border-radius: 13px;
}

.platform-logo.small{
  width: 60px;
  height: 60px;
}   