
/* NUEVA SECCIÓN PUBLICACIONES */

/* PAGINA PRINCIPAL */

:root {
    --color: var(--casi-negro);
    --txt: white;
}

.publicaciones .main-title {
    font-size: 24px!important; 
    font-weight: 700;
    margin-bottom: 20px;
    width: 50%;
    margin-left: auto;
}


.publicaciones .main-title-cat {
    font-size: 50px!important; 
    font-weight: 700;
    margin-bottom: 20px;
}

.publicaciones .main-title-cat span {
    font-size: 16px!important; 
    font-weight: 400;
    display: block;
}

.date-big {
    letter-spacing: -0.07em; 
    font-size: 50px!important; 
    font-weight: 700;
    margin-top: 0!important
}

.cat-date {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgb(239, 239, 239);
    padding: 20px;
    color: #000;
}

.cat-date .date-big {
    text-align: center;
}

.cat-date small {
    font-size: 15px;
}

.image-case,
.image-case-cat {
    overflow: hidden;
}

.image-case .thumbnail {
    height: 400px;
    width: 100%;
    object-fit: cover;
    object-position: top;
    transform-origin: top left;
    transition: transform 0.5s ease-in-out;
}

.image-case .thumbnail:hover {
    transform: scale(1.2);
    transform-origin: top left;
    transition: transform 0.5s ease-in-out;
}

.image-case-cat .thumbnail {
    height: 400px;
    width: 100%;
    object-fit: cover;
    object-position: top left;
    transform-origin: top left;
    transition: transform 0.5s ease-in-out;
}

.image-case-cat .thumbnail:hover {
    transform: scale(1.2);
    transform-origin: top left;
    transition: transform 0.5s ease-in-out;
}

.articulos-recientes h4 {
    font-weight: 700;
    font-size: 18px;
}

.articulos-recientes hr {
    width: 25%;
    height: 2px;
    
}

.related-post-publications h6 {
    position: relative;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.related-post-publications small {
    position: relative;
    font-size: 1.5rem;
}

.related-post-publications h6::before {
    position: absolute;
    content: ">";
    top: 50%;
    left: -5%;
    transform: translateY(-50%);
    font-size: 2rem;
    line-height: 1.4;
    font-weight: 100;
}

.post-publications .card-text p {
    font-size: 16px;
}

.post-publications .card-text {
    margin-bottom: 30px;
}

.text-bg-primary {
    color: #fff !important;
    background-color: var(--red-color) !important
}

.pagination span.page-link,
.pagination a.page-link {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.card-title {
    font-size: 32px!important;
    font-weight: 700 !important;
    margin-bottom: 20px;
}

.cta.categories {
    display: block;
    font-size: 14px;
    width: fit-content!important;
    margin-left: auto!important;
    margin-top: 12px;
    background-color: var(--txt)!important;
    color: var(--color)!important;
}

.cta.categories:hover {
    color: var(--txt)!important;
    background-color: var(--color)!important;
}

.related-post-publications h6 {
    position: relative;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.related-post-publications small {
    position: relative;
    font-size: 1.5rem;
}

.related-post-publications h6::before {
    position: absolute;
    content: ">";
    top: 50%;
    left: -5%;
    transform: translateY(-50%);
    font-size: 2rem;
    line-height: 1.4;
    font-weight: 100;
}

.post-publications p {
    font-size:16px; 
    margin-top: 30px; 
    margin-bottom: 30px;
}

.post-publications h2 {
    font-size:32px;
    margin-top: 50px;
    font-weight:700!important;
}

.post-publications h3 {
    font-size:24px;
    font-weight:700!important;
}

.post-publications h1 {
    font-size:40px;
    font-weight:700!important;
}

.post-publications img {
    max-width: 100%;
    height: fit-content;
}

.post-publications a:not(.cta) {
    color: rgba(0, 0, 0, 0.8);
}

.post-publications a:not(.cta):hover {
    color: rgba(0, 0, 0, 1);
}

.TOC {
    background-color: var(--casi-blanco);
    padding: 3rem;
}

.simpletoc-title {
    font-size:24px;
    font-weight:700;
    margin-bottom: 30px;
    margin-top: 0!important;
}

.simpletoc-list a{
    font-size:16px;
    margin-bottom: 10px!important;
    display: block;
    text-decoration: none;
}

.simpletoc-list li > ul > li a{
    font-weight: 400!important;
    color: rgba(0, 0, 0, .8) !important;
    transition: 0.3s ease-in-out;
}

.simpletoc-list li > ul > li a:hover{
    font-weight: 400!important;
    color: rgba(0, 0, 0, 1) !important;
    transition: 0.3s ease-in-out;
}

.simpletoc-list li > ul li {
    list-style-type: none;
    position: relative;
    padding-left: 10px;
}

.simpletoc-list li > ul li::before {
    content: '-';
    margin-right: 5px;
    position: absolute;
    left: -5px;
}

.simpletoc-list li > a{
    font-weight: 700!important;
    color: rgba(0, 0, 0, 1) !important;
}

.articulos-recientes h4 {
    font-size:24px;
    font-weight:700!important;
}



@media (max-width: 991px) { 
    .publicaciones .main-title {
        font-size: 24px!important; 
        font-weight: 700;
        margin-bottom: 20px;
        width: 100%;
        margin-left: auto;
    }
}