/* vietnamese */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;a
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/quicksand/v31/6xKtdSZaM9iE8KbpRA_hJFQNcOM.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/quicksand/v31/6xKtdSZaM9iE8KbpRA_hJVQNcOM.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/quicksand/v31/6xKtdSZaM9iE8KbpRA_hK1QN.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/quicksand/v31/6xKtdSZaM9iE8KbpRA_hJFQNcOM.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/quicksand/v31/6xKtdSZaM9iE8KbpRA_hJVQNcOM.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/quicksand/v31/6xKtdSZaM9iE8KbpRA_hK1QN.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/raleway/v34/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVs9pbCFPrEHJA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/raleway/v34/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVs9pbCMPrEHJA.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/raleway/v34/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVs9pbCHPrEHJA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/raleway/v34/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVs9pbCGPrEHJA.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/raleway/v34/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVs9pbCIPrE.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nErXyi0A.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EFD-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nMrXyi0A.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nFrXyi0A.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* hebrew */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nDrXyi0A.woff2) format('woff2');
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin-ext */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nPrXyi0A.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nBrXw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nErXyi0A.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EFD-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nMrXyi0A.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nFrXyi0A.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* hebrew */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nDrXyi0A.woff2) format('woff2');
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin-ext */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nPrXyi0A.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nBrXw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* --- COMMUNALIA ACCESSIBLE + LEGIBLE CORPORATE STYLE --- */

body {
    background-color: #ffffff !important;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #1b1b1b;
}

/* Cabecera */
header {
    background-color: #1b8eed !important;
    color: #ffffff;
}
header a {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.6rem;
}

/* Footer */
footer {
    background-color: #1b8eed !important;
    color: #ffffff !important;
}
footer a {
    color: #ffeeba !important;
}

/* Tarjetas y cajas */
.card, .list-group-item {
    border-radius: 0 !important;
    background-color: #ffffff !important;
    color: #1b1b1b !important;
    border: 1px solid #e0e0e0;
    padding: 1.2rem;
    margin-bottom: 1rem;
}
.card h3, .list-group-item h3 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: #ea2f28 !important;
}
.card p, .card ul, .list-group-item p {
    font-size: 1.0rem;
}

/* Titulares */
h1, h2, .display-4 {
    color: #ea2f28 !important;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
h3 {
    color: #ea2f28 !important;
    font-size: 1.3rem;
}

/* Enlaces */
a {
    color: #1b8eed;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
a.ref {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Fondos corporativos */
.bg-main {
    background-color: #1b8eed !important;
    color: #ffffff !important;
}
.bg-secondary {
    background-color: #ea2f28 !important;
    color: #ffffff !important;
}
.bg-main a, .bg-secondary a {
    color: #ffeeba !important;
}

/* Bloques RSS y Telegram */



/* Cajas de menú */
.list-group-item.bg-light {
    background-color: #ffffff !important;
    color: #1b8eed !important;
}
.list-group-item.bg-light a {
    color: #1b8eed !important;
    text-decoration: none;
}


/* Titulares enlazados en páginas internas */
.card h3 a, .list-group-item h3 a {
    color: #ea2f28 !important;
    font-weight: 700;
}

/* Portada: forzar fondo blanco, texto oscuro en main */
main.container {
    background-color: #ffffff !important;
    color: #1b1b1b !important;
}

/* Secciones por posición en portada */
main.container > section > .row > .col-md-8 > .card:first-child h3,
main.container > section > .row > .col-md-4 > .card:first-child h3 {
    color: #1b8eed !important; /* Azul para primeras secciones */
}
main.container > section > .row > .col-md-8 > .card:nth-child(2) h3,
main.container > section > .row > .col-md-4 > .card:nth-child(2) h3 {
    color: #ea2f28 !important; /* Rojo para las siguientes */
}

/* Títulos destacados en portada */
main h2, main h3 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}


/* --- CORRECCIÓN FINAL SEGÚN INSTRUCCIONES --- */

/* Portada: cajas fondo blanco, título rojo, enlaces azules */
main.container .card {
    background-color: #ffffff !important;
    color: #1b1b1b !important;
    border: 1px solid #ddd;
}
main.container .card h3 {
    color: #ea2f28 !important;
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
    font-size:2rem;
}
main.container .card a {
    color: #1b8eed !important;
    font-weight: 500;
}

/* Páginas interiores */
body:not(.homepage) h2, body:not(.homepage) .display-4 {
    color: #ea2f28 !important;
}
body:not(.homepage) h3 a {
    color: #ea2f28 !important;
}



/* List-group-item en portada: fondo blanco, texto negro, enlaces azul */
main.container .list-group-item {
    background-color: #ffffff !important;
    color: #1b1b1b !important;
}
main.container .list-group-item a {
    color: #1b8eed !important;
    text-decoration: none;
}
main.container .list-group-item a:hover {
    text-decoration: underline;
}

/* Aumentar tamaño de h3 en portada */
main.container h3 {
    font-size: 1.5rem;
}

/* Aumentar tamaño de h2/display-4 en páginas interiores */
body:not(.homepage) h2,
body:not(.homepage) .display-4 {
    font-size: 2.4rem;
}


/* Corrección de visibilidad en <li> de RSS y Telegram */
ul#rss-updates li,
ul#telegram-updates li {
    background-color: #ffffff !important;
    color: #1b1b1b !important;
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
}
ul#rss-updates li a,
ul#telegram-updates li a {
    color: #1b8eed !important;
    font-weight: 500;
    text-decoration: none;
}
ul#rss-updates li a:hover,
ul#telegram-updates li a:hover {
    text-decoration: underline;
}


/* --- Accordion (FAQ) corporativo --- */
.accordion .card {
    border-radius: 0 !important;
    border: 1px solid #ccc;
    background-color: #ffffff;
}
.accordion .card-header {
    background-color: #1b8eed !important; /* azul corporativo */
    color: #fff !important;
}
.accordion .card-header button {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    text-decoration: none;
    color: #ffffff !important;
}
.accordion .card-header button.collapsed {
    color: #ffffff !important;
}
.accordion .collapse {
    background-color: #ffffff;
}
.accordion .card-body {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2rem;
    color: #1b1b1b;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}


/* Portada: alineación en columna derecha */
main.container .col-md-4 .list-group-item.bg-light {
    border: none !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* Portada: reducir espacio vertical entre ítems en columna derecha */
main.container .col-md-4 .list-group-item.bg-light {
    margin-bottom: 0.25rem !important;
}


/* Portada: eliminar bordes en items generados dinámicamente */
#rss-updates .list-group-item,
#telegram-updates .list-group-item {
    border: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0.25rem !important;
}


/* Blogs: eliminar bordes e indentación en ítems de feeds */
ul[id$="-posts"] .list-group-item {
    border: none !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0.25rem !important;
}


/* Portada: reducir espacio vertical entre enlaces de cajitas columna derecha */
main.container .col-md-4 .list-group-item.bg-light a {
    display: block;
    margin-bottom: 0.25rem !important;
}

/* Blogs: reducir espacio vertical entre entradas de feed */
ul[id$="-posts"] .list-group-item a {
    display: block;
    margin-bottom: 0.25rem !important;
}.list-group-item


