.elementor-1167 .elementor-element.elementor-element-2eec6e1e{--display:flex;--min-height:92px;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-1167 .elementor-element.elementor-element-3631c05d{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-1167 .elementor-element.elementor-element-61f3c52{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-1167 .elementor-element.elementor-element-a2f3eb8{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-1167 .elementor-element.elementor-element-67b84733{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}body.elementor-page-1167{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}/* Start custom CSS *//* استایل‌های بخش اخبار و رویدادهای هنرستان */
      .news-events-section {
        padding: 80px 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        font-family: "Vazirmatn", sans-serif;
        min-height: 100vh;
      }

      .news-events-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
        position: relative;
      }

      /* هدر بخش */
      .section-header {
        text-align: center;
        margin-bottom: 3rem;
        color: white;
      }

      .section-header h2 {
        font-size: 2.8rem;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        font-weight: 700;
      }

      .section-header p {
        font-size: 1.2rem;
        opacity: 0.9;
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.6;
      }

      /* کنترل‌ها */
      .news-controls {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 3rem;
        flex-wrap: wrap;
        gap: 2rem;
        background: rgba(255, 255, 255, 0.95);
        padding: 1.5rem 2rem;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
      }

      .filter-buttons {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
      }

      .filter-btn {
        padding: 0.8rem 1.5rem;
        border: 2px solid #2563eb;
        background: transparent;
        color: #2563eb;
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 600;
        font-size: 0.9rem;
      }

      .filter-btn:hover {
        background: #2563eb;
        color: white;
        transform: translateY(-2px);
      }

      .filter-btn.active {
        background: #2563eb;
        color: white;
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
      }

      .search-box {
        display: flex;
        align-items: center;
        background: white;
        border-radius: 25px;
        padding: 0.5rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        min-width: 300px;
      }

      .search-box input {
        border: none;
        outline: none;
        padding: 0.8rem 1rem;
        border-radius: 25px;
        width: 100%;
        font-size: 0.9rem;
        background: transparent;
      }

      .search-btn {
        background: #2563eb;
        border: none;
        color: white;
        padding: 0.8rem 1.2rem;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-left: 0.5rem;
      }

      .search-btn:hover {
        background: #1d4ed8;
        transform: scale(1.05);
      }

      /* آمار سریع */
      .quick-stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
        margin-bottom: 3rem;
      }

      .stat-item {
        background: rgba(255, 255, 255, 0.95);
        padding: 2rem 1.5rem;
        border-radius: 15px;
        text-align: center;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
      }

      .stat-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
      }

      .stat-icon {
        font-size: 2.5rem;
        color: #2563eb;
        margin-bottom: 1rem;
      }

      .stat-number {
        display: block;
        font-size: 2.2rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 0.5rem;
      }

      .stat-label {
        color: #64748b;
        font-size: 0.9rem;
        font-weight: 500;
      }

      /* گرید اخبار */
      .news-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
        gap: 2rem;
        margin-bottom: 3rem;
      }

      .news-card {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        opacity: 0;
        transform: translateY(30px);
      }

      .news-card.animated {
        opacity: 1;
        transform: translateY(0);
        transition: all 0.6s ease;
      }

      .news-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
      }

      .news-image {
        position: relative;
        height: 250px;
        overflow: hidden;
      }

      .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
      }

      .news-card:hover .news-image img {
        transform: scale(1.1);
      }

      .featured-badge,
      .important-badge {
        position: absolute;
        top: 15px;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        color: white;
        font-size: 0.8rem;
        font-weight: 600;
        z-index: 2;
      }

      .featured-badge {
        left: 15px;
        background: linear-gradient(45deg, #f59e0b, #d97706);
      }

      .important-badge {
        right: 15px;
        background: linear-gradient(45deg, #ef4444, #dc2626);
      }

      .category-badge {
        position: absolute;
        bottom: 15px;
        left: 15px;
        padding: 0.5rem 1rem;
        border-radius: 15px;
        color: white;
        font-size: 0.8rem;
        font-weight: 600;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(10px);
      }

      .category-badge.news {
        background: #3b82f6;
      }
      .category-badge.events {
        background: #8b5cf6;
      }
      .category-badge.competitions {
        background: #f59e0b;
      }
      .category-badge.workshops {
        background: #10b981;
      }

      .news-content {
        padding: 2rem;
      }

      .news-title {
        font-size: 1.3rem;
        color: #1e293b;
        margin-bottom: 1rem;
        line-height: 1.4;
        font-weight: 700;
      }

      .news-summary {
        color: #64748b;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
      }

      .news-meta {
        display: flex;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
        flex-wrap: wrap;
      }

      .news-meta span {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #94a3b8;
        font-size: 0.85rem;
      }

      .news-meta i {
        color: #2563eb;
      }

      .news-actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .read-more-btn {
        background: #2563eb;
        color: white;
        border: none;
        padding: 0.8rem 1.5rem;
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 600;
        font-size: 0.9rem;
      }

      .read-more-btn:hover {
        background: #1d4ed8;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
      }

      .quick-view-btn {
        background: #f1f5f9;
        border: none;
        color: #64748b;
        padding: 0.8rem;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .quick-view-btn:hover {
        background: #2563eb;
        color: white;
        transform: scale(1.1);
      }

      /* بارگذاری بیشتر */
      .load-more-container {
        text-align: center;
        margin: 3rem 0;
      }

      .load-more-btn {
        background: linear-gradient(45deg, #2563eb, #7c3aed);
        color: white;
        border: none;
        padding: 1rem 2rem;
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 600;
        font-size: 1rem;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
      }

      .load-more-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
      }

      .load-more-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
      }

      /* سایدبار رویدادهای مهم */
      .important-events-sidebar {
        background: rgba(255, 255, 255, 0.95);
        padding: 2rem;
        border-radius: 20px;
        margin-top: 3rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
      }

      .important-events-sidebar h3 {
        color: #1e293b;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        text-align: center;
        padding-bottom: 1rem;
        border-bottom: 2px solid #e2e8f0;
      }

      .events-timeline {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
      }

      .timeline-item {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
        background: #f8fafc;
        border-radius: 15px;
        transition: all 0.3s ease;
        cursor: pointer;
        border: 1px solid #e2e8f0;
      }

      .timeline-item:hover {
        background: #2563eb;
        transform: translateX(10px);
      }

      .timeline-item:hover .timeline-date,
      .timeline-item:hover .timeline-content h4,
      .timeline-item:hover .timeline-content p,
      .timeline-item:hover .timeline-time {
        color: white;
      }

      .timeline-date {
        background: white;
        padding: 1rem;
        border-radius: 10px;
        text-align: center;
        min-width: 70px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
      }

      .date-day {
        display: block;
        font-size: 1.5rem;
        font-weight: 700;
        color: #2563eb;
      }

      .date-month {
        font-size: 0.8rem;
        color: #64748b;
        font-weight: 500;
      }

      .timeline-content {
        flex: 1;
      }

      .timeline-content h4 {
        color: #1e293b;
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        transition: color 0.3s ease;
      }

      .timeline-content p {
        color: #64748b;
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
        transition: color 0.3s ease;
      }

      .timeline-time {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        color: #94a3b8;
        font-size: 0.8rem;
        transition: color 0.3s ease;
      }

      /* مدال */
      .news-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        z-index: 1000;
        backdrop-filter: blur(5px);
      }

      .modal-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: white;
        border-radius: 20px;
        width: 90%;
        max-width: 800px;
        max-height: 90vh;
        overflow-y: auto;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
      }

      .close-modal {
        position: absolute;
        top: 20px;
        left: 20px;
        font-size: 2rem;
        color: #64748b;
        cursor: pointer;
        z-index: 10;
        background: rgba(255, 255, 255, 0.9);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
      }

      .close-modal:hover {
        color: #ef4444;
        transform: rotate(90deg);
      }

      .modal-header {
        position: relative;
        height: 300px;
        overflow: hidden;
      }

      .modal-header img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      .modal-title-section {
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
        padding: 2rem;
        color: white;
      }

      .modal-title-section h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
      }

      .modal-meta {
        display: flex;
        gap: 1.5rem;
        flex-wrap: wrap;
      }

      .modal-meta span {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.9rem;
        opacity: 0.9;
      }

      .modal-body {
        padding: 2rem;
      }

      .modal-content p {
        line-height: 1.8;
        color: #334155;
        margin-bottom: 1.5rem;
        font-size: 1.1rem;
      }

      .content-gallery {
        margin: 2rem 0;
      }

      .content-gallery h4 {
        color: #1e293b;
        margin-bottom: 1rem;
        font-size: 1.3rem;
      }

      .modal-gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        margin: 1.5rem 0;
      }

      .gallery-item {
        border-radius: 10px;
        overflow: hidden;
        height: 150px;
      }

      .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
      }

      .gallery-item:hover img {
        transform: scale(1.1);
      }

      .modal-actions {
        display: flex;
        gap: 1rem;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid #e2e8f0;
        flex-wrap: wrap;
      }

      .action-btn {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.8rem 1.5rem;
        border: none;
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 600;
        font-size: 0.9rem;
      }

      .share-btn {
        background: #3b82f6;
        color: white;
      }

      .save-btn {
        background: #10b981;
        color: white;
      }

      .print-btn {
        background: #f59e0b;
        color: white;
      }

      .action-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      }

      /* خبرنامه */
      .newsletter-section {
        background: rgba(255, 255, 255, 0.95);
        margin-top: 4rem;
        padding: 3rem 2rem;
        border-radius: 20px;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
      }

      .newsletter-content {
        max-width: 600px;
        margin: 0 auto;
      }

      .newsletter-text h3 {
        color: #1e293b;
        font-size: 1.8rem;
        margin-bottom: 1rem;
      }

      .newsletter-text p {
        color: #64748b;
        line-height: 1.6;
        margin-bottom: 2rem;
      }

      .newsletter-form {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
      }

      .form-group {
        display: flex;
        gap: 1rem;
      }

      .form-group input {
        flex: 1;
        padding: 1rem 1.5rem;
        border: 2px solid #e2e8f0;
        border-radius: 25px;
        outline: none;
        font-size: 1rem;
        transition: all 0.3s ease;
      }

      .form-group input:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
      }

      .form-group button {
        background: #2563eb;
        color: white;
        border: none;
        padding: 1rem 2rem;
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.5rem;
      }

      .form-group button:hover {
        background: #1d4ed8;
        transform: translateY(-2px);
      }

      .form-checkbox {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
      }

      .form-checkbox input {
        width: 18px;
        height: 18px;
      }

      .form-checkbox label {
        color: #64748b;
        font-size: 0.9rem;
        cursor: pointer;
      }

      /* انیمیشن‌ها */
      @keyframes fadeInUp {
        from {
          opacity: 0;
          transform: translateY(30px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      @keyframes slideInRight {
        from {
          opacity: 0;
          transform: translateX(30px);
        }
        to {
          opacity: 1;
          transform: translateX(0);
        }
      }

      .news-card.animated {
        animation: fadeInUp 0.6s ease forwards;
      }

      .timeline-item.animated {
        animation: slideInRight 0.6s ease forwards;
      }

      .stat-item.animated {
        animation: fadeInUp 0.6s ease forwards;
      }

      /* حالت تاریک */
      .dark-mode .news-events-section {
        background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
      }

      .dark-mode .news-controls,
      .dark-mode .stat-item,
      .dark-mode .news-card,
      .dark-mode .important-events-sidebar,
      .dark-mode .newsletter-section {
        background: rgba(30, 41, 59, 0.95);
        color: #cbd5e1;
        border-color: #334155;
      }

      .dark-mode .news-title,
      .dark-mode .important-events-sidebar h3,
      .dark-mode .newsletter-text h3 {
        color: #e2e8f0;
      }

      .dark-mode .news-summary,
      .dark-mode .newsletter-text p,
      .dark-mode .timeline-content p {
        color: #94a3b8;
      }

      .dark-mode .search-box {
        background: #334155;
      }

      .dark-mode .search-box input {
        background: transparent;
        color: #cbd5e1;
      }

      .dark-mode .timeline-item {
        background: #334155;
        border-color: #475569;
      }

      .dark-mode .timeline-date {
        background: #475569;
        color: #cbd5e1;
      }

      .dark-mode .date-day {
        color: #60a5fa;
      }

      .dark-mode .modal-content {
        background: #1e293b;
        color: #cbd5e1;
      }

      .dark-mode .modal-content p {
        color: #cbd5e1;
      }

      .dark-mode .modal-actions {
        border-color: #334155;
      }

      /* ریسپانسیو */
      @media (max-width: 1200px) {
        .news-grid {
          grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        }
      }

      @media (max-width: 768px) {
        .news-events-section {
          padding: 60px 0;
        }

        .section-header h2 {
          font-size: 2.2rem;
        }

        .news-controls {
          flex-direction: column;
          align-items: stretch;
        }

        .filter-buttons {
          justify-content: center;
        }

        .search-box {
          min-width: auto;
        }

        .news-grid {
          grid-template-columns: 1fr;
        }

        .quick-stats {
          grid-template-columns: repeat(2, 1fr);
        }

        .modal-content {
          width: 95%;
          margin: 20px auto;
        }

        .modal-header {
          height: 200px;
        }

        .modal-title-section h3 {
          font-size: 1.4rem;
        }

        .form-group {
          flex-direction: column;
        }

        .modal-actions {
          justify-content: center;
        }
      }

      @media (max-width: 480px) {
        .news-events-container {
          padding: 0 15px;
        }

        .section-header h2 {
          font-size: 1.8rem;
        }

        .quick-stats {
          grid-template-columns: 1fr;
        }

        .news-meta {
          flex-direction: column;
          gap: 0.5rem;
        }

        .timeline-item {
          flex-direction: column;
          text-align: center;
        }

        .modal-body {
          padding: 1.5rem;
        }

        .newsletter-section {
          padding: 2rem 1rem;
        }
      }

      /* پشتیبانی از لمسی */
      @media (hover: none) and (pointer: coarse) {
        .news-card:hover {
          transform: none;
        }

        .stat-item:hover {
          transform: none;
        }

        .timeline-item:hover {
          transform: none;
          background: #f8fafc;
        }

        .dark-mode .timeline-item:hover {
          background: #334155;
        }
      }/* End custom CSS */