

:root {
    --primary-color: #006815;
    --primary-dark: #004f10;
    --primary-light: #e8f5e9;
    --accent-color: #03bd28;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-white: #ffffff;
    --bg-light: #f8faf8;
    --shadow-sm: 0 2px 8px rgba(0, 104, 21, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 104, 21, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 104, 21, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu {
            display: flex;
            list-style: none;
            gap: 30px;
        }

        .nav-menu a {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
            text-transform: uppercase;
            font-size: 14px;
            letter-spacing: 1px;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-menu a:hover {
            color: var(--accent-color);
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: var(--accent-color);
            transition: width 0.3s ease;
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  
    display: flex;
    justify-content: space-between; 
    align-items: center;
  
    padding: 10px 40px;
    height: 80px;
    background: var(--bg-white);
    border-bottom: 1px solid rgba(0, 104, 21, 0.1);
    box-shadow: var(--shadow-sm);
  }
  
 
  header .right-group {
    display: flex;
    align-items: center;
    gap: 35px;
  }
  
  header {
    position: fixed;      /* fixa no topo */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    height: 70px;
    background: var(--bg-white);
    border-bottom: 1px solid rgba(0, 104, 21, 0.1);
    box-shadow: var(--shadow-sm);
}

/* empurra o conteúdo para baixo do header fixo */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 20px 60px; /* 90px pra compensar o header fixo */
}

@media (max-width: 768px) {

    header {
        height: auto;
        padding: 10px 16px;
    }

    .right-group {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        gap: 10px;
    }

    .logo-1 {
        margin: 0 auto;
    }

    .logo-1 img {
        max-width: 100px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-menu {
        position: absolute;
        top: 100%;       /* FICA embaixo do grupo (logo + X), sem empurrar o home */
        right: 0;
        left: 0;
        margin-top: 12px;
        background: var(--bg-white);
        box-shadow: var(--shadow-lg);
        border-radius: 12px;
        padding: 16px 22px;
        display: none;
        flex-direction: column;
        gap: 12px;
        z-index: 999;
    }

    .menu-toggle-checkbox:checked ~ .nav-menu {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        width: 100%;
        text-align: center;
        padding: 10px;
    }
}

  
  .right-group {
    display: flex;
    align-items: center;
    gap: 25px; 
  }

  .header-nav {
    display: flex;
    align-items: center;
    gap: 20px; 
  }
  
  .header-nav a {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 8px;
    transition: var(--transition);
  }
  
  .header-nav a:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
  }
  
  /* Logo */
  .logo-1 img {
    max-width: 140px;
    height: auto;
    transition: var(--transition);
  }

.header-section {
   
    background-image: 
        linear-gradient(
            to top, 
            var(--bg-light) 10%,     
           rgba(255, 255, 255, 0) 50%,    
            rgba(255, 255, 255, 0) 100% 
        ),
       
        url('../imagens/sinodal.png'); 
         
       
    opacity: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh; 
    
  
    display: flex;
    justify-content: center; 
    align-items: center;     
    text-align: center;      
}



.header-section h1 {
   
    color: var(--primary-color); 
    
    text-shadow: 
        0 0 3px #fff, 
        0 0 5px #fff, 
        0 0 15px #fff; 
    
  
    font-family: 'Bebas Neue', sans-serif; 
    font-size: 6rem; 
    margin: 0;
    padding: 0 20px; 
}



.editorial-info {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-top: -20px;
    padding: 30px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.editorial-image {
    flex: 0 0 220px;
    text-align: center;
}

.editorial-image img {
    width: 250px;
    height: 250px;
    margin-top:50px;
    object-fit: cover;
    align-items: center;
    box-shadow: var(--shadow-sm);
    justify-content: center;
    transition: transform 0.3s ease;
    display: flex;
}

.editorial-image img:hover {
    transform: scale(1.05);
}

.editorial-image p {
    margin-top: 10px;
    margin-right: 20px;     
    font-weight: 500;
    color: var(--primary-color);
    font-size: 1rem;
    line-height: 1.3;

}

.editorial-text {
    flex: 1;
}

.editorial-text .intro-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    text-align: justify;
}

.div-expediente{
    margin:0px;
    padding:0px;
    border:0px;
}
.expediente-image{
    max-width: 180px;
    height: auto;
    display: relative;
    justify-content: left;
    align-items: left;
}

.director-info {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-top:-20px;     
    padding: 30px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.director-image {
    flex: 0 0 220px; 
    text-align: center;
}

.director-image img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    border: 4px solid var(--primary-light);
    transition: transform 0.3s ease;
}

.director-image img:hover {
    transform: scale(1.05);
}

.director-image p {
    margin-top: 10px;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 1rem;
    line-height: 1.3;
}

.director-text {
    flex: 1;
}

.director-text .intro-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    text-align: justify;
}

.section-words {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--primary-color);
     margin: 0px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    margin-top:40px;
}

.section-words::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-light);
    margin: 6px auto 0;
    border-radius: 2px;
}


.coordination-info {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-top: -20px;
    padding: 30px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.coordination-image {
    flex: 0 0 220px;
    text-align: center;
}

.coordination-image img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    border: 4px solid var(--primary-light);
    transition: transform 0.3s ease;
}

.coordination-image img:hover {
    transform: scale(1.05);
}

.coordination-image p {
    margin-top: 10px;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 1rem;
    line-height: 1.3;
}

.coordination-text {
    flex: 1;
}

.coordination-text .intro-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    text-align: justify;
}

.section-words2 {                           
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--primary-color);
     margin-top:60px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    text-align: right;
    ;
}


.carousel-container {
    position: relative;
    width: 100%;
    margin-bottom: 60px;
    padding: 0 50px;
    overflow: hidden;
    user-select: none;
}

.carousel-track {
    display: flex;
    transition: transform 0.75s cubic-bezier(0.21, 0.61, 0.35, 1);
    transform-origin: center;
    padding-bottom: 50px;
    margin: 40px 0px 0px -45px ;
    align-items: center;
}

.carousel-card {
    position: relative;
    width: 320px;
    flex-shrink: 0;
    margin: 0 25px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--bg-white);
    transition: all 0.75s cubic-bezier(0.21, 0.61, 0.35, 1);
    transform: scale(0.9);
    opacity: 0.6;
    border-left: 4px solid transparent;
}

.carousel-card.is-active {
    transform: scale(1);
    opacity: 1;
    z-index: 10;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1), 0 0 40px var(--primary-color);
    border-left-color: var(--primary-color);
}

.carousel-card.is-prev,
.carousel-card.is-next {
    transform: scale(0.95);
    opacity: 0.85;
}

.carousel-card.is-far-prev,
.carousel-card.is-far-next {
    filter: grayscale(1);
    opacity: 0.3;
}

.card-image-container {
    height: 200px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    position: relative;
}

.card-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(0, 104, 21, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-card.is-active:hover .card-title::before {
    opacity: 1;
}

.carousel-card.is-active:hover .card-title::before {
    opacity: 1;
}

.card-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 15px;
}

.card-progress {
    height: 6px;
    background-color: var(--primary-light);
    border-radius: 3px;
    margin-bottom: 8px;
    overflow: hidden;
}

.progress-value {
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.75s cubic-bezier(0.21, 0.61, 0.35, 1);
}

.card-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 500;
}

.tech-details {
    display: flex;
    flex-wrap: wrap;
    padding: 0 20px 20px;
    gap: 8px;
}

.tech-tag {
    font-size: 0.8rem;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    cursor: pointer;
    z-index: 20;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.carousel-button:hover {
    background-color: var(--primary-color);
}

.carousel-button svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
    transition: var(--transition);
}

.carousel-button:hover svg {
    stroke: white;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 10px;
    height: 10px;
    background-color: var(--primary-light);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.year-button {
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  font-size: 18px;
  font-weight: bold;
  background: var(--accent-color) ; 
  color: #fff;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  border-radius: 8px;
  transition: background 0.3s;
}

.year-button:hover {
  background: var(--primary-color);
}

.year-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  background: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 0 15px;
}

.year-content.active {
  max-height: none; 
  padding: 15px;
}


@media (max-width: 768px) {
    .carousel-container {
        padding: 0;
    }

    .carousel-button {
        display: none;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;   /* evita barra horizontal e páginas "espremidas" */
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    color: var(--text-dark);
    min-height: 100vh;
}


header {
    position:absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    height: 80px;
    background: var(--bg-white);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 104, 21, 0.1);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header-image-container img {
    width: 1200px;
    height: 500px;

}



.home {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    transition: var(--transition);
    cursor: pointer;
}

.home:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.home svg {
    fill: var(--primary-color);
    transition: var(--transition);
}

.home:hover svg {
    fill: white;
}

.logo-1 img {
    max-width: 140px;
    height: auto;
    transition: var(--transition);
}

.logo-1:hover img {
    transform: scale(1.05);
}




.section-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 1px;
    position: relative;
    padding-top: 150px; 
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.files-grid {
    display: grid;
    grid-template-columns: 1fr; /* sempre 1 coluna no mobile */
    gap: 24px;
    margin-bottom: 60px;
}

/* se quiser mais colunas em telas maiores */
@media (min-width: 900px) {
    .files-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .files-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}



.file-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

.file-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent-color);
}

.file-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.file-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.file-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-color);
}

.file-content {
    flex: 1;
}

.file-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.file-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1px;
}

.file-download {
    display: inline-flex;
    align-items: center;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    margin-right: 7px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    margin-top: auto;
    width: fit-content;
    }

.file-action {
    display: inline-flex;
    align-items: center;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    margin-right: 7px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    margin-top: auto;
    width: fit-content;
}

.file-action:hover {
    background: var(--primary-dark);
    transform: translateX(4px);
}

.file-action svg {
    margin-left: 8px;
    width: 16px;
    height: 16px;
    fill: white;
    transition: var(--transition);
}

.file-action:hover svg {
    transform: translateX(3px);
}




#pdfModal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    overflow: auto;
    padding: 40px 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    margin: 0 auto;
    width: 90%;
    max-width: 800px;
    height: 80vh;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    padding: 20px;
    background: var(--primary-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-weight: 600;
    color: var(--primary-color);
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--primary-color);
    cursor: pointer;
    width: 36px;      
    height: 36px;    
    border-radius: 50%; 
    display: flex;   
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 0;    
}


.close-btn:hover {
    background: var(--primary-color);
    color: white;
}

.modal-body {
    height: calc(100% - 60px);
}

.modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}



.rep-acess {
    font-family: 'Bebas Neue', cursive;
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 1px;
    position: center;
    padding-top: 50px; 
    text-align: none;
}
.rep-acess:hover {
    text-decoration: underline;
    color: var(--accent-color);
    transition: fadeIn 0.3s ease;
    transition: fadeOut 0.3s ease;
}

footer {
  background: var(--primary-color);
  color: white;
  padding: 40px 20px;
  margin-top: 80px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;   
  gap: 40px;
}

.footer-column {
  flex: 1;
  min-width: 220px;
}

.footer-expediente {
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-expediente h4 {
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 600;
}


.footer-logo-center {
  text-align: center;
}

.prado-logo img {
  max-width: 180px;
  height: auto;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}

.prado-logo:hover img {
  transform: scale(1.05);
}


.footer-info {
  text-align: right;
}

.footer-info p {
  margin-bottom: 8px;
  font-size: 0.9rem;
  opacity: 0.95;
}

.footer-info a,
.footer-expediente a,
.footer-info .ln-fran {
  color: white;
  text-decoration: none;
}

.footer-info a:hover,
.footer-expediente a:hover,
.footer-info .ln-fran:hover {
  text-decoration: underline;
  opacity: 1;
}








.fade-in {
    animation: fadeIn 0.6s ease;
}

.slide-up {
    animation: slideUp 0.6s ease;
}


button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===========================
   📌 MENU HAMBÚRGUER (MOBILE)
   =========================== */

/* Checkbox controlador (não aparece) */
.menu-toggle-checkbox {
    display: none;
  }
  
  /* Botão hambúrguer – escondido no desktop */
  .menu-toggle {
    display: none;
    width: 40px;
    height: 32px;
    position: relative;
    cursor: pointer;
    padding: 0;
    border: none;
    background: transparent;
    margin-top: 4px; /* um pouquinho mais baixo */
  }
  
  .menu-toggle span {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 999px;
    transition: 0.25s ease;
  }
  
  /* linhas do hambúrguer */
  .menu-toggle span:nth-child(1) { top: 6px; }
  .menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
  .menu-toggle span:nth-child(3) { bottom: 6px; }
  
  /* animação vira X */
  .menu-toggle-checkbox:checked + .menu-toggle span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
  .menu-toggle-checkbox:checked + .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle-checkbox:checked + .menu-toggle span:nth-child(3) {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) rotate(-45deg);
  }
  
  /* ===========================
     📌 MOBILE STYLE
     =========================== */
     @media (max-width: 768px) {

        .header-section {
            height:auto;
            padding: 80px 0 20px;
        }
        header {
            height: auto;
            padding: 10px 16px;
        }
    
        .right-group {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            gap: 10px;
        }
    
        .logo-1 {
            margin: 0 auto;
        }
    
        .logo-1 img {
            max-width: 100px;
        }
    
        .menu-toggle {
            display: block;
            margin-left: auto;
        }
    
        .nav-menu {
            position: absolute;
            top: 100%;       /* FICA embaixo do grupo (logo + X), sem empurrar o home */
            right: 0;
            left: 0;
            margin-top: 12px;
            background: var(--bg-white);
            box-shadow: var(--shadow-lg);
            border-radius: 12px;
            padding: 16px 22px;
            display: none;
            flex-direction: column;
            gap: 12px;
            z-index: 999;
        }
    
        .menu-toggle-checkbox:checked ~ .nav-menu {
            display: flex;
        }
    
        .nav-menu li {
            width: 100%;
        }
    
        .nav-menu li a {
            width: 100%;
            text-align: center;
            padding: 10px;
        }
      
        .menu-toggle-checkbox:checked ~ .nav-menu {
          display: flex;
        }
      }

   @media (max-width: 768px) {

   
    html, body {
      overflow-x: hidden;
    }
  
    .editorial-info,
    .director-info,
    .coordination-info {
      flex-direction: column;
      align-items: center;
      text-align: left;
      padding: 20px;
      gap: 18px;
    }
  
    .editorial-image,
    .director-image,
    .coordination-image {
      flex: none;
      margin-bottom: 8px;
    }
  
    .editorial-image img,
    .director-image img,
    .coordination-image img {
      width: 140px;
      height: 140px;
      margin-top: 0;
    }
  
    .editorial-text .intro-text,
    .director-text .intro-text,
    .coordination-text .intro-text {
      font-size: 0.95rem;      
      line-height: 1.6;
    }
  
    
    .files-grid {
      grid-template-columns: 1fr;      
    }
  
    .file-card {
      padding: 18px;
    }
  
    .footer-content {
      flex-direction: column;
      gap: 20px;
      text-align: center;
    }
  
    .footer-expediente,
    .footer-info {
      text-align: center;
    }
  
    .footer-column {
      min-width: auto;
    }
 
    main {
      margin: 24px auto;
      padding: 0 16px 32px;
    }
  }
  