
/* From about/contact.ejs */
@media (max-width: 768px) {
      .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
      }
    }

/* From about/history.ejs */
.decade-filter-container {
      display: flex;
      justify-content: center;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 40px;
    }

    .decade-btn {
      background-color: #ffffff;
      border: 1px solid var(--border-color);
      color: var(--text-secondary);
      padding: 8px 18px;
      font-size: 0.95rem;
      font-weight: 600;
      border-radius: 20px;
      cursor: pointer;
      transition: all 0.25s ease;
      text-decoration: none;
      display: inline-block;
    }

    .decade-btn:hover {
      background-color: #f1f5f9;
      color: var(--primary-color);
      border-color: var(--primary-color);
    }

    .decade-btn.active {
      background-color: var(--primary-color);
      color: #ffffff;
      border-color: var(--primary-color);
      box-shadow: 0 4px 10px rgba(26, 54, 93, 0.15);
    }

    .decade-header-item {
      position: relative;
      width: 100%;
      text-align: center;
      margin: 50px 0 30px 0;
      z-index: 2;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .decade-badge {
      background-color: var(--primary-color);
      color: #ffffff;
      padding: 8px 24px;
      font-size: 1.1rem;
      font-weight: 700;
      border-radius: 30px;
      border: 3px solid #ffffff;
      box-shadow: 0 4px 12px rgba(26, 54, 93, 0.18);
      display: inline-block;
    }

    .history-timeline {
      position: relative;
      max-width: 1100px;
      margin: 40px auto 0 auto;
      padding: 20px 0;
    }

    .history-timeline-line {
      position: absolute;
      left: 30px;
      top: 0;
      bottom: 0;
      width: 3px;
      background-color: rgba(26, 54, 93, 0.12);
      border-radius: 2px;
    }

    .history-item {
      position: relative;
      margin-bottom: 40px;
      padding-left: 60px;
      transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .history-marker {
      position: absolute;
      left: 21px;
      top: 8px;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background-color: #ffffff;
      border: 4px solid var(--accent-color);
      z-index: 2;
      transition: background-color 0.2s;
    }

    .history-item:hover .history-marker {
      background-color: var(--primary-color);
    }

    .history-year {
      font-size: 1.15rem;
      font-weight: 800;
      color: var(--primary-color);
      margin-bottom: 10px;
      text-align: left;
    }

    .history-card {
      background-color: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: 10px;
      padding: 20px;
      box-shadow: var(--shadow-sm);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .history-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow);
      border-color: rgba(26, 54, 93, 0.2);
    }

    .history-event-row {
      display: flex;
      align-items: flex-start;
      padding: 12px 0;
    }

    .event-date {
      min-width: 95px;
      font-weight: 700;
      color: var(--accent-color);
      font-size: 0.95rem;
      text-align: right;
      padding-right: 15px;
      border-right: 2px solid rgba(26, 54, 93, 0.15);
      margin-right: 15px;
      white-space: nowrap;
    }

    .event-text {
      flex: 1;
      font-size: 0.95rem;
      color: var(--text-main);
      line-height: 1.6;
      text-align: left;
    }

    @media (max-width: 576px) {
      .history-timeline-line {
        left: 15px;
      }

      .history-marker {
        left: 6px;
      }

      .history-item {
        padding-left: 35px;
      }
    }

    @media (max-width: 480px) {
      .history-event-row {
        flex-direction: column;
      }

      .event-date {
        text-align: left;
        border-right: none;
        border-left: 2px solid var(--accent-color);
        padding-right: 0;
        padding-left: 10px;
        margin-right: 0;
        margin-bottom: 5px;
        min-width: auto;
      }
    }

    @media (max-width: 768px) {
      .decade-filter-container {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding: 0 15px 10px 15px !important;
        margin-bottom: 25px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
      }
      .decade-filter-container::-webkit-scrollbar {
        display: none;
      }
      .decade-btn {
        padding: 6px 14px;
        font-size: 0.85rem;
      }
    }
