  .event_us_header {
      font-family: Arial, sans-serif;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 40px;
      background-color: #f5f7fa;
  }

  .event_title h1 {
      font-size: 28px;
      font-weight: bold;
      color: #8b0000;
      margin: 0;
      font-family: "Lilita One", sans-serif;
      font-weight: 400;
      font-style: normal;
      max-width: 600px;
  }

  .return_home a,
  .return_home span {
      text-decoration: none;
      color: #1d2e45;
      font-weight: 600;
      text-transform: capitalize;
  }

  .return_home i {
      margin: 0 4px;
      color: #555;
  }

  .return_home a:hover,
  .return_home i:hover {
      color: #8b0000;
  }

  .return_home i {
      font-size: 18px;
  }

  .event_detail_container {
      max-width: 1500px;
      margin: 0 auto;
      padding: 20px 40px;
      display: flex;
      gap: 50px;

  }

  .event-grid {
      gap: 30px;
      flex: 1.7;
      margin: 30px 0;
  }

  .event_container {
      font-family: 'Oswald', sans-serif;
      display: flex;
      flex-direction: row;
      min-height: 100vh;
      margin-top: 65px;
      background-color: var(--dark-bg);
  }

  .left-section {
      flex: 1;
      background-color: #000;
      color: #fff;
      padding: 20px;
      display: flex;
      flex-direction: column;
      background-image: url("{{ event.image.url }}");
      background-size: cover;
      background-position: center;
      position: relative;
      min-height: 70vh;
      max-height: 70vh;
      border-right: 2px solid #8b0000;
      border-radius: 20px;
  }

  .left-section::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 100%);
      z-index: 1;
      border-radius: 20px;
  }

  .left-content {
      position: relative;
      z-index: 2;
      height: 100%;
      display: flex;
      flex-direction: column;
  }

  .title {
      font-size: 2.2rem;
      margin-bottom: 30px;
      border-bottom: 2px solid #8b0000;
      /* Updated to dark red */
      padding-bottom: 15px;
      font-weight: 600;
      text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
      display: flex;
      align-items: center;
      display: block;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 100%;

  }

  .title i {
      margin-right: 15px;
      color: #8b0000;
      /* Updated to dark red */
      font-size: 2rem;
  }

  .event-meta {
      display: flex;
      flex-direction: column;
      gap: 15px;
      margin-bottom: 40px;
  }

  .meta-item {
      display: flex;
      align-items: center;
  }

  .meta-item i {
      margin-right: 10px;
      color: #00c16e;
      /* Updated to bright green */
      font-size: 1.3rem;
  }

  .countdown-container {
      margin-top: auto;
  }

  .countdown-header {
      margin-bottom: 10px;
      font-size: 1.2rem;
      color: #00c16e;
      /* Updated to bright green */
  }

  .countdown {
      display: flex;
      gap: 10px;
      margin-top: 20px;
  }

  .countdown-box {
      background-color: rgba(0, 0, 0, 0.7);
      border: 2px solid #8b0000;
      /* Updated to dark red */
      width: 70px;
      height: 70px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      border-radius: 5px;
      box-shadow: 0 4px 8px rgba(139, 0, 0, 0.3);
      /* Dark red shadow */
      transition: transform 0.3s, border-color 0.3s;
  }

  .countdown-box:hover {
      border-color: #00c16e;
  }

  .countdown-label {
      display: flex;
      gap: 10px;
      margin-top: 5px;
      font-weight: 600;
  }

  .countdown-label div {
      width: 70px;
      text-align: center;
      font-size: 0.9rem;
      color: #00c16e;
      /* Updated to bright green */
  }

  .event-status {
      position: absolute;
      top: 20px;
      right: 20px;
      background-color: #8b0000;
      /* Updated to dark red */
      color: white;
      padding: 5px 15px;
      border-radius: 20px;
      font-weight: bold;
      text-transform: uppercase;
      font-size: 0.8rem;
      display: flex;
      align-items: center;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }

  .event-status i {
      margin-right: 5px;
      color: #00c16e;
      /* Updated to bright green */
  }

  .ended-event {
      display: flex;
      align-items: center;
      margin-top: auto;
      background-color: rgba(0, 0, 0, 0.7);
      padding: 15px;
      border-radius: 5px;
      border-left: 4px solid #8b0000;
      /* Updated to dark red */
  }

  .ended-event i {
      margin-right: 10px;
      color: #8b0000;
      /* Updated to dark red */
      font-size: 1.5rem;
  }

  /* Animation for countdown boxes */
  @keyframes pulse {
      0% {
          transform: scale(1);
      }

      50% {
          transform: scale(1.05);
      }

      100% {
          transform: scale(1);
      }
  }

  #seconds {
      animation: pulse 1s infinite;
      background-color: rgba(139, 0, 0, 0.2);
      /* Subtle dark red background */
  }

  .navigation {
      background-color: #f0f0f0;
      border-radius: 25px;
      padding: 15px;
      display: flex;
      justify-content: space-between;
      margin-top: 20px;
  }

  .nav-previous,
  .nav-next {
      display: flex;
      align-items: center;
      max-width: 45%;
  }

  .nav-button {
      width: 50px;
      height: 50px;
      background-color: #8b0000;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: bold;
      font-size: 24px;
  }

  .nav-button {
      display: flex;
      align-items: center;
      justify-content: center;
  }

  .nav-button svg {
      width: 50px;
      height: 50px;
  }

  .nav-content {
      padding: 0 15px;
  }

  .nav-label {
      font-size: 14px;
      color: #888;
      margin-bottom: 5px;
  }

  .nav-title {
      font-weight: 600;
      font-size: 16px;
      line-height: 1.3;
  }

  .nav-previous .nav-content {
      text-align: left;
  }

  .nav-next .nav-content {
      text-align: right;
  }

  .event_description {
      font-family: "Open Sans", sans-serif;
      line-height: 1.6;
      color: #000;
      padding: 16px;
      margin: 0 auto;
      max-width: 800px;
  }

  .event_description h1,
  .event_description h2,
  .event_description h3,
  .event_description h4,
  .event_description h5,
  .event_description h6 {
      font-family: "Libre Baskerville", serif;
      font-weight: 700;
      font-style: normal;
      color: #8B0000;
      margin: 16px 0;
      line-height: 1.3;
  }

  .event_description p {
      margin: 8px 0;
      font-size: 20px;
      font-family: "EB Garamond", serif;
      font-optical-sizing: auto;
      font-weight: 400;
      font-style: normal;
  }

  .event_description a {
      color: #8b0000;
      text-decoration: underline;
      font-weight: 600;
      font-size: 17px;

  }

  .event_description strong {
      font-size: 17px;
  }

  .event_description a:hover {
      color: #600000;
  }

  .event_description img {
      height: 400px;
      width: 100%;
      max-width: 100%;
      display: block;
      object-fit: cover;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      margin: 16px 0;
  }

  .event_description ul,
  .event_description ol {
      margin: 8px 0;
      padding-left: 20px;
      font-size: 16px;
  }

  .event_description blockquote {
      border-left: 4px solid #8b0000;
      padding: 8px 16px;
      margin: 16px 0;
      background-color: #f9f9f9;
      color: #600000;
      font-style: italic;
      font-family: "Merriweather", serif;
      font-size: 18px;
  }

  .container {
      max-width: 900px;
      margin: 0 auto;
  }

  .tag-container {
      display: flex;
      gap: 10px;
      margin-bottom: 40px;
  }

  .tag {
      display: flex;
      align-items: center;
      padding: 8px 15px;
      background-color: #f0f0f0;
      border-radius: 20px;
      font-size: 14px;
      text-transform: capitalize;
  }

  .tag-icon {
      width: 16px;
      height: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: bold;
      border-radius: 50%;
      margin-right: 8px;
  }

  .user-icon {
      background-color: #00c16e;
  }

  .date-icon {
      background-color: #00c16e;
  }

  .folder-icon {
      background-color: #00c16e;
  }

  .label-icon {
      background-color: #00c16e;
  }

  .full-screen {
      display: block;
  }

  .small-screen {
      display: none;
  }

  @media(max-width: 768px) {
      .event_detail_container {
          flex-direction: column;
          padding: 0 10px;
          gap: 10px;
      }

      .event_us_header {
          padding: 0 10px;
      }

      .left-section {
          max-height: 50vh;
          min-height: 50vh;
      }

      .event_description {
          padding: 20px 0;
      }

      .tag-container {
          margin-top: 20px;
      }

      .event_description h1,
      .event_description h2,
      .event_description h3,
      .event_description h4,
      .event_description h5,
      .event_description h6 {
          font-family: "Libre Baskerville", serif;
          font-weight: 700;
          font-style: normal;
          color: #8B0000;
          margin: 16px 0;
          line-height: 1.3;
          font-size: 1.5rem;
      }

      .tag-container {
          gap: 10px;
          width: 100%;
          align-items: center;
          justify-content: center;
      }

      .tag {
          padding: 8px 10px;
      }

      .nav-title {
          font-size: 14px;
      }

      .nav-button {
          width: 40px;
          height: 40px;
          font-size: 20px;
      }

      .full-screen {
          display: none;
      }

      .small-screen {
          display: block;
      }
  }