
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {


    --color-dark: #5F6F52;   /* deep green */
    --color-mid:  #A9B388;   /* sage green */
    --color-light: #FEFAE0;  /* beige */
    --color-accent: #B99470; /* warm brown */
    --color-text: #2C2C2C;   /* neutral text */
    --color-hover: #7C8C68;  /* slightly lighter than dark */



    --h1-fonts: 3.75rem;
    --h2-fonts: 2.81rem;
    --h3-fonts: 1.875rem;
    --h4-fonts: 1.5rem;
    --h5-fonts: 1.25rem;
    --h6-fonts: 1.125rem;
    --p-fonts: 1rem;

    --transition-fast: all 0.3s ease;
}



body {
    margin: 0;
    padding: 0;
    font-family: "Outfit", sans-serif;
    background-color: var(--color-light);
    color: var(--color-text);
    line-height: 1.5;

}

.section p {
    margin-top: 0;
    margin-bottom: 0.2rem;
    text-indent: 2rem;
}


.page {
    padding: 2rem 1.5rem;
}

.page section {
    max-width: 1100px;
    margin: 0 auto 0.5rem auto;
    width: 100%;
}

main.page {
    min-height: 70vh;
    padding: 3rem 1rem;
    background-color: var(--color-mid);
}

.page-container h1, .page-container h2, .page-container h3, .page-container h4, .page-container li {
    color: black;
    line-height: 1.3;
    margin-bottom: 0.2rem;
}

.page-container a {
    color: var(--primary-color);
}

.page-container a:hover {
    color: var(--secondary-color);
}


/* Section blocks for spacing between different content */

.section {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}




/* Navbar styling */


.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    background: transparent; 
    z-index: 1000;
    transition: height 0.4s ease, background 0.4s ease;
}


.logo {
    position: relative;
    width: 180px;
    height: 100%;
}


.logo-img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    margin-top: 40px;
    height: 200px; 
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


@media (min-width: 769px) {
    .navbar.home-nav {
        background: transparent;
        height: 100px;
        box-shadow: none;
    }

    
    .navbar.home-nav:not(.scrolled) .logo-img {
        height: 250px;      
        top: 20px;           
        transform: translateY(0);
    }
}


.navbar.home-nav {
    height: 150px;
    background: transparent;
    box-shadow: none;
}

.navbar.home-nav .logo-img {
    position: absolute;
    top: 0;
    margin-top: 0px;
    height: 500px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}


.navbar.scrolled {
    height: 60px;
    background: var(--color-mid);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar.scrolled .logo-img {
    height: 60px;
    top: 50%;
    margin-top: 7px;
    margin-left: 60px;
    transform: translateY(-50%);
}


@media (max-width: 768px) {
    
    .navbar, 
    .navbar.home-nav {
        height: 60px !important;
        background: var(--color-mid); 
        padding: 0 1rem; 
    }

    
    .logo {
        width: 120px; 
    }

    .logo-img,
    .navbar.home-nav:not(.scrolled) .logo-img {
        position: relative; 
        top: 0;
        transform: none;
        height: 40px !important; 
        left: 0;
    }
    
    
    .search-box {
        display: block; 
        margin-left: auto;
    }
}


.navigation {
    margin-left: auto; 
    margin-right: 20px;
    display: flex;
    align-items: center;
    transition: right 0.3s ease-in-out;
}

.navigation ul {
    display: flex; 
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem; 
}

.navigation li {
    position: relative;
}

.navigation li a {
    display: block;
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--color-light);
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: var(--transition-fast);
}


/* Pages banner */

.page-banner {
    width: 100%;
    height: 20vh;
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dropdown menu */

.navigation .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-dark);
    min-width: 150px;
    list-style: none;
    padding: 0.5rem 0;
    border-radius: 4px;





    z-index: 1000;
}



.navigation li a:hover {
    border: 1px solid var(--color-light);
    background-color: var(--color-dark);    
}

.navigation li:hover > .dropdown {
    display: block;
}

.navigation .dropdown a {
    padding: 0.5rem 1rem;
    display: block;
    color: var(--color-light);
}

.navigation .dropdown a:hover {
    background-color: var(--color-mid);
    color: var(--color-dark);
}

.navigation li:has(.dropdown) > a::after {
    content: '▼';
    font-size: 0.6rem;
    margin-left: 4px;
}




#menu-icon {
    color: var(--text-color);
    font-size: var(--h3-fonts);
    z-index: 10001;
    cursor: pointer;
    background: linear-gradient(259deg, rgb(36, 36, 36) 0%, rgb(16, 16, 16) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    display: none;
}

/* home page design */



.homepage section {
  width: 60%;               
  margin: 0 auto 4rem auto;
}

/* Hero Section */
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

/* Intro Section */
.intro {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
}

.intro-left {
  flex: 2;
  list-style: inside;
}

.intro-right {
    flex: 1;
    
}


.search-form {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-accent);
  border-radius: 16px;
  background: var(--color-light);
  font-size: 0.85rem;      
  height: 32px;            
}

.search-form input {
  border: none;
  padding: 0 0.6rem;
  width: 120px;            
  font-size: 0.85rem;
  background: transparent;
  color: var(--color-text);
  outline: none;
}

.search-form button {
  background: var(--color-dark);
  border: none;
  color: var(--color-light);
  padding: 0 0.8rem;
  font-size: 0.85rem;
  height: 100%;
  cursor: pointer;
  transition: background 0.3s;
  border-radius: 0 16px 16px 0;
}

.search-form button:hover {
  background: var(--color-hover);
}



/* --- Stil Unic pentru Galerie (Events & Posts) --- */
.full-gallery, 
.gallery-container {
    display: flex;          
    justify-content: center;
    gap: 20px;              
    flex-wrap: wrap;        
    width: 100%;
    margin-top: 2rem;
    padding: 0;
}

/* Wrapper-ul pentru fiecare poză */
.full-gallery .photo-wrapper, 
.gallery-container .photo-wrapper {
    flex: 0 0 30%;           
    width: 30%;              
    padding-top: 30%;        
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    cursor: pointer;
}

/* Imaginea din interiorul pătratului */
.full-gallery .photo-wrapper img, 
.gallery-container .photo-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;       
    transition: transform 0.3s ease;
}

.photo-wrapper:hover img {
    transform: scale(1.05);
}





/* News Section */
.news-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 1.5rem;
}

.news-item {
  background: #5F6F52;
  padding: 0.2rem;
  border-radius: 8px;
  overflow: hidden;

  display: flex;
  flex-direction: row;
  align-items: stretch;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;

}



.news-item:hover {
  transform: translateY(-3px);
}


.news-thumb {
  flex: 0 0 300px; 
  position: relative;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  border-radius: 0;  
  margin: 0;
}


.news-content {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-content h3 {
  margin-top: 0;
  color: var(--color-light);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.news-content .article-list-date {
  color: var(--color-mid);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  display: block;
}

.news-content p {
  color: #eee;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.news-content a.read-more {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: bold;
  align-self: flex-start;
}

.news-content a.read-more:hover {
  text-decoration: underline;
  color: var(--color-light);
}


@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
  }
  .news-thumb {
    flex: auto;
    height: 200px; 
    width: 100%;
  }
}


.pagination {
    font-size: 1.3rem;
    color:pink;
    text-decoration: none;
    margin-top: 40px;
    display: inline-block;
}

.pagination:hover {
    color: black;
}






/* Info overlay for event title/description */
.photo-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.6); 
  color: #fff;
  padding: 0.5rem;
  text-align: center;
  font-size: 0.9rem;
  box-sizing: border-box;
}


/* Features Section */
.features-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap; 
}

.feature {
  text-align: center;
  flex: 1;
  min-width: 150px;
  margin-bottom: 2rem;
}

.feature .circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .homepage section {
    width: 80%;
  }

  .intro {
    flex-direction: column;
  }

  .intro-right {
    margin-top: 1rem;
  }


  .features-container {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2rem;
  }

  .search-bar {
    font-size: 0.9rem;
  }

  .feature .circle {
    width: 80px;
    height: 80px;
    font-size: 1.2rem;
  }
}





/* Slideshow styling */

.web-slideshow, .slideshow {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.cover-banner {
    height: 35vh;
    width: 100%;
    overflow: hidden;
}

.cover-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}



.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top:0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.slide-text {
    position:absolute;
    color: white;
    top: 55%;
    right: 10%;
    max-width: 550px;
    opacity: 0;
    transition: opacity 1s ease;
    transform: translateY(-50%);
    text-align: right;
}

.slide-text h2 {
    font-size: 2rem;
    padding-bottom: 20px;
}

.slide-text p {
    font-size: 1.2rem;
}

.slide.show .slide-text {
    animation: fadeInText 1s ease forwards 2s;
}

@keyframes fadeInText {
    from {opacity: 0;}
    to {opacity:1;}
}

.btn-slide {
    display: inline-block;
    margin-top: 10px;
    padding: 0.6rem 1.2rem;
    background: red;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-slide:hover {
    background: green;
}

.slide.show {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
}

.dot-container {
    position:absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.dot {
    cursor: pointer;
    height: 18px;
    width: 18px;
    margin: 0px 6px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s, transform 0.3s;
}

.dot:hover {
    transform: scale(1.2);
    background-color: rgba(255,255,255,0.7);
}

.dot.active { background-color: #717171;}


/* Footer styling */



footer {
  background: var(--color-dark);
  color: var(--color-light);
  padding: 2rem 2rem 1.5rem 2rem; 
  font-family: "Outfit", sans-serif;
}

.foot-log {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;  
}

.foot-log img {
  width: 80px; 
  height: auto;
  margin-right: 0.75rem;
}

.foot-log h4 {
  font-size: 1.25rem; 
  font-weight: 600;

  color: var(--color-light);
  margin: 0;
}

.web-footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.web-footer-1 p {
  color: var(--color-light);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.footer-details-2 {
  display: flex;
  flex-direction: column;
  row-gap: 0.75rem;
}

.footer-details-2 h4 {
  font-size: 1rem;
  margin: 0.25rem 0;
  color: var(--color-light);
}

.footer-details-2 a.download-link {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-details-2 a.download-link:hover {
  color: var(--color-mid);
  text-decoration: underline;
}

.pdf-icon {
  width: 16px;
  height: 16px;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  color: var(--color-light);
  font-size: 0.85rem;
}




.download-link {
    display: inline-flex;
    align-items: center;
    color: red;
    text-decoration:none;
    font-weight: 500;
}

.download-link:hover {
    text-decoration:underline;
}

.pdf-icon {
    width: 20px;
    height: 20px;
    margin-left: 0.5rem;
} 

/* Page for istoric */

/* Page Header */
.page-header h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #222;
}


/* Reuse home intro styling with grid for photos */
.intro--grid-photos {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Photo gallery styling */
.photo-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.photo-gallery img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  object-fit: cover;
  transition: transform 0.2s ease;
}

.photo-gallery img:hover {
  transform: scale(1.03);
}









.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay img {
    max-width: 85%;
    max-height: 85%;
    border: 3px solid white;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    font-size: 3rem;
    padding: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 5px;
}

.nav-btn:hover {
    background: rgba(255,255,255,0.3);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.close-btn {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 50px;
    cursor: pointer;
}





#toTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: salmon;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  text-align: center;
  line-height: 50px; 
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25); 
  transition: all 0.3s ease;
}

#toTopBtn:hover {
  background-color: #ff7f7f; 
  transform: scale(1.1);    
  box-shadow: 0 6px 12px rgba(0,0,0,0.35);
}




/* TABLE STYLING */

.table-wrapper {
    overflow-x: auto;
    margin-top: 20px;
}

.styled-table {
    border-collapse: collapse;
    width: 100%;
    font-size: 16px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.styled-table thead tr {
    background-color: #f76c6c;
    color: #fff;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
}


.styled-table tbody tr:hover {
    background-color: #f1f1f1;
}

.table-pagination {
    margin-top: 20px;
    text-align: center;
}





/* Dashboard Admin */

.admin-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-posts {
    padding: 0;
    margin: 0;
}

.admin-post-controls form {
    display: inline-block;
}

.admin-post-controls .btn {
    display: inline-block;
    background-color: black;
    color:#717171;
    border: 0;
    text-decoration: none;
    font-size: .8rem;
    padding: 4px 8px;
    line-height: 2;
}

.admin-posts li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}




/* Mobile Header */

#mobile-menu { display: none; }

/* DESKTOP (Hover normal) */
@media (min-width: 992px) {
    
    .mobile-parent-link { display: none !important; }

    .navigation li:hover .dropdown {
        display: block;
        position: absolute;
        top: 100%; left: 0;
        min-width: 200px;
        background: var(--color-dark);
        z-index: 1000;
    }
    .dropdown li a { color: white !important; }
}

/* --- MOBIL (Click & Toggle) --- */
@media (max-width: 991px) {
    
    
    .navbar {
        padding: 0.5rem 1rem;
        box-shadow: none;
        background: transparent;
    }

    .logo-img { height: 50px; width: auto; }

    /* 2. Buton Hamburger */
    #mobile-menu {
        display: block;
        font-size: 2.2rem;
        cursor: pointer;
        color: var(--color-light);
        margin-left: auto;
    }

    /* 3. Container Meniu */
    .navigation {
        position: absolute;
        top: 100%; left: 0; width: 100%;
        
        background-color: var(--color-light);
        border-bottom: 3px solid var(--color-dark);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        
        max-height: 70vh;
        overflow-y: auto;
        padding: 0;
        
        display: none;
        flex-direction: column;
        z-index: 999;
    }

    .navigation.active { display: flex; }

    /* 4. Lista */
    .navigation ul { flex-direction: column; width: 100%; padding: 0; margin: 0; }
    .navigation li { width: 100%; }

    /* Link-urile Principale */
    .navigation li a {
        display: block;
        padding: 15px 20px;
        color: var(--color-text) !important;
        font-family: "Outfit", sans-serif;
        font-weight: 500;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        text-align: center;
    }

    /* 5. Submeniu (Dropdown) */
    .dropdown {
        position: static;
        display: none;
        background-color: rgba(0,0,0,0.05);
        width: 100%;
        padding: 0;
    }

    /* Se deschide doar când are clasa .open */
    .navigation li.open .dropdown { display: block; }

    /* Stilizare Link-uri Submeniu */
    .dropdown li a {
        font-size: 0.95rem;
        padding: 10px 20px;
        color: var(--color-text) !important;
        opacity: 0.9;
    }

    /* Stilizare Link-ul "Vezi pagina..." */
    .mobile-parent-link a {
        font-style: italic;
        background-color: rgba(0,0,0,0.03);
    }

    /* Indicator +/- */
    .navigation li:has(.dropdown) > a::after { content: ' +'; font-weight: bold; margin-left: 5px; }
    .navigation li.open:has(.dropdown) > a::after { content: ' -'; }
}


/* Contact form in contact */

.contact-form {
  max-width: 600px;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--color-mid); 
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  color: var(--color-text);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
  color: var(--color-dark);
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-accent);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--color-light);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-dark);
  box-shadow: 0 0 0 2px var(--color-hover);
}

.contact-form button {
  background: var(--color-dark);
  color: var(--color-light);
  border: none;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: var(--color-hover);
}


.formatted-text {
    white-space: pre-wrap;
    word-break: break-word;

}

.view-more {

    flex: 0 0 100% !important; 

    display: block;
    text-align: center;
    width: fit-content;
    min-width: 200px;
    margin: 40px auto 20px !important; 

    background: #D4A373;
    color: white !important;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}



.pagination-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr; 
    align-items: center;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
}


.pagination-left {
    display: flex;
    justify-content: flex-start;
}

.pagination-center {
    display: flex;
    justify-content: center;
    text-align: center;
    font-weight: bold; 
}


.pagination-right {
    display: flex;
    justify-content: flex-end;
}

.more-pagination {
    padding: 12px 25px;
    background-color: #D4A373;
    color: #fff !important;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap; 
}

.more-pagination:hover {
    background-color: #5F6F52;
    transform: translateY(-2px); 
}




/* acta tab */

/* Containerul care ține rândurile de câte 2 */
.acta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

/* Caseta verde */
.acta-box {
    background-color: #5F6F52;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.acta-box:hover {
    transform: translateY(-5px);
}

/* Posterul din interiorul casetei */
.acta-poster {
    width: 100%;
    margin-bottom: 15px;
}

.acta-poster img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    object-fit: cover;
}

/* Textul/Link-ul de sub poster */
.acta-content {
    width: 100%;
    text-align: center;
}

.acta-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 5px 0;
}

.acta-link:hover {
    text-decoration: underline;
}


@media (max-width: 768px) {
    .acta-grid {
        grid-template-columns: 1fr;
    }
}





/* Biblioteca  */

.biblioteca-box {
    display: flex;
    gap: 40px;
    align-items: center;
    background-color: #5F6F52;
    padding: 30px;
    border-radius: 15px;
    color: white;
    margin-bottom: 40px;
}

.biblioteca-poster {
    flex: 0 0 50%;
}

.biblioteca-poster img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.biblioteca-content {
    flex: 1;
}

.biblioteca-content h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
}


.biblioteca-box .read-more {
    display: inline-block;
    margin-top: 20px;
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
}


@media (max-width: 850px) {
    .biblioteca-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .biblioteca-poster {
        flex: 0 0 100%;
        width: 100%;
    }
}




@media (max-width: 768px) {
    .full-gallery .photo-wrapper, 
    .gallery-container .photo-wrapper {
        flex: 0 0 45%;
        width: 45%;
        padding-top: 45%;
    }
}
