:root {
    --bs-body-font-family: 'Roboto', sans-serif;
    --font-headings: 'Lora', serif;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-headings);
    font-weight: 600;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f8f9fa;
    background-image: url('../img/texture.png');
    background-repeat: repeat;
    background-attachment: fixed;
}

.navbar {
    background-color: #2c3e50;
}

.footer {
    margin-top: auto;
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
}

.nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-size: 1.1rem;
}

.nav-link:hover {
    color: white !important;
}

.nav-link.active {
    font-weight: bold;
    color: white !important;
    border-bottom: 2px solid #fff;
}

.main-content {
    padding: 40px 0;
}

.hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #f1f3f5 100%);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 1rem;
}

.hero-title {
    color: #2c3e50;
    letter-spacing: -0.5px;
}

.btn-primary-custom {
    background-color: #2c3e50;
    border-color: #2c3e50;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #1a252f;
    border-color: #1a252f;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
}

.section-title {
    color: #2c3e50;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #2c3e50;
    border-radius: 2px;
}

.modern-card {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.empty-photo-placeholder {
    background-color: #e9ecef;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.pagination-custom .page-link {
    color: #2c3e50;
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    margin: 0 4px;
    border-radius: 6px !important; 
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 40px;
    text-align: center;
}

.pagination-custom .page-link:hover {
    background-color: #f1f3f5;
    color: #1a252f;
    border-color: rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.pagination-custom .page-item.active .page-link {
    background-color: #2c3e50;
    border-color: #2c3e50;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(44, 62, 80, 0.2);
    transform: translateY(-1px);
}

.pagination-custom .page-item.disabled .page-link {
    color: #adb5bd;
    background-color: #f8f9fa;
    border-color: rgba(0,0,0,0.05);
    box-shadow: none;
    transform: none;
}

.doc-item {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.doc-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06) !important;
    border-color: rgba(44, 62, 80, 0.15);
}

.doc-item:hover .doc-title {
    color: #2c3e50 !important;
}

.doc-icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: #f1f3f5;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.doc-item:hover .doc-icon-wrapper {
    background-color: #2c3e50;
    color: #ffffff;
}

.doc-download-btn {
    width: 40px;
    height: 40px;
    background-color: transparent;
    color: #adb5bd;
    transition: all 0.3s ease;
}

.doc-item:hover .doc-download-btn {
    background-color: #f1f3f5;
    color: #2c3e50;
}

.album-img {
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modern-card:hover .album-img {
    transform: scale(1.08);
}

.photo-thumbnail-wrapper {
    height: 220px; 
    background-color: #f8f9fa;
}

.photo-img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.photo-item-link:hover .photo-img {
    transform: scale(1.05);
    filter: brightness(0.9); 
}

.custom-breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.custom-breadcrumb .breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.custom-breadcrumb .breadcrumb-item a:hover {
    color: #2c3e50;
    text-decoration: underline;
}

.custom-breadcrumb .breadcrumb-item.active {
    color: #2c3e50;
    font-weight: 500;
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "\f105"; 
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #adb5bd;
    font-size: 0.8rem;
    vertical-align: middle;
}

.member-photo {
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.4s ease;
}

.modern-card:hover .member-photo {
    transform: scale(1.05);
}

.placeholder-photo {
    width: 160px;
    height: 160px;
    background-color: #f8f9fa;
}

.member-position {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    color: #6c757d;
    font-weight: 600;
}

.editorial-img {
    height: auto;
    max-height: 700px;
    width: 100%;
    object-fit: contain;
    background-color: #f8f9fa;
}

.editorial-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
}

.editorial-content p {
    margin-bottom: 1.5rem;
}

.editorial-content h2, 
.editorial-content h3, 
.editorial-content h4 {
    color: #2c3e50;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    font-family: var(--font-headings);
    font-weight: 600;
}

.editorial-content ul, 
.editorial-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.editorial-content li {
    margin-bottom: 0.5rem;
}

.editorial-content blockquote {
    border-left: 4px solid #2c3e50;
    font-style: italic;
    color: #6c757d;
    margin: 2rem 0;
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.hero-cinematic {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 37, 47, 0.95) 0%, rgba(44, 62, 80, 0.7) 100%);
    z-index: 1;
    pointer-events: none;
}