/*
* berdea: #e32c2c
*/
/*@font-face {
    font-family: "Shadow";
    src: local("Shadow"),
      url("fonts/ShadowsIntoLight-Regular.ttf");
}*/
@font-face {
    font-family: "Quicksand";
    src: local("Quicksand"),
      url("/css/fonts/Quicksand-Regular.ttf");
}
@font-face {
    font-family: "QuicksandBold";
    src: local("QuicksandBold"),
      url("/css/fonts/Quicksand-Bold.ttf");
    font-weight: bold;
}
@font-face {
    font-family: "QuicksandLight";
    src: local("QuicksandLight"),
      url("/css/fonts/Quicksand-Light.ttf");
}
@font-face {
    font-family: "PlayfairDisplay";
    src: local("PlayfairDisplay"),
      url("/css/fonts/PlayfairDisplay-Regular.ttf");
}
@font-face {
    font-family: "PlayfairDisplayBold";
    src: local("PlayfairDisplay"),
      url("/css/fonts/PlayfairDisplay-Bold.ttf");
}
@font-face {
    font-family: "PlayfairDisplayExtraBold";
    src: local("PlayfairDisplay"),
      url("/css/fonts/PlayfairDisplay-ExtraBold.ttf");
}
  
body{
    font-family: 'Quicksand';
    font-size: 12px;
    color: #000;
    padding: 0px;
    margin: 0px;
    background-color: #fff;
    position: relative;
    top: 0px;
}
a {
    color: inherit;
    text-decoration: none;
    color: #32c795;
}
a:hover {
    text-decoration: underline;
}
ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

h1 {
    font-family: "PlayfairDisplay";
    font-weight: 400;
    font-size: 80px;
    letter-spacing: -5px;
    margin: 0px;
    margin-bottom: 30px;
    line-height: 70px;
}
h1 b {
    font-size: 160px;
    font-weight: 400;
}
h1 span {
    display: block;
}
.home-h1 {
    font-family: "PlayfairDisplay";
    font-weight: 400;
    font-size: 80px;
    letter-spacing: -5px;
    margin: 0 0 30px 0;
    line-height: 70px;
}
.home-h1 b {
    font-size: 160px;
    font-weight: 400;
}
.home-h1 span {
    display: block;
}
h2 {
    margin: 0px;
    margin-bottom: 15px;
    /*font-family: "Shadow";*/
    font-family: "PlayfairDisplay";
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 1px;
}
.testeo-barra {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    background: #f5a623;
    color: #fff;
    text-align: center;
    font-size: 13px;
    padding: 8px 20px;
    box-sizing: border-box;
    letter-spacing: 0.2px;
}
.testeo-barra a {
    color: #fff;
    text-decoration: underline;
}
header {
    position: fixed;
    top: 37px;
    width: 100%;
    z-index: 1000;
}
header .inner {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}
/*header .inner > div {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
}*/
header .inner nav ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}
header .inner nav ul li {
    padding: 15px;
}
header .inner nav ul li a {
    padding: 0px 10px;
}
.hizkuntza-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-family: 'QuicksandBold';
    letter-spacing: 0.5px;
}
.hizkuntza-selector a {
    color: #32c795;
    text-decoration: none;
    opacity: 0.5;
    padding: 2px 1px;
    background: #fff;
}
.hizkuntza-selector a:hover,
.hizkuntza-selector a.aktibo {
    opacity: 1;
}
.hizkuntza-selector span {
    opacity: 0.3;
}
.home {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: row;
}
.home .left {
    width: 33%;
    background: rgb(76,226,176);
    background: linear-gradient(180deg, rgba(76,226,176,1) 0%, rgba(51,130,113,1) 100%);
    color: #fff;
    position: relative;
    overflow-y: auto;
}
.home .left .inner {
    display: flex;
    padding: 60px 40px;
    flex-direction: column;
    position: relative;
    justify-content: center;
    min-height: 100%;
}
.home-intro {
    margin: 0;
}
.home-intro p {
    font-size: 13px;
    line-height: 1.8;
    opacity: 0.88;
    margin: 0 0 14px 0;
}
.home-intro h1 {
    position:relative;
    font-size: 30px;
    font-weight: normal;
    letter-spacing: normal;
    line-height: 1.2;
    opacity: 0.88;
    margin: 0 0 14px 0;
    padding-top: 15px;
}
.home-intro h1::before {
    content: '';
    display: block;
    width: 400px;
    height: 3px;
    background-color: #fff;
    position: absolute;
    top: 0px;
}
.home-cta {
    font-family: 'QuicksandBold';
    font-size: 13px;
    opacity: 0.95 !important;
}
#home-features-loggedout {
    margin-top: 0;
}
.home .right p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 14px 0;
}
.home .right h2 {
    font-size: 32px;
}
.home .right h3 {
    font-size: 18px;
}
.home-section {
    padding: 28px 0;
    border-top: 1px solid #eee;
}
.home-section:first-child {
    border-top: none;
    padding-top: 0;
}
.home-lan-publikoak {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.home-lan-publikoak li {
    list-style: none;
}
.home-screen-detail {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.home-screen-bloke {
    display: flex;
    gap: 45px;
    align-items: flex-start;
}
.home-screen-text {
    flex: 1;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: center;
}
.home-screen-text p {
    grid-column: 1 / -1;
}
.home-screen-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #32c795;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.home-screen-icon .material-symbols-outlined {
    font-size: 18px;
    color: #fff;
}
.home-screen-bloke h3 {
    margin: 0 0 6px 0;
    font-size: 14px;
    font-family: 'QuicksandBold';
}
.home-screen-bloke p {
    margin: 0;
    font-size: 12px;
    line-height: 1.75;
    color: #555;
}
.home-screen-img {
    flex-shrink: 0;
    width: 33%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}
.home-features {
    display: flex;
    flex-direction: row;
    gap: 12px;
}
.home-features li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: rgba(0,0,0,0.04);
    border-radius: 8px;
    padding: 14px 12px;
    flex: 1;
}
.home-features li .material-symbols-outlined {
    font-size: 24px;
    opacity: 0.7;
    flex-shrink: 0;
}
.home-features li div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.home-features li strong {
    font-family: 'QuicksandBold';
    font-size: 12px;
    letter-spacing: 0.3px;
}
.home-features li span {
    font-size: 11px;
    line-height: 1.5;
    opacity: 0.7;
}
.home .left:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../img/newspaper.jfif);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0px;
    left: 0px;
    opacity: 0.2;
}
.home .right {
    flex: 1;
    max-height: 100vh;
    overflow-y: auto;
}
.home .right > .inner {
    padding: 90px 40px 0px 40px;
}
#form-home {
    max-width: 350px;
}
form {
    display: block;
    margin-bottom: 15px;
}
.fancybox-content {
    width: 580px !important;
    max-width: 95vw;
}
.laguntza-info {
    display: none;
    font-size: 12px;
    color: #888;
    background: #f5f9f7;
    border-left: 3px solid #32c795;
    padding: 8px 10px;
    border-radius: 0 4px 4px 0;
    margin-bottom: 14px;
    line-height: 1.5;
}
body.laguntza-aktibo .laguntza-info {
    display: block;
}
#btn-laguntza.active {
    color: #32c795;
}
.eskala-input-taldea {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}
.eskala-input-taldea input {
    flex: 1;
    border: none;
    border-bottom: 2px solid #32c795;
    padding: 4px 8px;
}
form .group-input {
    display: block;
    width: 100%;
    margin-top: 8px;
    margin-bottom: 12px;
}
form .group-input.check {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
}
form .group-input.check input {
    width: auto;
    flex-shrink: 0;
}
form .group-input.check label {
    display: inline;
    margin: 0;
}
form .group-input label {
    display: block;
    font-size: 13px;
}
form .group-input input,
form .group-input select,
form .group-input textarea {
    border: none;
    border-bottom: 2px solid #32c795;
    padding: 4px 8px;
    border-radius: 0px;
    max-width: 100%;
    width: 100%;
}
form .group-input input.error,
form .group-input select.error,
form .group-input textarea.error {
    border-bottom: 2px solid #e74c3c;
    outline: none;
}
.button {
    display: inline-block;
    border: 2px solid #32c795;
    color: #32c795;
    padding: 8px 30px;
    font-size: 15px;
    font-family: 'PlayfairDisplayBold';
    background-color: transparent;
    margin: 15px 0px;
    cursor: pointer;
}
.button:hover, .button.active {
    background-color: #32c795;
    color: #fff;
}
/* HOME BANNER */
.home-banner {
    margin: 28px -40px 0 -40px;
    position: relative;
    background: linear-gradient(180deg, rgba(80, 80, 80, 1) 0%, rgba(20, 20, 20, 1) 100%);
    padding: 48px 52px;
}
.home-banner::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-image: url('../img/banner.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.5;
    mix-blend-mode: overlay;
}
.home-banner-cita {
    margin: 0;
    padding: 0;
    border: none;
    position: relative;
}
.home-banner-cita p {
    color: #fff;
    font-size: 19px;
    line-height: 1.65;
    font-style: italic;
    margin: 0 0 18px 0;
    text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.home-banner-cita p::first-letter {
    font-size: 3.8em;
    font-family: 'PlayfairDisplayBold';
    line-height: 0.75;
    float: left;
    margin-right: 6px;
    margin-top: 6px;
}
.home-banner-cita cite {
    color: #fff;
    font-size: 12px;
    font-family: 'QuicksandBold';
    letter-spacing: 0.5px;
    font-style: normal;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.home-banner-cita cite::before {
    content: '— ';
}
/* ADIBIDEAK */
.adibideak-main {
    min-height: 100vh;
    padding-top: 80px;
}
.adibideak-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px;
}
.adibideak-inner h1 {
    font-size: 32px;
    margin-bottom: 8px;
}
.adibideak-inner > p {
    color: #888;
    margin-bottom: 32px;
    font-size: 14px;
}
.adibideak-filtros {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
}
.adibideak-filtro-taldea {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.adibideak-filtro-label {
    font-family: 'QuicksandBold';
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #aaa;
}
.adibideak-radio-taldea {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.adibideak-radio-taldea label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 13px;
}
.adibideak-urteak-taldea {
    display: flex;
    align-items: center;
    gap: 8px;
}
.adibideak-urteak-taldea input {
    width: 90px;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Quicksand';
    font-size: 13px;
}
#filtro-bilaketa {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Quicksand';
    font-size: 13px;
    box-sizing: border-box;
}
.adibideak-lista {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.adibideak-lista .grafika-karta {
    width: 100%;
}
#adibideak-kargatu {
    color: #bbb;
    font-size: 13px;
    padding: 20px 0;
}
/* ADIBIDEAK — END */
.home-footer {
    background: #000;
    padding: 20px 40px;
}
.home-footer p {
    font-size: 12px !important;
    color: #666;
    margin: 0 !important;
    line-height: 1.6 !important;
}
.home-footer a {
    color: #888;
}
/* HOME USECASES */
.home-usecases {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: -60px;
    padding-bottom: 60px;
}
.home-usecases-titulo {
    grid-column: 1 / -1;
}
.home-usecase-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 16px;
    background: #f7f9f8;
    border-left: 3px solid #32c795;
}
.home-usecase-item strong {
    font-family: 'QuicksandBold';
    font-size: 13px;
    color: #2c3e50;
    display: block;
    margin-bottom: 5px;
}
.home-usecase-item p {
    font-size: 12px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}
/* RESPONSIVE — HOME */
.menu-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    color: #000;
    line-height: 1;
}
.menu-hamburger .material-symbols-outlined {
    font-size: 28px;
    display: block;
}
#menu-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(0,0,0,0.3);
}
#menu-mobile {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 260px;
    background: #fff;
    z-index: 1060;
    flex-direction: column;
    padding: 60px 30px 30px 30px;
    gap: 6px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}
#menu-mobile.aktibo,
#menu-mobile-overlay.aktibo {
    display: flex;
}
.menu-mobile-itxi {
    position: absolute;
    top: 52px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #000;
    line-height: 1;
}
.menu-mobile-itxi .material-symbols-outlined {
    font-size: 24px;
    display: block;
}
#menu-mobile a {
    color: #000;
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
}
#menu-mobile a:hover {
    color: #32c795;
    text-decoration: none;
}
#menu-mobile .hizkuntza-selector {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
#menu-mobile .hizkuntza-selector a {
    border-bottom: none;
    padding: 2px 1px;
    font-size: 12px;
    background: none;
}
#menu-mobile .menu-mobile-login {
    margin-top: 10px;
    background: #32c795;
    color: #fff !important;
    text-align: center;
    padding: 12px !important;
    border-radius: 6px;
    border-bottom: none !important;
    font-family: 'QuicksandBold';
    letter-spacing: 0.5px;
}
#menu-mobile .menu-mobile-login:hover {
    background: #2ab384;
    color: #fff !important;
}
@media (max-width: 1024px) {
    #nav-desktop {
        display: none;
    }
    .menu-hamburger {
        display: block;
    }
}
@media (max-width: 1024px) {
    .abisua .home .left .inner{
        padding-top: 90px;
    }
    .abisua header {
        top: 47px;
    }
    .home {
        height: auto;
        flex-direction: column;
    }
    .home .left {
        width: 100%;
        min-height: 0;
        overflow-y: visible;
    }
    .home .left .inner {
        padding: 28px 20px;
        min-height: 0;
    }
    .home .left:before {
        position: absolute;
    }
    .home .right {
        max-height: none;
        overflow-y: visible;
    }
    .home .right > .inner {
        padding: 28px 20px;
    }
    
    .home-h1 {
        font-size: 60px;
    }
    .home-h1 b {
        font-size: 110px;
    }
    .home-intro h1::before {
        width: 250px;
    }
    .home-banner {
        margin: 28px -20px 0 -20px;
        padding: 28px 24px;
    }
    .home-usecases {
        grid-template-columns: 1fr;
        margin-bottom: 0;
        padding-bottom: 40px;
    }
    .home-screen-img {
        width: 100%;
    }
    .home-screen-bloke {
        flex-direction: column;
        gap: 16px;
    }
    .home .grafika-karta {
        width: calc(50% - 6px);
    }
}
@media (max-width: 768px) {
    .home .grafika-karta {
        width: 100%;
    }
}
/* GRAFIKA KARTAK */
#nere-lista,
.home-lan-publikoak {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding: 0;
    list-style: none;
}
.grafika-karta {
    width: calc(25% - 6px);
    position: relative;
}
.grafika-karta-inner {
    display: block;
    width: 100%;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    position: relative;
    background: rgb(76,226,176);
    background: linear-gradient(180deg, rgba(76,226,176,1) 0%, rgba(51,130,113,1) 100%);
    background-size: cover;
    background-position: center;
}
.grafika-karta-inner:hover {
    text-decoration: none;
    background-color: transparent;
    color: inherit;
}
.grafika-karta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(51,130,113,0.3) 0%, rgba(30,80,65,0.75) 100%);
    pointer-events: none;
}
.grafika-karta-testua {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.grafika-karta-testua .grafika-izena {
    font-family: 'QuicksandBold';
    font-size: 13px;
    color: #fff;
    line-height: 1.3;
}
.grafika-karta-testua .grafika-deskribapena {
    font-size: 10px;
    color: rgba(255,255,255,0.75);
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Hover edit button */
.grafika-hover-ekintzak {
    position: absolute;
    top: 6px;
    right: 6px;
    display: none;
}
.grafika-karta.editagarria:hover .grafika-hover-ekintzak {
    display: flex;
}
.grafika-hover-ekintzak button {
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
}
.grafika-hover-ekintzak .material-symbols-outlined {
    font-size: 16px;
    color: #333;
}
/* Edit form (shown instead of card) */
.grafika-editatu-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 10px;
}
.grafika-editatu-form input[type="text"],
.grafika-editatu-form textarea {
    border: none;
    border-bottom: 2px solid #32c795;
    padding: 4px 6px;
    font-size: 13px;
    width: 100%;
    box-sizing: border-box;
}
.grafika-editatu-form textarea {
    resize: none;
    height: 42px;
}
.grafika-irudia-taldea {
    display: flex;
    align-items: center;
    gap: 6px;
}
.grafika-irudia-preview {
    display: flex;
    align-items: center;
    gap: 6px;
}
.grafika-irudia-preview button {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    font-size: 12px;
}
.grafika-editatu-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}
.grafika-editatu-buttons button {
    cursor: pointer;
    font-size: 12px;
    margin: 0;
    padding: 4px 10px;
}
.grafika-editatu-buttons button:not(.button) {
    background: none;
    border: none;
    opacity: 0.45;
}
.grafika-editatu-buttons button:not(.button):hover {
    opacity: 1;
}
.btn-kendu-inline {
    margin-left: auto !important;
}
.btn-kendu-inline .material-symbols-outlined {
    font-size: 16px;
    vertical-align: middle;
}
/*  IKONOAK*/
.material-symbols-outlined { /* TOOL */
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 48
}