@font-face {
    font-family: "Roboto";
    src: url("./fonts/Roboto/Roboto-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Roboto";
    src: url("./fonts/Roboto/Roboto-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Roboto";
    src: url("./fonts/Roboto/Roboto-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Roboto";
    src: url("./fonts/Roboto/Roboto-BoldItalic.ttf") format("truetype");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Roboto";
    src: url("./fonts/Roboto/Roboto-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Roboto";
    src: url("./fonts/Roboto/Roboto-LightItalic.ttf") format("truetype");
    font-weight: 300;
    font-style: italic;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Roboto";
    src: url("./fonts/Roboto/Roboto-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Roboto";
    src: url("./fonts/Roboto/Roboto-BlackItalic.ttf") format("truetype");
    font-weight: 900;
    font-style: italic;
    font-display: swap;
  }
  
  @font-face {
    font-family: "RobotoSlab";
    src: url("./fonts/RobotoSlab/RobotoSlab-VariableFont_wght.ttf") format("truetype");
    font-display: swap;
  }
  





* ,
*:before,
*:after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

:root {
    --background: #fdfff6;
    --main: #090C9B;
    --main1:#f0f0fb;
    --main2: #ECECFE;
    --main3: #d8d8fd;
    --main35: #9FA0FA;
    --main4: #5052c0e3;
    --main55: #0a0c94;
    --main6: #232270;
    --main7: #04064D;
    --main8: #03043A;
    --contrary: #2D60FA;
    --black: #3C3744;
    --bk: rgb(241, 241, 241);
    --wt: rgb(242, 242, 242);
    --black: rgb(18, 29, 46);
    --wt-hover: rgb(234, 232, 232);
}

.header-wrapper,
.content-wrapper {
    width: 90%;
    margin: 0 auto;
}

body {
    width: 100%;
    height: 100%;
    position: relative;
    font-family: "Roboto";
    font-size: 17px;
    
}

/* COMMON */

header {
    display: flex;
    height: 4rem;
    width: 100%;
    position: relative;
    position: fixed;
    background-color: var(--background);
    top: 0;
    z-index: 10;
}

.header-wrapper {
    height: inherit;
    display: flex;
    justify-content: space-between;
}

.header-wrapper .header-logo {
    max-height: inherit;
    display: flex;
    align-items: center;
    position: relative;
}

header .header-logo a {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    cursor: pointer;
}

.header-logo p {
    font-size: 1.5rem;
    font-weight: 500;
    color: rgb(64, 59, 59);
    font-family: 'RobotoSlab';
}

.header-logo img {
    width: 2rem;
}

header .header-wrapper .header-logo .logo-title {
    font-family: 'RobotoSlab';
    font-weight: 600;
}

.header-logo p i {
    color: rgb(64, 59, 59);
}

.header-nav {
    height: 100%;
    display: flex;
    align-items: center;
}

.header-nav .nav-img,
.header-nav #toggle-menu {
    display: none;
}

.header-nav nav ul {
    display: flex;
    height: inherit;
    align-items: center;
    justify-content: end;
    gap: 1rem;
}

.header-nav nav ul li {
    margin: 0 0 0 1rem;
    height: 40%;
    border-radius: 6px;
    font-weight: 700;
    color: rgb(18, 29, 46);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

.header-nav nav ul li img {
    pointer-events: none;
}

.header-nav nav ul li a.high {
    background-color: var(--contrary);
    color: var(--background);
    border: none;
    padding: .5rem 1.5rem .5rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    width: max-content;
}

.header-nav nav ul li a.high:hover {
    background-color: rgb(255, 191, 0);
    color: var(--black);
    transform: scale(1.05);
}

.main.input {
    display: none;
}

header .dropdown-navbar {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 34px;
    left: 0;
    width: 100%;
    align-items: center;
    padding-top: 2px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 14px 35px 0 rgba(9, 9, 12, 0.4);
    background-color: var(--main6);
    transition: max-height 200ms ease-out, opacity 200ms ease-out;
}

header .main.input:checked~.dropdown-navbar {
    max-height: 90vh;
    opacity: 1;
    overflow-y: auto;
    pointer-events: auto;
}

header .header-nav li {
    position: relative;
    display: flex;
    transition: filter 200ms ease;
}

header .header-nav li img {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    transition: filter 200ms ease;
    pointer-events: none;
}

header .header-nav li label {
    cursor: pointer;
    text-align: left;
    z-index: 4;
    border-radius: 6px;
    padding: 0.5rem 1.5rem 0.5rem 10px;
    transition: background-color 200ms, color 200ms, font-weight 200ms, border-radius 200ms;
}

.header-nav nav ul li input:checked~label {
    background-color: var(--main7);
    color: var(--background);
    font-weight: 600;
    border-radius: 6px 6px 0 0;
}

.header-nav nav ul li:hover {
    background-color: var(--main7);
    color: var(--background);
    font-weight: 600;
}

.header-nav nav ul li label:hover~img,
.header-nav nav ul li input:checked~img {
    filter: invert(100%) brightness(2) contrast(100);
}

/* Estilos para los enlaces dentro del dropdown */
header .dropdown-navbar a {
    color: var(--main2);
    font-weight: 400;
    text-decoration: none;
    border-radius: 4px;
    padding: 6px 6px 6px 10px;
    width: 99%;
    transition: background-color 200ms, color 200ms, font-weight 200ms;
}

/* Estados hover y active para los enlaces del dropdown */
header .dropdown-navbar a:hover,
header .dropdown-navbar a:active {
    background-color: rgb(255, 191, 0);
    color: var(--main8);
    font-weight: 700;
}

/* Personalización de la barra de desplazamiento en navegadores WebKit */
header .dropdown-navbar {
    --sb-track-color: #50555d;
    --sb-thumb-color: #4f50b3;
    --sb-size: 7px;
}

header .dropdown-navbar::-webkit-scrollbar {
    width: var(--sb-size);
}

header .dropdown-navbar::-webkit-scrollbar-track {
    background: var(--sb-track-color);
    border-radius: 2px;
}

header .dropdown-navbar::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color);
    border-radius: 2px;
}

/* Para navegadores que no soportan ::-webkit-scrollbar */
@supports not selector(::-webkit-scrollbar) {
    header .dropdown-navbar {
        scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
    }
}















    main {
        background-color: var(--background);
        height: 100%;
        min-height: 100vh;
        display: flex;
        justify-content: center;
        margin-top: 2rem;
        padding: 4rem 0 2rem 0;
    }

    main .content-wrapper {
        display: grid;
        grid-template-areas:
            "info info daily"
            "blog blog daily"
            "aside aside daily"
            "blank blank daily";
        grid-template-columns: 1.5fr 1.5fr 1.2fr;
        grid-template-rows: auto auto auto 1fr;
        gap: 1rem;
        margin: 0 auto;
       align-items: start;
       place-items: initial;
       align-content: stretch;
    }

    .content-wrapper section {
        border-radius: 10px;
    }























    /* Estilo para la sección info */
    .content-wrapper .info {
        grid-area: info;
        background-color: var(--main2);
        border-radius: 10px;
        border: #D7E3FC 0.2px solid;
        overflow: hidden;
        color: var(--black);
        display: grid;
        grid-template-areas:
            "info-img description  description"
            "info-img details details"
            "info-img details details"
            "info-img boe-link boe-link";
        grid-template-columns: 1.1fr 1fr 1fr;
        gap: 12px;
        padding: 1rem 1rem 0rem 1rem;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
    }

    .info.item .description {
        grid-area: description;
        padding: 0 1rem 0 0;
        margin-bottom: 8px;
        font-size: 15px;
    }

    .info.item .title {
        font-size: 30px;
        font-weight: bold;
        color: var(--main6);
        margin: auto auto 8px 1rem;
    }

    .info.item .text {
        margin: 0 0 8px 1rem;
        color: var(--black);
        text-align: justify;
        line-height: 1.3;
    }

    .info.item .info-img {
        width: 99%;
        height: 99%;
        object-fit: cover;
        grid-area: info-img;
        border-radius: 10px;
        opacity: .98;
    }

    .info.item .details {
        list-style: none;
        padding: 0;
        margin: 0;
        grid-area: details;
        display: flex;
        flex-wrap: wrap;
        /* Permite que los elementos se envuelvan a la siguiente línea */
        gap: .5rem;
        margin-left: 1rem;
        width: 100%;
    }

    .info.item .details li {
        flex: 1 1 calc(33.333% - .5rem);
        max-width: calc(33.333% - 1rem);
        padding: 12px;
        border-radius: 5px;
        background-color: var(--main3);
        color: var(--main);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.2rem;
        min-height: 4rem;
        max-height: 5rem;
        box-sizing: border-box;
    }

    .info.item .details li#plazas{
        display: flex;
    }

    .info.item .details li img {
        width: 50px;
    }

    .info.item .details li span.plazas {
        font-weight: bolder;
        width: fit-content;
        text-align: center;
        margin-left: 8px;
        flex-grow: .2;
    }

    .info.item .details li p {
        margin: 0;
        text-align: left;
        font-size: 15px;
        font-weight: 600;
        padding-left: 4px;
        width: 65%;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    

    .content-wrapper .info.item .details li#entidad p {
       line-clamp: 4;
    }

    .info.item .details li strong {
        font-weight: bold;
    }

    .info.item .boe-link {
        grid-area: boe-link;
        font-size: 15px;
        text-decoration: none;
        margin-top: 1rem;
        max-width: calc(33.333% - 1.4rem);
        width:calc(33.333% - 1.4rem);
        color: var(--main2);
        font-weight: bold;
        transition: color 0.3s ease;
        padding: .6rem 16px;
        border-radius: 5px;
        background-color: var(--main4);
        place-self: end end;
        border: var(--main5) .8px solid;
        margin-right: 1rem;
        text-align: center;
        position: relative;
    }



    .info.item .boe-link:hover {
        background-color: var(--main);
        color: var(--background);
    }
















    /*COMMON */

    section.daily {
        grid-area: daily;
        padding: 0 0 15px 0;
        background-color: var(--background);
        border-radius: 12px;
        margin-left: 1.3rem;
    }

    section.daily .social {
        display: flex;
        justify-content: start;
        align-items: center;
        height: 1rem;
        margin: 1rem 1rem 2.5rem 1rem;
        position: relative;
        gap: 10px;
    }

    section.daily .social p {
        font-weight: 400;
        color: rgb(60, 60, 60);
        margin-right: .5rem;
    }

    section.daily .social .icon {
        display: inline-block;

        background-size: contain;

        background-repeat: no-repeat;

        text-decoration: none;

        z-index: 9;
        width: 100%;
        height: 100%;
    }

    section.daily .social div {
        height: 2rem;
        width: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgb(243, 242, 236);
        border-radius: 6px;
        overflow: hidden;
    }

    .social .telegram-container {
        padding: 3px;
    }

    .social .telegram {
        background-image: url('./img/telegram.svg');
        background-position: center;
    }

    .social .instagram-container {
        padding: 4.3px;
    }

    .social .instagram {
        background-image: url('./img/instagram.svg');
        background-position: center;
    }

    .social .mail-container {
        padding: 4.7px;
    }

    .social .mail {
        background-image: url('./img/mail.svg');
        background-position: center;
        /* Centra la imagen */
    }

    .daily .social div:hover {
        background-color: rgb(219, 218, 211);
    }

    .social::before {
        content: "";
        width: 100%;
        position: absolute;
        height: 1px;
        background-color: rgba(149, 149, 149, 0.138);
        bottom: -24px;
    }

    section.daily .daily-title-container {
        display: flex;
        align-items: center;
        margin-left: .7rem;
        margin-bottom: 20px;
        margin-top: 3rem;
    }

    
section.daily .daily-title-container img {
    margin-right: .2rem;
}

    section.daily .daily-title-container input {
        display: none;
    }

    section.daily .daily-title-container img {
        margin-right: .5rem;
    }

    section.daily .title {
        font-size: 1.5rem;
        text-align: left;
        color: var(--main);
        font-weight: bold;
    }

    #oposiciones-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .ficha {
        background-color: var(--background);
        /* border: 1px solid var(--main3); */
        border-radius: 10px;
        padding: 10px 15px 10px 20px;
        transition: transform 0.2s, box-shadow 0.2s;
        position: relative;
        overflow: hidden;
    }

    .ficha::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(9, 12, 155, 0.1);
        border-radius: 10px;
        z-index: 0;
        transition: opacity 0.3s;
        opacity: 0;
    }

    .ficha:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .ficha:hover::before {
        opacity: 1;
    }

    p.ficha-subtitle {
        font-size: .64rem;
        color: var(--main);
        margin-bottom: 6px;
        font-weight: 5000;
    }

    .ficha-title {
        font-size: 1rem;
        margin-bottom: 6px;
        color: var(--main8);
        z-index: 1;
        position: relative;
    }

    .ficha-info {
        list-style-type: none;
        padding: 0;
        margin: 0;
        color: var(--black);
        margin-left: 2px;
    }

.ficha .links a{
    text-align: center;
}

    .ficha-info li {
        margin-bottom: 3px;
        font-size: 0.8rem;
    }
   .links .ficha-link {
        display: inline-block;
        margin-top: 6px;
        text-decoration: none;
        font-size: .8rem;
        font-weight: bold;
        padding: 6px 15px;
        border-radius: 5px;
        background-color: var(--main3);
        color: var(--main);
        transition: background-color 0.2s, color 0.2s;
        z-index: 1;
        position: relative;
        margin-right: 6px;
    }
    
    
  .links  .boe-link {
        display: inline-block;
        margin-top: 6px;
        text-decoration: none;
        font-size: .8rem;
        font-weight: bold;
        padding: 6px 15px;
        border-radius: 5px;
        background-color: var(--background);
        border: 1px solid rgb(168, 168, 227);
        color: var(--main);
        transition: background-color 0.2s, color 0.2s;
        z-index: 1;
        position: relative;
        margin-right: 6px;
    }
    
    
    .ficha-link:hover {
        background-color: var(--main35);
        color: var(--main);
        text-decoration: none;
    }
    
   .links .boe-link:hover{
        background-color: var(--main55);
        color: var(--background);
        text-decoration: none;
    }
    

    #oposiciones-container p.error-fichas {
        padding: .8rem .4rem;
        width: 90%;
        margin: 10px 10px 10px 20px;
        color: rgba(167, 101, 30, 0.419);
        background-color: rgba(255, 212, 126, 0.296);
        border-radius: 4px;
        border: rgba(135, 124, 103, 0.043) 1px solid;
        font-size: .9rem;
        text-align: center;
    }






































    .blog {
        grid-area: blog;
        text-align: justify;
        color: #302d34;
        padding: 1.5rem 12px 0 12px;
        position: relative;
        overflow: hidden;
        align-self: stretch;
        margin-bottom: 1rem;
    }
    
    
    .blog .intro p.nota {
        color: rgb(162, 162, 162);
        font-size: 16px;
        position: relative;
        margin-bottom: 4px;
    }

    .blog h1 {
        font-size: 36px;
        line-height: normal;
        color: var(--main55);
        margin-bottom: 40px;
        position: relative;
        line-height: 1.2;
        text-align: left;
    }

    .blog h1::before{
        content:"";
        position: absolute;
        max-width: 100px;
        width: 20%;
        height: 5px;
        background-color: var(--main55);
        top: 100%;
        transform: translateY(1rem);
            }


    .blog h2 {
        margin-top: 44px;
        margin-bottom:20px;
        color: var(--main1);
        font-size: 30px;
        font-weight: bold;
        line-height: 2.1rem;
        text-align: left;
        line-height: 1.2;
        background-color:var(--main4);
        padding: 6px 6px 6px 10px;
        border-radius: 2px;
    }


.blog h3{
font-size: 24px;
color: var(--main4);
margin-bottom: 14px;
margin-top: 32px;
text-align: left;
line-height: 1.2;
}
  

.blog h4{
    font-size:19px;
    font-weight: bolder;
    color: var(--main);
    margin-bottom: 10px;
margin-top: 28px;
text-align: left;
line-height: 1.2;
}


  

.blog h5{
    font-size:19px;
    font-weight: bolder;
    color: var(--main);
    margin-bottom: 10px;
margin-top: 28px; 
text-align: left;
line-height: 1.2;
}
    .blog .intro {
        margin-bottom: 2rem;
    }


    .blog p {
        margin-bottom: 24px;
        line-height: 1.6;
        word-spacing: 2px;
        color: #292929;
        text-align: justify;
    }


    .blog a {
        color: var(--main4);
        text-decoration: underline;
        padding: 1px 4px;
        background-color: rgb(240, 195, 80);
        border-radius: 1px;
        font-weight: 700;
    }

    .blog a:hover {
        color: var(--main55);
        background-color: rgb(255, 209, 125);
    }

    .blog ul {
        margin-top: 1rem;
        margin-left: 20px;
        margin-bottom: 1.5rem;
    }

    .blog ul li {
        margin-bottom: 12px;
        display: list-item;
        list-style: disc outside none;
        display: list-item;
        margin-left: 1em;
        line-height: 1.5;
    }

    

.blog ul.requisitos {
    counter-reset: gradient-counter;
   
    margin: 1.75rem 0;
    padding-left: 1rem;
  }
  
  .blog ul.requisitos > li {
    list-style: none !important;
    background: rgba(233, 233, 233, 0.415);
    border: 1px solid rgb(226, 226, 226);
    border-radius: 0 0.5rem 0.5rem 0.5rem;
    counter-increment: gradient-counter;
    margin-top: 1rem;
    min-height: 3rem;
    padding: 1rem 1rem 1rem 3rem;
    position: relative;
  }
  .blog ul.requisitos > li::before,
  .blog ul.requisitos > li::after {
    background: linear-gradient(135deg, #65f4cd 0%, #4799e9 100%);
    border-radius: 1rem 1rem 0 1rem;
    content: '';
    height: 3rem;
    left: -1rem;
    overflow: hidden;
    position: absolute;
    top: -1rem;
    width: 3rem;
  }
  
  .blog ul.requisitos > li::before {
    align-items: flex-end;
    box-shadow: 0.25rem 0.25rem 0.6rem rgba(0, 0, 0, 0.05), 0 0.5rem 1.125rem rgba(75, 0, 0, 0.05);
    content: counter(gradient-counter);
    color: rgb(18,29,46);
    display: flex;
    font: 900 1.5em/1 'Roboto';
    justify-content: flex-end;
    padding: 0.125em 0.25em;
    z-index: 1;
  }
  
  
  
  .blog ul.requisitos > li + li {
    margin-top: 2rem;
  }

    .blog strong,
    .blog b {
        color: var(--main55);
    }

    .blog figure {
        align-self: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .blog figure img {
        max-width: 40%;
    }

    /*TABLE*/
    table::-webkit-scrollbar {
        height: 12px;
    }

    table::-webkit-scrollbar-track {
        background: rgba(224, 224, 224, 0.548);
    }

    table::-webkit-scrollbar-thumb {
        background-color: rgba(113, 113, 113, 0.418);
        border-radius: 20px;
    }

    .blog .table-wrapper {
        display: flex;
        flex-direction: column;
        align-items: start;
        margin-top: 40px;
        border-radius: 3px;
        overflow-x: auto;
        max-width: 1400px;
        margin: 0 auto;
        padding: 8px;
    }

    table {
        border: none !important;
        display: block;
        font-size: 1rem;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
    }

    th {
        text-align: center;
    }

    td {
        text-align: center;
    }

    td,
    th {
        border-collapse: collapse;
        padding: 10px;
        caption-side: bottom;
        margin: 0;
        box-sizing: border-box;
    }

    thead th {
        background-color: var(--main6);
        color: rgb(241, 241, 241);
    }

    tr.focus {
        background: rgb(239, 239, 239);
    }

    tfoot {
        background: rgba(163, 241, 37, 0.591);
    }

    p.caption-table,
    figcaption {
        padding: 0;
        margin-top: .9rem;
        font-size: 15px;
        margin-left: 5px;
        font-weight: 500;
        margin-bottom: 20px;
        line-height: 16px;
        color: #534d5c;
    }




















    /*COMMON */
    section.aside {
        grid-area: aside;
        margin-top: 12px;
        border-radius: 8px;
        padding: 0px 20px 20px 20px;
        align-self: start;
    }

    .blog-title-container {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

    .blog-title-container img.blog-icon {
        margin-right: 0.5rem;
    }

    section.aside h2 {
        text-align: left;
        color: var(--main);
        /* Color del título más sutil */
        font-weight: 600;
        /* Grosor del texto */
    }

    .blog-posts {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        /* Ajustar el tamaño mínimo de las columnas */
        gap: 30px 40px;
    }

    .post {
        border: 1px solid var(--main3);
        /* Borde sutil en color de la marca */
        border-radius: 8px;
        overflow: hidden;
        transition: transform 0.2s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
        height: 350px;
        /* Fijar altura para mantener la forma cuadrada */

        background-color: transparent;
        /* Hacer el fondo del post transparente */
        border: none;
        /* Remover el borde, ya que queremos que la imagen sea el foco */
        position: relative;
        /* Posiciona el contenedor para superponer otros elementos */
        height: 300px;
        /* Mantener altura fija para la forma cuadrada */
    }

    .post:hover {
        transform: translateY(-2px);
        /* Elevación ligera */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .post-image {
        height: 100%;
        /* Hacer que ocupe el 100% de la altura del post */
        overflow: hidden;
    }

    .post-image {
        opacity: .92;
    }

    .post-image img {
        width: 100%;
        object-fit: cover;
        /* Asegura óptima visualización */
    }

    .post-content {
        padding: 15px 15px 35px 15px;
        position: absolute;
        /* Posiciona el contenido sobre la imagen */
        bottom: 0;
        /* Alinea el contenido en la parte inferior */
        left: 0;
        right: 0;
        background-color: #fbfff1df;
        /* Fondo blanco semitransparente */
        border-radius: 0 0 8px 8px;
        /* Bordes redondeados en la parte inferior */
    }

    .post-title {
        font-size: 1rem;
        color: var(--main6);
        margin-bottom: 4px;
    }

    .post-date {
        font-size: 0.64rem;
        color: var(--black);
    }

    .post-excerpt {
        margin: 8px 0;
        color: var(--black);
        font-size: .8rem;
        display: none
    }

    .post-link {
        display: inline-block;
        margin-top: 10px;
        text-decoration: none;
        color: var(--main7);
        font-weight: 700;
        background-color: var(--main2);
        padding: 7px 15px;
        border-radius: 4px;
        text-align: center;
        transition: background-color 0.2s ease;
        position: absolute;
        right: 15px;
        bottom: 10px;
    }

    .post-link:hover {
        background-color: var(--main4);
        /* Color suave al pasar el cursor */
        color: var(--background);
    }

    .footer {
        background-color: #333;
        color: #fff;
        padding: 20px 0;
    }



















    .footer-content {
        display: flex;
        justify-content: center;
        max-width: 1200px;
        margin: 0 auto;
    }

    .footer-section {
        flex: 1;
        padding: 0 20px;
        margin-bottom: 8px;
        display: flex;
        justify-content: center;
    }

    .footer-section.header {
        flex-direction: column;
    }

    .footer-section p.header-footer {
        font-size: 1.5rem;
        margin-bottom: 10px;
        font-weight: 700;
    }

    .footer-section p {
        margin-bottom: 5px;

        margin: 0 auto;
        width: fit-content;
    }

    .footer-section a {
        color: gray;
        font-size: .8rem;
    }

    .social-icons li {
        margin-right: 10px;
    }

    .social-icons a {
        color: #fff;
        text-decoration: none;
        font-size: 1.2rem;
    }

    .footer-bottom {
        background-color: #222;
        text-align: center;
        padding: 10px 0;
    }

    .footer-bottom p {
        margin: 0;
    }

    footer .social {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 1rem;
        margin: 1rem 1rem 2.5rem 1rem;
        position: relative;
        gap: 6px;
        margin-top: 1rem;
        height: 3rem;
    }

    footer .social p {
        font-weight: 200;
        font-size: 1rem;
        color: rgb(201, 201, 201);
        margin-right: .3rem;
    }

    footer .social .icon {
        display: inline-block;

        background-size: contain;

        background-repeat: no-repeat;

        text-decoration: none;

        z-index: 9;
        width: 100%;
        height: 100%;
    }



    footer .social div {
        height: 2rem;
        width: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: wheat;
        border-radius: 6px;
        overflow: hidden;
    }

    footer .social .telegram-container {
        padding: 3px;
    }

    footer .social .telegram {
        background-image: url('./img/telegram.svg');
        background-position: center;
    }








    @media only screen and (max-width: 1439px) {
        main .content-wrapper {
            display: grid;
            grid-template-areas:
            "info info daily"
            "blog blog daily"
            "aside aside daily"
            "blank blank daily";
            grid-template-columns: auto auto 320px;
            align-items: start;
       place-items: initial;
       align-content: stretch;
        }
       
        
        /*COMMON */

        
        .daily {
            margin-left: .5rem;
            padding-left: .5rem;
      
                max-height: 100%;
                overflow-y: auto;
       
        }

        





    .info.item .details li {
        padding: 6px;
    }

    .info.item .details li img {
        width: 48px;
        padding: 2px;
    }

    .info.item .details li p {
      font-size: 14px;
    }

.info.item .boe-link{
    max-width: calc(33.333% - .9rem);
        width:calc(33.333% - .9rem);
   


    }
    }


    @media only screen and (max-width: 1279px) {
     
        .header-nav nav ul li {
            margin: 0 0 0 .6rem;
       
        }
        
     

        .header-wrapper,
        .content-wrapper {
            width: 93%;
            margin: 0 auto;
        }

       
        section.daily {
            margin-left: .8rem;
        }

        section.daily .social p{
            font-size: 15px;
        }


        /*special */
        main .content-wrapper {
            grid-template-areas:
            "info info daily"
            "blog blog daily"
            "aside aside daily"
            "blank blank daily";
            align-items: start;
            place-items: initial;
            align-content: stretch;
            grid-template-columns: auto auto 300px;
            gap: 1rem;
            margin: 0 auto;
        }

        .content-wrapper .info {

            grid-template-areas:
                "info-img description description"
                "details details details"
                "details details details"
                "boe-link boe-link boe-link";
            grid-template-columns: 1fr 1fr 1fr;
            padding: 10px;
        }

        .info.item .details {
            margin-left: 0;
            justify-content: start;
            gap: 1rem;
            display: flex;
            flex-wrap: wrap;
            align-items: stretch;
            margin: auto 0 ;
            justify-content: start;
            width: 100%;
            height: fit-content;
            z-index: 3;   
        }

        .info.item .details li {
            min-width: calc(33% - 10px);
        }

        .info.item .boe-link {
            margin-top: 6px;
            margin-right: 5px ;
        }


    }

    @media only screen and (max-width: 1023px) {

 /* COMMON */
 div.header-nav  nav  ul{
    gap: 1rem;
 }

        .header-nav nav ul li {
            padding: 4px 24px 4px 4px;
            margin: 0;
        }

        header .header-nav li label {
    padding: 0px;
    max-width: 6.6rem;
        }

        header .dropdown-navbar{
            top: 44px;
        }

        .blog p{
line-height: 1.5;
margin-bottom: 18px;
        }

        .blog h1{
            font-size: 36px;
        }

        .blog h2{
            font-size: 28px;
            margin: 32px 0 12px;
        }

        .blog h3{
     margin: 26px 0px 10px;
        }

        .blog h4{
            margin: 20px 0px 8px;
        }

        .blog h5{
            margin: 20px 0px 8px;
        }


        section.daily {
            margin-left: 0;
        }

        section.daily .social{
margin: 12px 12px 36px;
gap: 6px;
        }

        section.daily .social div{
        padding: 2px;
                    }
            
      

        .daily .social p{
            font-size: 14px;
        }
        section.daily .daily-title-container{
            margin: 40px 0px 18px 11.2px;
        }

        

#oposiciones-container{
    gap: 14px;
}

        .ficha{
            display: flex;
            flex-direction: column;
            min-height: 100%;
            padding: 8px 12px 8px 20px;
        }

      
        
    p.ficha-subtitle {
        font-size: .64rem;
        color: var(--main);
        margin-bottom: 4px;
    }


    .ficha-info {
        margin-left: 2px;
        margin-bottom: 6px;
    }
    

    .ficha-info li:first-child {
       display: none;
    }

    .ficha .links {
        margin-top: auto;
        display: flex;
        gap: 8px;
      }


        /* SPECIAL */
        main .content-wrapper {
            display: grid;
            grid-template-areas:
            "info info daily"
            "blog blog daily"
            "aside aside daily"
            "blank blank daily";
            grid-template-columns: 2fr 2fr 1.5fr;
     

        }

        .content-wrapper .info {
            display: grid;
            grid-template-areas:
                "info-img description  description"
                "info-img details details"
                "info-img details details"
                "blank boe-link boe-link";
            grid-template-columns: .8fr 1fr 1fr;
            gap: .4rem;
            padding: .5rem ;
            box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
        }

        .info.item .details {
            gap: .4rem
        }

        .info.item .title,
        .info.item .text,
        .info.item .details {
            margin-left: 10px ;
            margin-right: 8px;
        }

        .info.item .title {
            font-size: 24px;
        }
    
        .info.item .text {
           font-size: 15px;
            line-height: 1.3;
        }
        
        .info.item .details {
            display: flex;
            gap: 0.6rem;
            z-index: 3;
            margin: auto 0;
            flex-wrap: wrap;
            padding: 5px;
            align-items: stretch;
            justify-content: start;
            width: 100%;
            height: fit-content;
        }

        .info.item .details li {
            min-width: calc(50% - 0.4rem);
            padding: 4px 8px 4px 8px;
            min-height: 3.5rem;
            max-height: 5rem;
            gap: 0.1rem;
           
        }

        .info.item .details li img {
            margin-right: 10px;
            width: 44px;
        }

        .info.item .boe-link {
            margin-top: 6px;
            min-width: calc(50% - 0.5rem)
        }

      

       

    }

    @media only screen and (max-width: 767px) {

    /* COMMON */ 
        main {
            margin-top: 1rem;
        }

        header {
            height: 3.5rem;
            z-index: 10;
        }

        .header-nav .nav-img {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 8px;
        }

        .header-nav .nav-img img {
            width: 1.9rem;
        }

        .header-nav nav {
            position: absolute;
            right: 15rem;
            opacity: 0;
            visibility: hidden;
            top: 3.5rem;
            transform: translateX(100%);
            transition: opacity 0.3s ease, transform 0.3s ease;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .header-nav nav::-webkit-scrollbar,
        .header-nav nav ul::-webkit-scrollbar,
        .header-nav nav ul li::-webkit-scrollbar,
        .header-nav nav ul .dropdown-navbar::-webkit-scrollbar {
            display: none !important;
        }

       
        .header-nav #toggle-menu:checked~nav {
            visibility: visible;
            display: flex;
            flex-direction: column;
            transform: translateX(0);
            right: 0;
            width: 100%;
            height: 100vh;
            opacity: 1;
            overflow-y: auto;
            pointer-events: auto;
            background: linear-gradient(180deg, var(--background) 30%, #f7f5f5 100%);
            transition: all 0.3s ease;
            z-index: 2;
        }

        .header-nav nav ul {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: start;
            width: 100%;
            margin-top: 1rem;
            padding: 1rem 5% 0 5%;
            padding-bottom: 1rem;
            overflow-y: auto;
        }

        .header-nav nav ul li {
            position: relative;
            display: grid;
            grid-template-areas:
                "button button"
                "dropdown dropdown";
            width: 100%;
            box-sizing: border-box;
            height: fit-content;
            border: 1px solid var(--main);
            margin: 0.5rem 0;
            padding: 0;
            color: var(--main4);
            font-size: 1.3rem;
            max-width: 100%;
        }
        .header-nav nav ul li  label{
            max-width: 100%;
            padding: 12px 8px 12px 8px;
        }
        .header-nav nav ul li.high {
            background-color: inherit;
            color: var(--main4);
            font-weight: 600;
            border: none;
            width: 100%;
          
        }

        .header-nav nav ul li.high a {
            padding: 0.9rem 1rem;
            min-width: 40vw;
        }

        .header-nav li img {
            position: absolute;
            top: 1.2rem;
            right: 1rem;
            height: 2.6rem;
            width: 2rem;
            pointer-events: none;
        }

        .header-nav li label {
            grid-area: button;
            width: 100%;
            height: 100%;
            display: block;
            padding: 0.9rem 1rem;
        }

        .header-nav nav ul li input:active~label,
        .header-nav nav ul li input:checked~label {
            background-color: var(--main7);
            color: var(--background);
            font-weight: 600;
            border-radius: 6px 6px 0 0;
        }

        .header-nav nav ul li input:checked~img {
            filter: invert(100%) brightness(2) contrast(100);
        }

        header .dropdown-navbar {
            grid-area: dropdown;
            display: flex;
            flex-direction: column;
            position: relative;
            top: 0;
            left: 0;
            width: 100%;
            max-height: 0;
            opacity: 0;
            overflow: hidden;
            pointer-events: none;
            border-radius: 0 0 4px 4px;
            box-shadow: 0 0 0 0;
            transition: all 200ms linear;
            background-color: rgb(246, 246, 246);
            align-items: center;
            padding-top: 7px;
        }

        header .dropdown-navbar a {
            font-size: 1.1rem;
            color: var(--main);
            font-weight: 500;
            position: relative;
            width: 100%;
            padding: 8px 6px 6px 16px;
            display: block;
            text-decoration: none;
        }

        header .dropdown-navbar a::before {
            position: absolute;
            content: "";
            opacity: 0.3;
            background-color: var(--main35);
            width: 100%;
            height: 0.1rem;
            margin-left: -14px;
            top: 97%;
            z-index: 4;
        }

        header .dropdown-navbar a::after {
            content: "ℹ️";
            position: absolute;
            right: 5%;
            font-size: 0.9rem;
            transform: translateY(-50%);
            top: 50%;
            opacity: 0.7;
        }

        header .dropdown-navbar a:hover,
        header .dropdown-navbar a:active {
            background-color: rgb(255, 191, 0);
            color: var(--main8);
            font-weight: 700;
        }

        .header-nav .dropdown-navbar a:first-child {
            padding-top: initial;
        }

        section.blog#article{
            margin-top: 0;
        }

        
section.daily{
    border: 1px solid var(--main1);
    padding: 20px !important;
    background-color: rgba(168, 186, 226, 0.1);
}



        #oposiciones-container {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: space-evenly;
            height: 0;
            opacity: 0;
            transition: all .4s ease;
            position: relative;
            overflow: hidden;
            margin-bottom: 0;
        }

        #oposiciones-container .ficha {
            width: 45%;
            background-color: rgba(168, 186, 226, 0.143)
        }

        section.daily .social {
            margin-left: 0;
        }
        section.daily .social p{
           font-size: 16px;
        }

        section.daily .daily-title-container {
            display: flex;
            align-items: center;
            justify-content: start;
            margin-bottom: 24px;
            width: 100%;
            margin-left: 0;
            padding-left: 0;
        }


        #oposiciones-container p.error-fichas {
            padding: .8rem .4rem;
            margin: 10px 3px;
            color: rgba(167, 101, 30, 0.419);
            background-color: rgba(255, 212, 126, 0.296);
            border-radius: 4px;
            border: rgba(135, 124, 103, 0.043) 1px solid;
            font-size: .9rem;
            text-align: center;
        }

        section.daily .show-fichas {
            background-image: url('./img/plus.svg');
            width: 28px;
            height: 28px;
            background-repeat: no-repeat;
            background-size: contain;
            background-color: var(--main4);
            border-radius: 50px;
            transition: all .2s ease-out;
            justify-self: start;
            align-self: center;
            margin-left: 2rem;
            margin-right: auto;
            background-position: center center;

        }

        section.daily #check-show-fichas:checked~.show-fichas {
            background-image: url('./img/remove.svg');
            background-color: var(--main);
        }

        #oposiciones-container.expanded {
            height: min-content;
            transform: translateY(0);
            opacity: 1;
        }

        section.daily,
        section.blog,
        section.aside {
            margin-left: 0;
            padding-left: .2rem;
            padding-right: .2rem;
            margin-top: 0;
        }

    

       

        
        /* SPECIAL */
        main .content-wrapper {
            display: grid;
            grid-template-areas:
                "info  info"
                "daily  daily"
                "blog blog"
                "aside aside";
            grid-template-columns: 1.5fr 1fr;
       
        }

        .blog ul.requisitos > li::before,
        .blog ul.requisitos > li::after {
          height: 2.5rem;
          left: -1rem;
          top: -1rem;
          width: 2.5rem;
        }

    }

    @media only screen and (max-width: 599px) {




        /*COMMON */
        main {
            padding-top: 54px;
        }

#oposiciones-container{
    justify-content: space-between;
}

#oposiciones-container .ficha{
    width: 48%;
}

h3.post-title {
    font-size: 18px;
}


p.post-date{
    font-size: 14px;
}

p.ficha-subtitle{
    font-size:14px;
}

      /* SPECIAL */
        .content-wrapper .info {
            grid-template-areas:
                "blank  blank"
                "description  description"
                "details  details"
                "boe-link boe-link";
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr auto auto auto;
            gap: .4rem;
            padding: .5rem .5rem .7rem .5rem;
            box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
            position: relative;
            height: calc( 100vh - 150px);
        }

        .info.item .overlay {
            background: linear-gradient(180deg,
                    hsla(0, 0%, 0%, 0) 0%,
                    hsla(0, 0%, 0%, 0.075) 10%,
                    hsla(279, 68%, 11%, 0.602) 40%,
                    hsla(281, 78%, 7%, 0.904) 100%);
            position: absolute;
            width: 100%;
            height: 100%;
            z-index: 2;
        }

        .info.item .description {
            grid-area: description;
            z-index: 3;

                padding: 0 8px 0 8px;
            
        }

        .info.item .title {
            font-size: 1.8rem;
            font-weight: bold;
            color: var(--background);
            margin: 0 0 12px 0 ;
            position: relative;
        }

        .info.item .text {
            font-size: 1rem;
            margin: 0 0 20px 0 ;
            color: var(--background);
            text-align: justify;
            line-height: 1.3;
            padding: 0;
        }

        .info.item .info-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            grid-area: info-img;
            border-radius: 10px;
            opacity: .7;
            position: absolute;
            z-index: 1;
        }

        .info.item .details {
            display: flex;
            gap: 0.5rem;
            z-index: 3;
            margin: auto 0 ;
            flex-wrap: wrap;
            padding: 5px;
            align-items: stretch;
            justify-content: start;
            width: 100%;
            height: fit-content;
        }

        .info.item .details li {
            min-width: calc(50% - 0.3rem);
            padding: 8px 4px 8px 6px;
            border-radius: 5px;
            max-height: 100%;
            background-color: #c7c7f3de;
            color: var(--main);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.5rem;
            box-sizing: border-box;
            overflow: hidden;
        }

        .info.item .details li p {
            text-align: left;
        }

        .info.item .boe-link {
            z-index: 3;
            width:  calc( 50% - .6rem);
            max-width: 50%;
            margin-right: 5px;
            text-align-last: center;
            font-size: 1rem;
        }

        section.blog,
        section.aside {
            margin-top: 0;
            margin-bottom: 0;
            padding-top: 0;
        }

        .ficha .links{
            flex-wrap: wrap;
            gap: 8px;
         
        }

        .ficha .links a{
            margin: 0;
           
        }

        
      
    }

    @media only screen and (max-width: 479px) {
/*COMMON */

        section.daily .social {
            margin-left: .5rem;
        }

        
        section.daily .social p{
            font-size: 16px;
        }
        section.daily .social div{
            width: 30px;
            height: 30px;
            min-width: 30px;
            min-height: 30px;
        }

        section.daily .social .telegram-container{
            padding: 1.5px;
        }

        #oposiciones-container .ficha {
            width: 96%;
        }

        section.daily p.title{
           flex-grow: 1;
           width: fit-content;
           font-size: 22px;
        }

        section.daily .show-fichas{
          margin-left: 1rem;

         }

         .ficha .links {
            display: flex;
            flex-wrap: nowrap;
         }

         
        .blog-posts {
            grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
            /* Ajustar el tamaño mínimo de las columnas */
            gap: 30px 40px;
        }

        section.blog h1{
 font-size: 30px;
        }

        section.blog h2 {
        font-size: 24px;
        
        }

        section.blog  h3{
     font-size: 22px;
        }

        
        section.blog  h4{
    font-size: 20px;
        }
  
        section.blog  h5{
            font-size: 20px;
        }

        .blog p {
       font-size: 18px;
        }

        section.blog,
        section.aside {
            margin-left: 0;
            padding-left: 0;
            padding-right: 0;
        }


        /* SPECIAL */
      
section.info.item{
    height: calc( 100vh - 180px);
    gap: .5rem;
}

.info.item .description{
    margin-bottom: 0px;
    padding: 0 8px 0 8px;
}

.info.item .title {
    margin: 0 0 0px 0;
    }

.info.item .description p.text{
    display: none;
   /* margin-bottom: 6px;
    line-height: 1.25;*/
}

.info.item ul.details{
    padding: 6px 4px 4px 6px;
    }

    .info.item ul.details li {
gap: 0;
justify-content: initial;
    }

    .info.item .details li span.plazas {
        width: 48px;
        min-width: 48px;
        margin-left: 0;  
        flex-grow: 1;
    }

    .info.item ul.details li img{
        width: 48px;
padding: 0;
margin-right: 0;
    }
    
    .info.item ul.details li p{
        font-size: 13px;
        padding-left: 8px ;
        }

        .info.item .overlay {
            background: linear-gradient(180deg,
                    hsla(0, 0%, 0%, 0) 0%,
                    hsla(0, 0%, 0%, 0.075) 10%,
                    hsla(279, 69%, 11%, 0.446) 40%,
                    hsla(282, 77%, 7%, 0.818) 100%);
            position: absolute;
            width: 100%;
            height: 100%;
            z-index: 2;
        }

        
    

.blog ul.requisitos {
    margin: 2rem 0;
    padding-left: .5rem;
  }
  
  .blog ul.requisitos > li {
    margin-top: 1rem;
    min-height: 3rem;
    padding: .5rem 1rem .5rem 2.3rem;
    position: relative;
  }
  .blog ul.requisitos > li::before,
  .blog ul.requisitos > li::after {
    height: 2.5rem;
    left: -1rem;
    top: -1rem;
    width: 2.5rem;
  }
  
  .blog ul.requisitos > li::before {
    content: counter(gradient-counter);
    color: rgb(18,29,46);
    padding: 0.25em 0.25em
  }
  
  .blog ul.requisitos > li + li {
    margin-top: 2rem;
  }




    }

    @media only screen and (min-height: 90px) and (max-width: 479px)  {
        section.info.item {
            height: calc( 100vh - 200px);
        }
    }
    

