.layout-nav-primari {
    box-shadow: 0 .125rem .25rem #1e1e1e !important;
    position: relative;
    z-index: 2;
}

.bg-green-primary {
    background-color: #5a812b !important;
    padding: 10px 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 .125rem .25rem #00000013 !important;
}

.bg-light-green {
    background-color: #f9faf8;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.layout-footer {
    background-color: #303030 !important;
}

.logo {
    max-width: 30px;
}

.navbar h1 {
    font-size: 1.4rem;
    margin-bottom: 0;
}

.navbar-title {
    margin-right: 0.25rem;
    color: white;
}

.navbar-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: white;
}

h2 {
    padding: 10px;
    font-size: 1.5rem;
}

a:hover, a:focus {
    text-decoration: underline;
}

.lh-0 {
    line-height: 0px;
}

.fs-12 {
    font-size: 12px;
}

section.content {
    max-width: 700px;
    margin: 40px auto;
}

.content h1 {
    font-size: 1.6rem;
    padding-bottom: 8px;
    color: #2f4a1b;
}

/* Enhanced styles for the central div */
.link-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.link-card a {
    color: #5a812b !important;
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
}

.link-card a:hover {
    color: #4a6b23 !important;
    text-decoration: underline;
}

.link-card a.contact-link {
    color: #000000 !important;
}

.link-section-title {
    color: #333333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 4px;
    height: 30px;
}

.contact-link {
    color: #5a812b !important;
    font-weight: 500;
    text-decoration: none;
}

.contact-link:hover {
    color: #4a6b23 !important;
    text-decoration: underline;
}

.generalitat {
    width: 300px !important;
}