/* Common image styles for consistent layout across the site */
.content-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    max-height: 500px;
}

.content-image-container {
    overflow: hidden;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.content-image-container:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

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

/* Logo overlay styles */
.logo-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-overlay img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Video container styles to match image styling */
.video-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.video-container:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Image container styles for formation section */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.image-container:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Article metadata styles */
.article-date {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.article-divider {
    margin: 3rem 0;
}

/* Portfolio item styles */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0 auto;
}

.portfolio-item:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.portfolio-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    display: block;
}

.hover-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    -moz-backdrop-filter: blur(4px);
}

.portfolio-item:hover .hover-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.hover-text {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .hover-text {
    transform: translateY(0);
}
