/* MHPSS - Mental Health & Psychosocial Support Styles */
/* Enhanced Modern Design */

:root {
    --mhpss-primary: #0d9488;
    --mhpss-primary-dark: #0f766e;
    --mhpss-primary-light: #5eead4;
    --mhpss-secondary: #0891b2;
    --mhpss-accent: #f59e0b;
    --mhpss-purple: #8b5cf6;
    --mhpss-gradient: linear-gradient(135deg, #0d9488 0%, #0891b2 50%, #06b6d4 100%);
    --mhpss-gradient-warm: linear-gradient(135deg, #0d9488 0%, #14b8a6 50%, #5eead4 100%);
    --mhpss-gradient-soft: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(8, 145, 178, 0.1) 100%);
    --mhpss-gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    --mhpss-text: #1e293b;
    --mhpss-text-light: #64748b;
    --mhpss-bg: #f8fafc;
    --mhpss-bg-alt: #f1f5f9;
    --mhpss-white: #ffffff;
    --mhpss-border: #e2e8f0;
    --mhpss-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --mhpss-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --mhpss-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --mhpss-shadow-glow: 0 0 40px rgba(13, 148, 136, 0.3);
    --mhpss-radius: 16px;
    --mhpss-radius-sm: 8px;
    --mhpss-radius-lg: 24px;
    --mhpss-radius-xl: 32px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.mhpss-animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.mhpss-animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.mhpss-animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Hero Section */
.mhpss-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 140px 0 100px;
}

.mhpss-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0d9488 0%, #0891b2 40%, #06b6d4 70%, #14b8a6 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.mhpss-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.2) 100%);
}

.mhpss-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}

.mhpss-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: var(--mhpss-white);
    animation: fadeInUp 0.8s ease-out;
}

.mhpss-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 28px;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.mhpss-hero-badge svg {
    animation: pulse 2s ease-in-out infinite;
}

.mhpss-hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.15);
    letter-spacing: -0.5px;
}

.mhpss-hero-subtitle {
    font-size: 22px;
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.mhpss-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.mhpss-hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.mhpss-hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    animation: float 6s ease-in-out infinite;
}

.mhpss-hero-shapes .shape-1 {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.mhpss-hero-shapes .shape-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: 5%;
    animation-delay: 2s;
}

.mhpss-hero-shapes .shape-3 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: -80px;
    animation-delay: 4s;
}

.mhpss-hero-shapes .shape-4 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 10%;
    animation-delay: 1s;
}

/* Buttons */
.mhpss-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.mhpss-btn-primary {
    background: var(--mhpss-white);
    color: var(--mhpss-primary);
    box-shadow: 0 4px 20px rgba(255,255,255,0.3);
}

.mhpss-btn-primary:hover {
    background: transparent;
    border-color: var(--mhpss-white);
    color: var(--mhpss-white);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.mhpss-btn-secondary {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-color: rgba(255,255,255,0.4);
    color: var(--mhpss-white);
}

.mhpss-btn-secondary:hover {
    background: var(--mhpss-white);
    color: var(--mhpss-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

.mhpss-btn-outline {
    background: transparent;
    border-color: var(--mhpss-primary);
    color: var(--mhpss-primary);
    box-shadow: none;
}

.mhpss-btn-outline:hover {
    background: var(--mhpss-primary);
    color: var(--mhpss-white);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.3);
}

.mhpss-btn-teal {
    background: var(--mhpss-gradient);
    border: none;
    color: var(--mhpss-white);
}

.mhpss-btn-teal:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.4);
}

/* Slider Section */
.mhpss-slider-section {
    padding: 60px 0;
    background: var(--mhpss-bg);
}

.mhpss-slider {
    position: relative;
    border-radius: var(--mhpss-radius-lg);
    overflow: hidden;
    box-shadow: var(--mhpss-shadow-xl);
}

.mhpss-slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.mhpss-slide {
    min-width: 100%;
    position: relative;
    height: 450px;
}

.mhpss-slide-image {
    position: absolute;
    inset: 0;
}

.mhpss-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mhpss-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.mhpss-slide-content {
    position: relative;
    z-index: 2;
    padding: 60px;
    color: var(--mhpss-white);
    max-width: 600px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mhpss-slide-content h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.mhpss-slide-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.mhpss-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--mhpss-white);
    font-weight: 600;
    text-decoration: none;
    padding: 12px 24px;
    background: var(--mhpss-primary);
    border-radius: var(--mhpss-radius-sm);
    width: fit-content;
    transition: all 0.3s ease;
}

.mhpss-slide-btn:hover {
    background: var(--mhpss-primary-dark);
    transform: translateX(5px);
}

.mhpss-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mhpss-primary);
    transition: all 0.3s ease;
    z-index: 10;
}

.mhpss-slider-nav:hover {
    background: var(--mhpss-primary);
    color: var(--mhpss-white);
}

.mhpss-slider-prev {
    left: 20px;
}

.mhpss-slider-next {
    right: 20px;
}

.mhpss-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.mhpss-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mhpss-slider-dot.active {
    background: var(--mhpss-white);
    transform: scale(1.2);
}

/* Section Headers */
.mhpss-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.mhpss-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--mhpss-gradient-soft);
    color: var(--mhpss-primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.mhpss-section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--mhpss-text);
    margin-bottom: 12px;
}

.mhpss-section-subtitle {
    font-size: 17px;
    color: var(--mhpss-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.mhpss-section-footer {
    text-align: center;
    margin-top: 40px;
}

/* About Section */
.mhpss-about-section {
    padding: 80px 0;
    background: var(--mhpss-white);
}

.mhpss-about-content {
    padding-right: 40px;
}

.mhpss-about-text {
    color: var(--mhpss-text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.mhpss-about-text p {
    margin-bottom: 16px;
}

.mhpss-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mhpss-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--mhpss-bg);
    border-radius: var(--mhpss-radius);
    transition: all 0.3s ease;
}

.mhpss-feature:hover {
    transform: translateX(10px);
    box-shadow: var(--mhpss-shadow);
}

.mhpss-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--mhpss-gradient);
    color: var(--mhpss-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mhpss-feature-text h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--mhpss-text);
    margin-bottom: 4px;
}

.mhpss-feature-text p {
    font-size: 14px;
    color: var(--mhpss-text-light);
    margin: 0;
}

.mhpss-about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mhpss-image-card {
    background: var(--mhpss-gradient);
    border-radius: var(--mhpss-radius-lg);
    padding: 60px;
    text-align: center;
    color: var(--mhpss-white);
    box-shadow: var(--mhpss-shadow-xl);
}

.mhpss-image-card svg {
    opacity: 0.9;
    margin-bottom: 20px;
}

.mhpss-image-card h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.mhpss-image-card p {
    font-size: 16px;
    opacity: 0.9;
}

/* Events Section */
.mhpss-events-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--mhpss-bg) 0%, var(--mhpss-bg-alt) 100%);
}

.mhpss-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mhpss-event-card {
    background: var(--mhpss-white);
    border-radius: var(--mhpss-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.04);
}

.mhpss-event-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(13, 148, 136, 0.15);
    border-color: rgba(13, 148, 136, 0.1);
}

.mhpss-event-featured {
    grid-column: span 2;
    grid-row: span 2;
}

.mhpss-event-featured .mhpss-event-image {
    height: 300px;
}

.mhpss-event-featured .mhpss-event-title {
    font-size: 24px;
}

.mhpss-event-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.mhpss-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mhpss-event-card:hover .mhpss-event-image img {
    transform: scale(1.05);
}

.mhpss-event-placeholder {
    width: 100%;
    height: 100%;
    background: var(--mhpss-gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mhpss-primary);
}

.mhpss-event-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--mhpss-primary);
    color: var(--mhpss-white);
    padding: 10px 15px;
    border-radius: var(--mhpss-radius-sm);
    text-align: center;
    box-shadow: var(--mhpss-shadow);
}

.mhpss-event-date .day {
    display: block;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.mhpss-event-date .month {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mhpss-event-content {
    padding: 24px;
}

.mhpss-event-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--mhpss-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.mhpss-event-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.mhpss-event-title a {
    color: var(--mhpss-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mhpss-event-title a:hover {
    color: var(--mhpss-primary);
}

.mhpss-event-excerpt {
    font-size: 14px;
    color: var(--mhpss-text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.mhpss-event-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--mhpss-primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.mhpss-event-link:hover {
    gap: 10px;
}

/* News Section */
.mhpss-news-section {
    padding: 100px 0;
    background: var(--mhpss-white);
    position: relative;
}

.mhpss-news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--mhpss-border), transparent);
}

.mhpss-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mhpss-news-card {
    background: var(--mhpss-white);
    border-radius: var(--mhpss-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.04);
}

.mhpss-news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(13, 148, 136, 0.12);
    border-color: rgba(13, 148, 136, 0.1);
}

.mhpss-news-image {
    height: 200px;
    overflow: hidden;
}

.mhpss-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mhpss-news-card:hover .mhpss-news-image img {
    transform: scale(1.05);
}

.mhpss-news-placeholder {
    width: 100%;
    height: 100%;
    background: var(--mhpss-gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mhpss-primary);
}

.mhpss-news-content {
    padding: 24px;
}

.mhpss-news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.mhpss-news-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--mhpss-text-light);
}

.mhpss-news-category {
    font-size: 12px;
    color: var(--mhpss-primary);
    background: var(--mhpss-gradient-soft);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.mhpss-news-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
}

.mhpss-news-title a {
    color: var(--mhpss-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mhpss-news-title a:hover {
    color: var(--mhpss-primary);
}

.mhpss-news-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--mhpss-primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.mhpss-news-link:hover {
    gap: 8px;
}

/* Contact Section */
.mhpss-contact-section {
    padding: 80px 0;
    background: var(--mhpss-bg);
}

.mhpss-contact-card {
    background: var(--mhpss-gradient);
    border-radius: var(--mhpss-radius-lg);
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.mhpss-contact-content {
    position: relative;
    z-index: 2;
    color: var(--mhpss-white);
    max-width: 600px;
}

.mhpss-contact-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

.mhpss-contact-content p {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.mhpss-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mhpss-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--mhpss-white);
    text-decoration: none;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.mhpss-contact-item:hover {
    transform: translateX(5px);
}

.mhpss-contact-decoration {
    position: absolute;
    right: 40px;
    opacity: 0.15;
}

/* Empty State */
.mhpss-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--mhpss-text-light);
}

.mhpss-empty-state svg {
    margin-bottom: 20px;
    opacity: 0.5;
}

.mhpss-empty-state h3 {
    font-size: 20px;
    color: var(--mhpss-text);
    margin-bottom: 8px;
}

.mhpss-empty-state p {
    font-size: 15px;
}

/* Responsive */
@media (max-width: 1199px) {
    .mhpss-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mhpss-event-featured {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 991px) {
    .mhpss-hero-title {
        font-size: 36px;
    }
    
    .mhpss-about-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .mhpss-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mhpss-contact-card {
        padding: 40px;
    }
    
    .mhpss-contact-decoration {
        display: none;
    }
}

@media (max-width: 767px) {
    .mhpss-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .mhpss-hero-title {
        font-size: 28px;
    }
    
    .mhpss-hero-subtitle {
        font-size: 16px;
    }
    
    .mhpss-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .mhpss-btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
    
    .mhpss-slide {
        height: 350px;
    }
    
    .mhpss-slide-content {
        padding: 30px;
    }
    
    .mhpss-slide-content h3 {
        font-size: 24px;
    }
    
    .mhpss-section-title {
        font-size: 28px;
    }
    
    .mhpss-events-grid,
    .mhpss-news-grid {
        grid-template-columns: 1fr;
    }
    
    .mhpss-event-featured {
        grid-column: span 1;
    }
    
    .mhpss-contact-card {
        padding: 30px;
    }
    
    .mhpss-contact-content h2 {
        font-size: 24px;
    }
}

/* RTL Support */
[dir="rtl"] .mhpss-feature:hover {
    transform: translateX(-10px);
}

[dir="rtl"] .mhpss-about-content {
    padding-right: 0;
    padding-left: 40px;
}

[dir="rtl"] .mhpss-slide-overlay {
    background: linear-gradient(270deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

[dir="rtl"] .mhpss-slide-btn:hover {
    transform: translateX(-5px);
}

[dir="rtl"] .mhpss-event-link:hover,
[dir="rtl"] .mhpss-news-link:hover {
    gap: 10px;
}

[dir="rtl"] .mhpss-contact-item:hover {
    transform: translateX(-5px);
}

[dir="rtl"] .mhpss-contact-decoration {
    right: auto;
    left: 40px;
}

/* Events List View (for Events page) */
.mhpss-events-page,
.mhpss-news-page {
    padding: 40px 0;
}

.mhpss-events-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mhpss-event-list-item {
    display: flex;
    background: var(--mhpss-white);
    border-radius: var(--mhpss-radius);
    overflow: hidden;
    box-shadow: var(--mhpss-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--mhpss-border);
}

.mhpss-event-list-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--mhpss-shadow-xl);
    border-color: var(--mhpss-primary-light);
}

.mhpss-event-list-image {
    width: 300px;
    min-height: 250px;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

.mhpss-event-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mhpss-event-list-item:hover .mhpss-event-list-image img {
    transform: scale(1.05);
}

.mhpss-event-list-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mhpss-event-list-content .mhpss-event-title {
    font-size: 22px;
    margin-bottom: 16px;
}

.mhpss-event-list-content .mhpss-event-excerpt {
    flex: 1;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.mhpss-event-footer {
    margin-top: auto;
}

.mhpss-news-excerpt {
    font-size: 14px;
    color: var(--mhpss-text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mhpss-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

@media (max-width: 767px) {
    .mhpss-event-list-item {
        flex-direction: column;
    }
    
    .mhpss-event-list-image {
        width: 100%;
        min-height: 200px;
    }
    
    .mhpss-event-list-content {
        padding: 20px;
    }
    
    .mhpss-event-list-content .mhpss-event-title {
        font-size: 18px;
    }
}
