.page-header {
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-color: var(--mihci-gray);
    border-bottom: 3px solid var(--mihci-red);
    display: flex;
    align-items: center;
}

.breadcrumb-nav {
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb-nav a {
    color: #666;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: var(--mihci-red);
}

.breadcrumb-nav span {
    color: var(--mihci-dark-blue);
    font-weight: 600;
}

.page-header .breadcrumb-nav {
    color: rgba(255,255,255,0.9);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header .breadcrumb-nav a {
    color: rgba(255,255,255,0.9);
}

.page-header .breadcrumb-nav span {
    color: #fff;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-content {
    background-color: #fff;
    padding-top: 100px;
    padding-bottom: 100px;
}

.page-service-card {
    padding: 2.5rem;
    background-color: #fff;
    border-radius: 12px;
    height: 100%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.page-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.page-service-card h3 {
    color: var(--mihci-dark-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-service-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.contact-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--mihci-dark-blue);
    margin-bottom: 1.5rem;
}

.contact-description {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-info {
    margin-top: 2rem;
}

.contact-item {
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.contact-item i {
    color: var(--mihci-red);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.contact-form {
    margin-top: 1rem;
}

.contact-form .form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.75rem;
    font-size: 0.95rem;
}

.contact-form .form-control:focus {
    border-color: var(--mihci-red);
    box-shadow: 0 0 0 0.2rem rgba(238, 48, 72, 0.25);
}

.contact-form .btn-custom {
    width: 100%;
    background-color: var(--mihci-red);
    color: #fff;
    padding: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    border: none;
}

.contact-form .btn-custom:hover {
    background-color: #c82333;
    color: #fff;
}

.contact-map-wrapper {
    width: 100%;
    margin-top: 100px;
}

.contact-map {
    width: 100%;
    border-radius: 0;
    overflow: hidden;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 400px;
}

.content-image {
    width: 100%;
    overflow: hidden;
}

.content-image img {
    width: 100%;
    height: 370px;
    object-fit: cover;
    aspect-ratio: 1920/640;
    border-radius: 8px;
}

.content-meta {
    font-size: 0.9rem;
    color: #666;
}

.content-date {
    color: #666;
}

.content-category {
    color: var(--mihci-red);
    font-weight: 600;
}

.content-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--mihci-dark-blue);
}

.content-author {
    font-size: 0.9rem;
}

.content-body {
    line-height: 1.8;
    color: #555;
}

.content-body p {
    margin-bottom: 1.5rem;
}

.blockquote-content {
    background-color: var(--mihci-gray);
    border-left: 4px solid var(--mihci-red);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: #444;
}

.blockquote-content p {
    margin-bottom: 0;
}

.content-tags {
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--mihci-gray);
    color: #666;
    border-radius: 4px;
    font-size: 0.85rem;
}


.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 6px 16px;
    border: 2px solid #ddd;
    background: #fff;
    color: #333;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.85rem;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--mihci-red);
    color: #fff;
    border-color: var(--mihci-red);
}

.gallery-container {
    position: relative;
    min-height: 500px;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item-wrapper {
    position: absolute;
    width: calc(33.333% - 1rem);
    margin-bottom: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(1);
    transform-origin: center center;
}

.gallery-item-wrapper.hidden {
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
    z-index: 1;
}

.gallery-item-wrapper.visible {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

@media (max-width: 767px) {
    .gallery-item-wrapper {
        width: 100%;
    }
}

.gallery-item {
    position: relative;
    margin-bottom: 0;
    border: solid 1px #f0f0f0;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1040/920;
    object-fit: cover;
    border-radius: 5px;
}

.gallery-overlay {
    position: absolute;
    left:0;
    right: 0;
    bottom: 0;
    background-color: var(--mihci-red);
    color: #fff;
    padding: 13px 5px;
    text-align: center;
    font-size: 0.9rem;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 5px;
}
