
.pem_skyscraper {
    padding-bottom: 15px;
}

.border-dashed-botton{border-bottom: 1px dashed #ccc;}

.article-det-page .article-title h1 {
    font-size: 3.5rem;
}

.article-det-page .article-desc {
    display: block;
    font-size: 2.2rem;
    padding-bottom: 20px;
}

.article-author {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: var(--theme-primary);
    text-transform: uppercase;
    padding-right: 4px;
}
.article-det-page figure{width: 100%!important;}
@media (min-width: 768px) {
    
    .article-det-page .article-image picture,
    .article-det-page figure picture {
      height: 510px; /* o el alto fijo que quieras */
      overflow: hidden;
    }
    .article-det-page .article-image picture img,
    .article-det-page figure picture img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      border-radius: 5px;
      display: block;
    }
}
@media (max-width: 767px) {
    .article-det-page .article-image picture,
    .article-det-page figure picture {
      height: auto; 
      overflow: visible;
      display: block;
    }
    .article-det-page .article-image picture img,
    .article-det-page figure picture img {
      width: auto;
      height: auto;
      max-width: 100%;
      border-radius: 5px;
      display: block;
    }
    .grid{align-items:start;padding:15px 0}
}

.article-det-page .article-info .article-author,
.article-det-page .article-info .article-date {
    font-size: 1.2rem;
}

.article-det-top {
    padding-top: 15px;
}

.social-media-share {
    display: block;
    border-bottom: 1px solid #cdcdcd;
    position: fixed;
    left: 0;
    border-right: 1px solid #cdcdcd;
    border-top: 1px solid #cdcdcd;
    padding: 15px 10px;
    z-index: 9999;
    background: #ffffff;
    width: auto;
}

.social-media-share a svg {
    width: 38px;
    height: 38px;
}

.img-caption p {
    font-size: 1.4rem;
    font-family: 'Roboto', sans-serif;
    letter-spacing: .5px;
    color: #5f5f5f;
    font-weight: 500;
    padding-top: 4px;
}

blockquote {
    background: #f9f9f9;
    border-left: 10px solid #b71d21;
    margin: 20px 0;
    padding: 20px;
    font-style: italic;
    color: #555;
    position: relative;
    font-size: 2.2rem;
}

blockquote p {
    margin: 0;
    padding: 0!important;
    line-height: 1.2!important;
}

blockquote strong {
    display: block;
    margin-top: 10px;
    font-weight: 300;
    color: #2c3e50;
    font-style: normal;
    padding-bottom: 0!important;
    border-top: 1px solid #e3e2e2;
    padding-top: 5px;
}
blockquote br{display: none;}

figcaption {
    font-size: 1.8rem;
    color: #555;
    font-style: italic;
    margin-top: -2px;
    padding: 0.5rem 1rem;
    line-height: 1.4;
    background: #f9f9f9;
    border-left: 4px solid #ccc;
    border-radius: 0 0 12px 12px;
}

/* blockquote:before {
    content: "";
    font-size: 40px;
    color: #3498db;
    position: absolute;
    top: -10px;
    left: 10px;
}

blockquote:after {
    content: "❞";
    font-size: 65px;
    color: #b71d21;
    position: absolute;
    bottom: -5px;
    right: 28px;
} */

blockquote p:before, blockquote p:after {
    content: '';
}

.article-title {display: block;}

.article-body {
    font-size: 2rem;
    line-height: 2.5rem;
    /*padding-top: 30px;*/
    font-weight: 500;
}
.article-body img{
    width: 100%;
    height: auto;
}
.article-body a {font-size: 1.8rem; color:rgba(194, 9, 9, 0.89)!important; text-decoration: underline;text-decoration-color: rgba(194, 9, 9, 0.89);}
.article-body figure a::after, .article-body figcaption a::after{
    display: none;
}
.article-body a::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 5px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="rgba(194, 9, 9, 0.89)"><path d="m13 3 3.293 3.293-7 7 1.414 1.414 7-7L21 11V3z"/><path d="M19 19H5V5h7l-2-2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-5l-2-2v7z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.article-body h2 {
    line-height: 3rem;
}

.article-body ul {list-style: disc; padding-left: 15px;}
.article-body ul li{font-size: 1.8rem;padding-bottom: 10px;}

.article-body p,
.article-body strong,
.article-body strong span {
    line-height: 2.5rem;
    font-size: 2rem;
    padding-bottom: 30px;
    text-align: justify;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.article-body strong span {
    padding-bottom: 0;
}

.article-body h2 strong {
    display: block;
    font-size: 2.5rem;
    padding: 0 0 20px 0;
    line-height: normal;
}

.article-body h3, .article-body h3 strong {
    display: block;
    font-size: 2.5rem;
    padding: 0 0 20px 0;
    line-height: normal;
}
.article-body h3 span{
    display: block;
    font-size: 2.5rem;
    padding: 0;
    line-height: normal;
}

.article-body h2 {
    font-size: 2.5rem;
    padding: 32px 0 0;
}

.article-body .arrow-up {
    background-color: #f3d6d6;
    font-style: italic;
    color: #B71D21;
    display: flex;
    padding: 10px 12px;
    font-size: 1.8rem;
}

/* .article-body > iframe, .article-body p > iframe {
    display: block!important; 
    margin: 0 auto!important; 
    align-content: center!important;
    width: auto!important; 
    min-width: 500px!important;
} */
.article-body > iframe,
.article-body p > iframe {
    display: block !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    /*height: auto;*/
}

/* Opcionalmente, aplicar un min-width solo en pantallas grandes */
@media (min-width: 768px) {
    .article-body > iframe,
    .article-body p > iframe {
        min-width: 500px !important;
        width: auto !important;
    }
}

.twitter-tweet, .twitter-tweet-rendered{margin: 15px auto;}

.tags {
    width: 100%;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #cdcdcd;
}

.tags-title {
    font-size: 2.2rem;
    font-family: 'Roboto', sans-serif;
    padding-bottom: 2px;
    margin-bottom: 10px;
}

.tags-container {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 7px;
}

.tag-item {
    font-family: 'Century Gothic', sans-serif;
    padding: 5px 22px;
    margin-bottom: 4px;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    color: #000000;
    font-weight: 500;
    text-transform: capitalize;
    transition: all 0.3s ease;
    background: #e3e3e3;
    font-size: 1.3rem;
}
.tag-item:hover {
    background-color: #c4161c;
    color: white;
    border-color: #c4161c;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, .6);
    display: none;
    z-index: 100;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal_content {
    position: relative;
    max-width: 500px;
    width: 100%;
    max-height: calc(100vh - 5rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: white;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-text {
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: black;
    transition: transform 0.2s;
    text-decoration: none;
    margin-bottom: 15px;
}

.share-button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    transition: transform 0.2s;
    text-decoration: none;
    margin-bottom: 15px;
}

.share-button:hover {
    transform: scale(1.2);
    background-color: #fff;
    color: black;
}
.facebook {background-color: #3b5998;}
.facebook:hover {background-color: #8b9dc3;}

.twitter {background-color: #1DA1F2;}
.twitter:hover {background-color: #9CD3F9;}

.url_lnk {background-color: #444444;}
.url_lnk:hover {background-color: #757575;}

.whatsapp {background-color: #25D366;}
.whatsapp:hover {background-color: #6FE590;}