.elementor-46180 .elementor-element.elementor-element-f6cb64a{--display:flex;--min-height:300px;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--overlay-opacity:0.75;}.elementor-46180 .elementor-element.elementor-element-f6cb64a::before, .elementor-46180 .elementor-element.elementor-element-f6cb64a > .elementor-background-video-container::before, .elementor-46180 .elementor-element.elementor-element-f6cb64a > .e-con-inner > .elementor-background-video-container::before, .elementor-46180 .elementor-element.elementor-element-f6cb64a > .elementor-background-slideshow::before, .elementor-46180 .elementor-element.elementor-element-f6cb64a > .e-con-inner > .elementor-background-slideshow::before, .elementor-46180 .elementor-element.elementor-element-f6cb64a > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-image:url("https://aytomengibar.com/wp-content/uploads/2025/11/Sin-titulo-2000-x-1335-px-1-1.png");--background-overlay:'';background-repeat:no-repeat;background-size:cover;}.elementor-46180 .elementor-element.elementor-element-46693fc{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-46180 .elementor-element.elementor-element-ace1943{--display:flex;--margin-top:60px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}.pp-tooltip.pp-tooltip-{{ID}} .pp-tooltip-content{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-46180 .elementor-element.elementor-element-8b275af.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-46180 .elementor-element.elementor-element-8b275af .elementor-heading-title{font-family:"Open Sans", Sans-serif;font-size:30px;font-weight:500;color:var( --e-global-color-secondary );}.elementor-46180 .elementor-element.elementor-element-f33345a{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--align-items:center;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-divider{--divider-color:var( --e-global-color-secondary );}.elementor-widget-divider .elementor-divider__text{color:var( --e-global-color-secondary );font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-divider.elementor-view-stacked .elementor-icon{background-color:var( --e-global-color-secondary );}.elementor-widget-divider.elementor-view-framed .elementor-icon, .elementor-widget-divider.elementor-view-default .elementor-icon{color:var( --e-global-color-secondary );border-color:var( --e-global-color-secondary );}.elementor-widget-divider.elementor-view-framed .elementor-icon, .elementor-widget-divider.elementor-view-default .elementor-icon svg{fill:var( --e-global-color-secondary );}.elementor-46180 .elementor-element.elementor-element-6b2bc02{--divider-border-style:solid;--divider-color:#E30613;--divider-border-width:5px;width:var( --container-widget-width, 7% );max-width:7%;--container-widget-width:7%;--container-widget-flex-grow:0;}.elementor-46180 .elementor-element.elementor-element-6b2bc02 > .elementor-widget-container{border-radius:10px 10px 10px 10px;}.elementor-46180 .elementor-element.elementor-element-6b2bc02 .elementor-divider-separator{width:100%;}.elementor-46180 .elementor-element.elementor-element-6b2bc02 .elementor-divider{padding-block-start:0px;padding-block-end:0px;}.elementor-46180 .elementor-element.elementor-element-8137ec3{--divider-border-style:dashed;--divider-color:#E30613;--divider-border-width:1px;width:var( --container-widget-width, 100% );max-width:100%;--container-widget-width:100%;--container-widget-flex-grow:0;}.elementor-46180 .elementor-element.elementor-element-8137ec3 > .elementor-widget-container{margin:0px 0px 0px 0px;border-radius:10px 10px 10px 10px;}.elementor-46180 .elementor-element.elementor-element-8137ec3 .elementor-divider-separator{width:100%;}.elementor-46180 .elementor-element.elementor-element-8137ec3 .elementor-divider{padding-block-start:0px;padding-block-end:0px;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-46180 .elementor-element.elementor-element-c34c094{font-family:"Open Sans", Sans-serif;font-size:16px;font-weight:400;color:var( --e-global-color-394dea1 );}.elementor-46180 .elementor-element.elementor-element-d6ece34{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}@media(max-width:1024px){.elementor-46180 .elementor-element.elementor-element-f6cb64a{--min-height:220px;}.elementor-46180 .elementor-element.elementor-element-ace1943{--margin-top:40px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-46180 .elementor-element.elementor-element-8b275af .elementor-heading-title{font-size:22px;}.elementor-46180 .elementor-element.elementor-element-6b2bc02{--container-widget-width:10%;--container-widget-flex-grow:0;width:var( --container-widget-width, 10% );max-width:10%;}.elementor-46180 .elementor-element.elementor-element-8137ec3{--container-widget-width:100%;--container-widget-flex-grow:0;width:var( --container-widget-width, 100% );max-width:100%;}}@media(max-width:767px){.elementor-46180 .elementor-element.elementor-element-f6cb64a::before, .elementor-46180 .elementor-element.elementor-element-f6cb64a > .elementor-background-video-container::before, .elementor-46180 .elementor-element.elementor-element-f6cb64a > .e-con-inner > .elementor-background-video-container::before, .elementor-46180 .elementor-element.elementor-element-f6cb64a > .elementor-background-slideshow::before, .elementor-46180 .elementor-element.elementor-element-f6cb64a > .e-con-inner > .elementor-background-slideshow::before, .elementor-46180 .elementor-element.elementor-element-f6cb64a > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-image:url("https://aytomengibar.com/wp-content/uploads/2025/11/Sin-titulo-2000-x-1335-px-1.png");}.elementor-46180 .elementor-element.elementor-element-f6cb64a{--min-height:180px;}.elementor-46180 .elementor-element.elementor-element-ace1943{--margin-top:20px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-46180 .elementor-element.elementor-element-8b275af{width:var( --container-widget-width, 268px );max-width:268px;--container-widget-width:268px;--container-widget-flex-grow:0;}.elementor-46180 .elementor-element.elementor-element-8b275af .elementor-heading-title{font-size:20px;}.elementor-46180 .elementor-element.elementor-element-f33345a{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-46180 .elementor-element.elementor-element-6b2bc02{--container-widget-width:20%;--container-widget-flex-grow:0;width:var( --container-widget-width, 20% );max-width:20%;}.elementor-46180 .elementor-element.elementor-element-8137ec3{--container-widget-width:80%;--container-widget-flex-grow:0;width:var( --container-widget-width, 80% );max-width:80%;}}/* Start custom CSS for text-editor, class: .elementor-element-8e6b6d5 */html {
    scroll-behavior: smooth;
}

/* BLOQUE DE INFORMACIÓN DEL EXPEDIENTE (ANCLA #info-expediente) */
.expediente-info {
    max-width: 1000px;
    margin: 0 auto 40px auto;
    background: #f9f9fb;
    border: 1px solid #e5d5d8;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;

    /* 👉 clave: deja hueco por el menú pegajoso en ESCRITORIO */
    scroll-margin-top: 230px;
}

.expediente-info h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #c8102e;
}

.expediente-info ul {
    margin: 8px 0 8px 18px;
    padding: 0;
}

/* CONTENEDOR GENERAL: MENÚ + LÍNEA DE TIEMPO */
.timeline-wrapper {
    max-width: 1000px;
    margin: 0 auto 60px auto;
    display: flex;
    gap: 20px;
}

/* MENÚ FLOTANTE POR AÑOS (ESCRITORIO: LADO IZQUIERDO) */
.year-menu {
    position: sticky;
    top: 90px; /* ajusta si tu header es más alto o más bajo */
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #ffffffdd;
    backdrop-filter: blur(4px);
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #f1c4cb;
    box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
    z-index: 20000;
}

.year-menu a {
    font-weight: 700;
    color: #c8102e;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 999px;
    position: relative;
    z-index: 20001;
}

.year-menu a:hover {
    background: #fde7ea;
}

/* CONTENEDOR DE LA LÍNEA DE TIEMPO */
.timeline-container {
    flex: 1;
    padding-left: 30px;
    border-left: 4px solid #c8102e;
}

/* TÍTULO DE AÑO (ES EL ANCLA) */
.timeline-year {
    font-size: 26px;
    font-weight: 800;
    color: #c8102e;
    margin: 40px 0 24px;
    position: relative;

    /* Hueco para header + menú de años (escritorio) */
    scroll-margin-top: 170px;
}

.timeline-year::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60px;
    height: 3px;
    background: #c8102e;
}

/* ITEMS */
.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-date {
    background: #fde7ea;
    color: #c8102e;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 8px;
}

.timeline-content {
    background: #ffffffdd;
    backdrop-filter: blur(5px);
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid #f3c5cb;
    box-shadow: 0 2px 10px rgb(0 0 0 / 8%);
    position: relative;
}

.timeline-content::before {
    content: "";
    width: 16px;
    height: 16px;
    background: #c8102e;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 5px #c8102e33;
    position: absolute;
    left: -38px;
    top: 22px;
}

.timeline-content h3 {
    margin: 0 0 8px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.file-meta {
    font-size: 13px;
    opacity: 0.6;
    margin-bottom: 12px;
}

/* BOTÓN DESCARGA / ENLACE WEB */
.timeline-btn {
    display: inline-flex;          /* centra contenido */
    align-items: center;
    justify-content: center;

    background: #c8102e;
    color: #ffffff !important;
    padding: 0.5rem 1.3rem;
    border-radius: 0.4rem;
    text-decoration: none !important;
    text-transform: none;

    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;

    height: auto;

    box-shadow: 0 0.15rem 0.4rem rgba(0, 0, 0, 0.18);
    border: none;

    transition:
        background 0.15s ease,
        transform 0.1s ease,
        box-shadow 0.15s ease;

    vertical-align: middle;
}

.timeline-btn:hover {
    background: #9b0d24;
    color: #ffffff !important;
    transform: translateY(-0.06rem);
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.22);
}

/* VARIANTE PARA DOCUMENTOS NO PUBLICABLES:
   SOLO LLEVA A LA INFORMACIÓN INICIAL */
.timeline-btn--info {
    background: #ffffff;
    color: #c8102e !important;
    border: 1px solid #c8102e;
    box-shadow: none;
}

.timeline-btn--info:hover {
    background: #fde7ea;
    color: #c8102e !important;
    transform: none;
    box-shadow: none;
}

/* ✅ RESPONSIVE: MENÚ COMO “PELOTITAS” FLOTANTES A LA IZQUIERDA */
@media (max-width: 768px) {

    .timeline-wrapper {
        flex-direction: column;
        gap: 12px;
        position: relative;
    }

    /* Menú de años flotante a la IZQUIERDA */
    .year-menu {
        position: fixed;
        top: 50%;
        left: 8px;
        right: auto;
        transform: translateY(-50%);
        flex-direction: column;
        gap: 10px;
        padding: 8px;
        border-radius: 999px;
        background: #ffffffee;
        box-shadow: 0 4px 10px rgb(0 0 0 / 20%);
        z-index: 20000;
        border: 1px solid #f1c4cb;
    }

    .year-menu a {
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border-radius: 50%;
        font-size: 11px;
        background: #ffffff;
        border: 1px solid #f1c4cb;
    }

    .year-menu a:hover {
        background: #fde7ea;
    }

    /* Margen extra para que el menú no pise los textos */
    .timeline-container {
        padding-left: 32px;
        border-left-width: 3px;
    }

    .timeline-content::before {
        left: -28px;
    }

    /* Más margen porque hay header sticky arriba */
    .timeline-year {
        scroll-margin-top: 200px;
    }

    /* 👉 también ajustamos el bloque de información en móvil,
       que suele tener un header pegajoso algo más alto */
    .expediente-info {
        scroll-margin-top: 260px;
    }

    /* Opcional: botón a todo el ancho en móvil
    .timeline-btn {
        width: 100%;
        max-width: 100%;
    }
    */
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-d6ece34 *//* --------- TITULARES DE AÑO --------- */
.expediente-year {
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
  font-weight: 700;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 0.25rem;
  color: #002b5c; /* usa el azul corporativo de Mengíbar si es otro */
}

/* --------- CONTENEDOR DE LA LÍNEA TEMPORAL --------- */
.expediente-timeline {
  position: relative;
  margin-left: 1rem;
  padding-left: 1.5rem;
  margin-top: 1rem;
}

/* Línea vertical */
.expediente-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  bottom: 0;
  width: 2px;
  background: #e0e0e0;
}

/* --------- CADA EVENTO --------- */
.expediente-item {
  position: relative;
  margin-bottom: 1.75rem;
}

.expediente-item-inner {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

/* Punto sobre la línea temporal */
.expediente-item::before {
  content: "";
  position: absolute;
  left: -0.55rem;
  top: 0.9rem;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 3px solid #c8102e; /* rojo corporativo */
}

/* Fecha, título y texto */
.expediente-item-date {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #777;
  margin-bottom: 0.25rem;
}

.expediente-item-title {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  color: #333;
}

.expediente-item-desc {
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
  color: #444;
}

/* Metadatos del documento */
.expediente-item-meta {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.4rem;
}

.expediente-item-meta span + span::before {
  content: "·";
  margin: 0 0.35rem;
}

/* Botón de descarga */
.expediente-item-btn {
  display: inline-block;
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: #c8102e; /* rojo corporativo */
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.1s ease;
}

.expediente-item-btn:hover,
.expediente-item-btn:focus {
  background: #a30d26;
  transform: translateY(-1px);
}

/* --------- RESPONSIVE MÓVIL --------- */
@media (max-width: 768px) {
  .expediente-timeline {
    margin-left: 0.5rem;
    padding-left: 1.2rem;
  }

  .expediente-item-inner {
    padding: 0.8rem 0.85rem;
  }
}

/* --------- ESTILO DE LAS PESTAÑAS PARA PARECERSE A PGOM --------- */
.elementor-widget-tabs .elementor-tab-desktop-title {
  text-transform: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1rem;
  border-bottom: 3px solid transparent;
}

.elementor-widget-tabs .elementor-tab-desktop-title.elementor-active {
  border-bottom-color: #c8102e; /* rojo */
  color: #c8102e;
}

.elementor-widget-tabs .elementor-tab-title {
  white-space: normal; /* que se partan bien en móvil */
}

@media (max-width: 768px) {
  .elementor-widget-tabs .elementor-tabs-wrapper {
    overflow-x: auto;
  }
}/* End custom CSS */