.mod-articles-category .mod-articles-item {
  padding-top: 20px; /* Aumenta este valor según lo necesites */
}


.news-divider {
  margin: 10px 0;
  border: none;
  border-top: 1px solid #ccc;
}


/* Añade separación antes de cada título cuando hay múltiples artículos */
.fields-container + .mod-articlesnews__item .newsflash-title {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #ccc;
}

/* Opcional: elimina la línea del primero */
.mod-articlesnews__item:first-child .newsflash-title {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}


iframe[src*="youtube.com"] {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  display: block;
  max-width: 100%;
  object-fit: cover;
  border: none;
}

/* Ajustar contenedores para que no restrinjan el iframe */
.article-content figure.media,
.article-content .media,
.article-full .media {
  max-width: 100%;
  margin: 1rem auto;
}

div.article {
color: #000000;
background-color: rgba(208, 207, 189, 0.9);
}
.article-header h2 a {
    color: #ea0a2a;
align: center;
text-transform: uppercase;
font-weight: bold;
}
a {
    color: #a01211;
}

a:hover{
  color: red;
}

div.article-details {
background-color: rgba(208, 207, 189, 0.9);
padding: 20px;
}
.article-info {
text-decoration:none; 
color:#f4f0ee; 
position: relative; top: 0;	
left: 0;
display: row;
padding: 8px 10px;
font-size: 14px;
line-height: 20px;
font-weight: bold;
text-transform: uppercase;
z-index: 1; background: #a01211;
border-radius: 8px;
}
.article-info>span a {
    color: #ffffff;
font-size: 14px;
line-height: 18px;
}

.article-list .article .readmore a {
    color: #a01211;
    font-weight: 500;
font-size: 16px;
line-height: 20px;
}

.fields-container {
font-weight: 300;
font-size: 16px;
line-height: 22px;
}

.article-header {
font-weight: bold;
align: center;
}
.cat-children {
display: none;
}

#sp-left .sp-module, #sp-right .sp-module {
    margin-top: 50px;
    border: 1px solid #f3f3f3;
    padding-bottom: 50px;
    border-radius: 3px;
background-color: rgba(208, 207, 189, 0.9);
font-size: 16px;
}

.list-group-item {
    position: relative;
    display: block;
    padding: 0.5rem 1rem;
    color: #fff;
    text-decoration: none;
background-color: rgba(208, 207, 189, 0.9);
    border: 1px solid rgba(0,0,0,.125);
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #a01211;
    border-color: #a01211;
}

.page-link {
    z-index: 3;
    color: #fff;
background-color: rgba(208, 207, 189, 0.9);
}

.sp-module-title {
    font-weight: 700;
    font-size: 16px;
    margin: 0 0 30px;
    color: #cc9000;
}

#sp-left .sp-module, #sp-right .sp-module {
    margin-top: 50px;
    border: 1px solid #f3f3f3;
    padding: 10px;
    border-radius: 3px;
background-color: rgba(208, 207, 189, 0.9);
    border-radius: 10px;
}


#sp-left .sp-module .sp-module-title, #sp-right .sp-module .sp-module-title {
    text-decoration: none;
    color: #f4f0ee;
    position: relative;
    top: 0;
    left: 0;
    display: row;
    padding: 8px 10px;
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 1;
    background: #a01211;
    border-radius: 10px;
}

div.article-introtext {
 font-size: 12px;
    line-height: 26px;
  color: #252525;
}

function myFunction() {
    document.getElementsByTagName("article-introtext")[0].removeAttribute("class"); 
}
.carousel-item active {
    display: none;
}
li.content-links-a {
font-size: 16px;
    line-height: 20px;
    font-weight: 700;
  text-decoration:none;
}
li.content-links-b {
font-size: 16px;
    line-height: 20px;
    font-weight: 700;
  text-decoration:none;
}

.article-details .article-header h1, .article-details .article-header h2 {
    font-size: 1.80rem;
}

div.phocadownloadfile32 {
font-size: 12px;
    line-height: 18px;
    font-weight: 700;
    padding: 30px 30px 30px 80px;
}

div.phocadownloadfile32 {
    background: #fdfdfd url(/images/pdf-64.png) 5px center no-repeat;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    padding: 30px 30px 30px 80px;
    border-radius: 25px;
    background-color: transparent;
}
.phocadownloadfile32 {
    background: #fdfdfd url(../images/pdf-64.png) 5px center no-repeat;
    border: 1px solid #cccccc;
    margin: 5px;

}
.n2-ss-slider .n2-ss-layers-container {
    visibility: hidden;
    position: background:relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 20;
    opacity: .001;
    transition: opacity .4s;
    border-radius: 25px;
}

.article-list .article .article-header h1, .article-list .article .article-header h2 {
    font-size: 1.2rem;
    margin: 0 0 1.25rem 0;
}

div.article-introtext {
 font-size: 12px !important;
line-height: 22px;
}

.article-details .featured-article-badge {
    display: none;
}

.article-list .article .featured-article-badge {
    display: none;
}
main#sp-component.col-lg-12 {
background: rgba(208, 207, 189, 0.9);
}

.fbpj-container > canvas {
background: rgba(208, 207, 189, 0.9);
}
#sp-boletines {
    background-color: #333333;
    float: center;
}

.fbpj-floating .fbpj-ui-controls {
    bottom: 0px;
    width: 100%;
    width: 100%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    left: 50%;
    margin: 0 auto;
    display: block;
    display: block;
    border-radius: 0px;
    background-color: #a01211;
   color: #f5f5f5;
}
.fbpj-floating .fbpj-ui-controls {
    border-radius: 5px 0 0 5px;
 background-color: #a01211;
color: #f5f5f5;
}
.fbpj-floating .fbpj-ui-controls > .fbpj-ui-btn:first-child {
    border-radius: 5px 0 0 5px;
background-color: #a01211;
color: #f5f5f5;
}
.fbpj-floating .fbpj-ui-controls > .fbpj-ui-btn:first-child {
    border-radius: 5px 0 0 5px;
background-color: #a01211;
color: #f5f5f5;
}
.fbpj-ui-wrapper.fbpj-ui-controls .fbpj-ui-btn {
    /* display: table-cell; */
    float: none;
background-color: #a01211;
color: #f5f5f5;
}
.more-container .fbpj-ui-btn:hover {
    background-color: rgba(208, 207, 189, 0.9);
color: #252525;
}

.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.2);
    padding: -10px 10px -10px 20px;
    margin: 0px;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Proporción 16:9 */
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container video,
.video-container .html5-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover; /* Elimina márgenes negros si el contenido lo permite */
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-responsive iframe,
.sppb-addon-video iframe {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border: none;
}


/* Por si está dentro de div o addon específico */
.sppb-addon-video iframe,
.sppb-addon iframe {
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

#sp-right .sp-module h4 {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #ccc;
}

/* Opcional: elimina la línea del primer título */
#sp-right .sp-module h4:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

/* Espaciado y línea entre cada artículo del módulo */
.mod-articlesnews__item {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ccc;
}

/* Elimina la línea del último artículo */
.mod-articlesnews__item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

  .mod-articlesnews__item .newsflash-title {
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #a01211;
  text-transform: uppercase;
}

  .fields-container {
  margin-top: 0.5rem; /* o menos si prefieres */
  margin-bottom: 0.5rem;
}

.field-entry {
  margin: 2px 0;
  line-height: 1.2;
  padding: 0;
}
