

.areas-cnt {
    float: left;
    width: 100%;
    padding: 60px 0 70px;
    background: #fff;
}
@media screen and (min-width: 1024px) and (max-width: 1279px) {
    .areas-cnt {
        padding: 40px 0 40px;
    }
}

.areas-cnt .areas-cnt-lft {
    float: right;
    width: 74%;
    padding-left: 70px;
}
.trans-list {
    width: 100%;
    float: left;
    padding-right: 42px;
}
@media screen and (min-width: 1024px) and (max-width: 1279px) {
    .areas-cnt .areas-cnt-lft {
        padding-left: 30px;
    }
}
@media screen and (min-width: 1024px) and (max-width: 1279px) {
    .areas-cnt .areas-cnt-lft {
        padding-left: 30px;
    }
}
@media screen and (min-width: 1024px) and (max-width: 1279px) {
    .areas-cnt .areas-cnt-lft {
        padding-left: 30px;
    }
}
@media screen and (min-width: 1024px) and (max-width: 1279px) {
    .trans-list {
        padding-right: 0;
    }
}


.trans-list ul {
    width: 100%;
    float: left;
}
.trans-list ul li {
    width: 31%;
    float: left;
    margin: 0 3.5% 30px 0;
}
.trans-list ul li a {
    width: 100%;
    float: left;
    padding: 35px 30px;
    background: #2863A3;
    border-radius: 5px;
    transition: all .5s ease;
    min-height: 290px;
}
.trans-list ul li a {
    background: #2863A3;
    height: 342px;
}

.trans-list ul li a:hover{
    background: rgba(40, 99, 163, 0.8);
}
.trans-list ul li h3 {
    width: 100%;
    float: left;
    margin-bottom: 35px;
    color: #fff;
    font-size: 9px;
    line-height: 12px;
    letter-spacing: 0.57px;
    font-family: 'Montserrat-SemiBold';
}
.trans-list ul li .trans-icon {
    width: 100%;
    float: left;
    margin-bottom: 45px;
}
.trans-list ul li .trans-icon img {
    width: auto;
    float: left;
    transition: all .5s ease;
    height: 52px;
}
.trans-list ul li h2 {
    width: 100%;
    float: left;
    color: #fff;
    position: relative;
    padding-top: 12px;
    font-size: 22px;
    line-height: 26px;
    font-family: 'Montserrat-Bold';
    letter-spacing: 0.2px;
}
@media screen and (min-width: 1024px) and (max-width: 1279px) {
    .trans-list ul li h2 {
        font-size: 20px;
    }
}
.trans-list ul li h2:after {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    background: #fff;
    width: 45px;
    height: 2px;
}

/* SIDEBAR */
.areas-cnt .areas-cnt-rgt {
    float: left;
    width: 26%;
}

.accord-lft-menu {
    box-sizing: border-box;
    width: 100%;
    padding: 20px 30px;
    background: #f2f5fc;
    border-radius: 8px;
}

.applemenu {
    width: 100%;
}

.accordion-item {
    width: 100%;
    border-bottom: 1px solid #dae1ee;
}

.accordion-item:last-child {
    border-bottom: 0;
}

/* Capçalera de categoria */

.silverheader {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
}

.accordion-toggle {
    position: relative;
    display: block;
    width: 100%;
    padding: 16px 30px 16px 0;
    border: 0;
    background: transparent;
    color: #333333;
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 20px;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

/* Fletxa */

.accordion-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #444444;
    border-bottom: 2px solid #444444;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s ease;
}

.accordion-item.is-open .accordion-toggle {
    color: #0073cf;
    font-family: 'Montserrat-Bold', sans-serif;
    font-weight: 700;
}

.accordion-item.is-open .accordion-toggle::after {
    transform: translateY(-25%) rotate(225deg);
}

/* Submenú */

.submenu {
    display: block;
    width: 100%;
    padding: 0 0 16px;
    background: transparent;
}

.submenu[hidden] {
    display: none !important;
}

.applemenu1.awareness {
    width: 100%;
    background: transparent;
}

.silverheader1 {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.silverheader1 a {
    display: block;
    padding: 8px 0;
    color: #000000;
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 16px;
    line-height: 1.35;
    text-decoration: none;
    transition: color 0.2s ease;
}

.silverheader1 a:hover,
.silverheader1 a.active {
    color: #0073cf;
}



.areas-cnt-rgt {
    opacity: 1;
}

.areas-cnt .mob-title-filter {
    float: left;
    width: 100%;
    display: none;
}
.areas-cnt .mob-title-filter .mob-title-cnt {
    float: left;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.areas-cnt .mob-title-filter .mob-title-cnt {
    float: left;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.areas-cnt .mob-title-filter .mob-filter {
    float: left;
    width: 100%;
    margin-left: 0px;
    background: #2863A3;
}
.areas-cnt .mob-title-filter .mob-filter a {
    float: left;
    width: 100%;
    height: auto;
    color: rgb(255, 255, 255);
    position: relative;
    font-family: Montserrat-SemiBold;
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 0.21px;
    padding: 12px 25px 12px 50px;
    transition: 0.5s;
}
.areas-cnt .mob-title-filter .mob-filter a::after {
    position: absolute;
    content: "";
    top: 22px;
    right: 25px;
    width: 10px;
    height: 6px;
    background: url(../images/ico-arrow-open.svg) 0px 0px no-repeat;
}
/* END SIDEBAR */

.areas-cnt,
.areas-cnt * {
    box-sizing: border-box;
}

.areas-cnt > .row {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

/* Sidebar */

.areas-cnt .areas-cnt-rgt {
    float: none;
    flex: 0 0 300px;
    width: 300px;
    min-width: 0;
}

/* Contingut de les targetes */

.areas-cnt .areas-cnt-lft {
    float: none;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

.trans-list {
    width: 100%;
}

/* 3 categories per fila */

.trans-list > ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trans-list > ul > li {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
}

.trans-list > ul > li > a {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 350px;
    padding: 20px;
    box-sizing: border-box;
    text-decoration: none;
}

.trans-list .trans-icon {
    width: 100%;
}

.trans-list .trans-icon img {
    display: block;
    max-width: 100%;
    height: auto;
}

.trans-list h2,
.trans-list h3 {
    overflow-wrap: break-word;
}

/* ==================================================
   Layout general
   ================================================== */

.areas-cnt,
.areas-cnt * {
    box-sizing: border-box;
}

.areas-cnt > .row {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.areas-cnt .areas-cnt-rgt {
    display: block;
    float: none;
    flex: 0 0 300px;
    width: 300px;
    min-width: 0;
    opacity: 1;
}

.areas-cnt .areas-cnt-lft {
    float: none;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

/* ==================================================
   Botó mòbil del sidebar
   ================================================== */

.areas-cnt .mob-title-filter {
    display: none;
    width: 100%;
}

.mob-filter-toggle {
    position: relative;
    display: block;
    width: 100%;
    padding: 14px 50px 14px 20px;
    border: 0;
    background: #2863a3;
    color: #ffffff;
    font-family: 'Montserrat-SemiBold', sans-serif;
    font-size: 15px;
    line-height: 22px;
    text-align: left;
    cursor: pointer;
}

.mob-filter-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 22px;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s ease;
}

.mob-filter-toggle[aria-expanded="true"]::after {
    transform: translateY(-25%) rotate(225deg);
}

/* ==================================================
   Sidebar
   ================================================== */

.accord-lft-menu {
    width: 100%;
    padding: 20px 30px;
    background: #f2f5fc;
    border-radius: 8px;
}

.applemenu {
    width: 100%;
}

.accordion-item {
    width: 100%;
    border-bottom: 1px solid #dae1ee;
}

.accordion-item:last-child {
    border-bottom: 0;
}

.silverheader {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
}

.accordion-toggle {
    position: relative;
    display: block;
    width: 100%;
    padding: 16px 30px 16px 0;
    border: 0;
    background: transparent;
    color: #333333;
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 18px;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.accordion-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #444444;
    border-bottom: 2px solid #444444;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s ease;
}

.accordion-item.is-open .accordion-toggle {
    color: #0073cf;
    font-family: 'Montserrat-Bold', sans-serif;
    font-weight: 700;
}

.accordion-item.is-open .accordion-toggle::after {
    transform: translateY(-25%) rotate(225deg);
}

.submenu {
    display: block;
    width: 100%;
    padding: 0 0 16px;
    background: transparent;
}

.submenu[hidden] {
    display: none !important;
}

.applemenu1.awareness {
    width: 100%;
    background: transparent;
}

.silverheader1 {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.silverheader1 a {
    display: block;
    padding: 8px 0;
    color: #000000;
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 16px;
    line-height: 1.35;
    text-decoration: none;
}

.silverheader1 a:hover,
.silverheader1 a.active {
    color: #0073cf;
}



.trans-list {
    width: 100%;
}

.trans-list > ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trans-list > ul > li {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
}

.trans-list > ul > li > a {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 350px;
    padding: 20px;
    text-decoration: none;
}

.trans-list h2,
.trans-list h3 {
    overflow-wrap: anywhere;
}

.trans-list .trans-icon {
    width: 100%;
}

.trans-list .trans-icon img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* ==================================================
   Mòbil: es mantenen 2 targetes
   ================================================== */

@media screen and (max-width: 767px) {
    .areas-cnt > .row {
        gap: 16px;
    }

    .trans-list > ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .trans-list > ul > li > a {
        min-height: 320px;
        padding: 18px 14px;
    }

    .trans-list h3 {
        font-size: 12px;
        line-height: 1.2;
    }

    .trans-list h2 {
        font-size: 18px;
        line-height: 1.25;
    }

    .trans-list .trans-icon img {
        max-height: 90px;
        object-fit: contain;
    }

    .accordion-toggle {
        font-size: 17px;
    }
    .areas-cnt .areas-cnt-lft {
        padding-left: 0px;
    }
    .trans-list  {
        padding-right: 0px;
    }
}

@media screen and (max-width: 380px) {
    .trans-list > ul {
        gap: 8px;
    }

    .trans-list > ul > li > a {
        min-height: 290px;
        padding: 15px 10px;
    }

    .trans-list h3 {
        font-size: 10px;
    }

    .trans-list h2 {
        font-size: 16px;
    }
}

/* Escriptori: sidebar visible */
@media screen and (min-width: 1024px) {
    .areas-cnt #transparency-sidebar {
        display: block !important;
        width: 300px;
    }

    .areas-cnt .mob-title-filter {
        display: none !important;
    }
}

/* Tauleta i mòbil: sidebar tancat per defecte */
@media screen and (max-width: 1023px) {
    .areas-cnt > .row {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .areas-cnt .mob-title-filter {
        display: block;
        order: 1;
        width: 100%;
    }

    .areas-cnt #transparency-sidebar {
        display: none !important;
        position: static;
        order: 2;
        float: none;
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    /* Només es mostra després de clicar el botó */
    .areas-cnt #transparency-sidebar.is-mobile-open {
        display: block !important;
    }

    .areas-cnt .areas-cnt-lft {
        order: 3;
        float: none;
        width: 100%;
        padding-left: 0;
    }
}

/* Mòbil: dues targetes per fila */
@media screen and (max-width: 767px) {
    .areas-cnt > .row {
        gap: 16px;
    }

    .trans-list {
        padding-right: 0;
    }

    .trans-list > ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .trans-list > ul > li > a {
        min-height: 320px;
        padding: 18px 14px;
    }

    .trans-list h3 {
        font-size: 12px;
        line-height: 1.2;
    }

    .trans-list h2 {
        font-size: 18px;
        line-height: 1.25;
    }

    .trans-list .trans-icon img {
        max-height: 90px;
        object-fit: contain;
    }

    .accordion-toggle {
        font-size: 17px;
    }
}

@media screen and (max-width: 380px) {
    .trans-list > ul {
        gap: 8px;
    }

    .trans-list > ul > li > a {
        min-height: 290px;
        padding: 15px 10px;
    }

    .trans-list h3 {
        font-size: 10px;
    }

    .trans-list h2 {
        font-size: 16px;
    }
}