/* Blog Detail Page Styles */
.container_blog {
  max-width: 1260px;
  margin: 0 auto;
  padding: 140px 20px 60px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

/* Left Content - Main Blog Area */
.left-content {
  flex: 1;
  min-width: 0;
  color: #222;
}

.left-content img.event-banner {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

/* Blog Content Section */
.blog-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

/* Blog Title */
.blog-content .event-title {
  font-family: "Fira Sans Condensed", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: 0.5px;
  color: #000;
  margin: 0 0 8px 0;
}

/* Date Badge */
.date-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ebebeb;
  padding: 6px 12px;
  border-radius: 50px;
  font-family: 'Fira Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  width: fit-content;
}

/* Old Badge - Hidden */
.badge,
.tag.badge {
  display: none;
}

/* Event Text / Blog Body */
.event-text {
  color: #222;
  font-family: 'Fira Sans', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
  margin-top: 24px;
}

.event-text p {
  margin: 0 0 20px;
}

/* Right Sidebar - Suggested Blogs (Figma design) */
.blog-sidebar {
  flex: 0 0 320px;
  max-width: 320px;
  position: sticky;
  top: 120px;
  height: fit-content;
}

.sidebar-title {
  font-family: "Fira Sans Condensed", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #000;
  margin: 0 0 24px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.suggested-blog-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.suggested-blog-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.suggested-blog-item:hover {
  opacity: 0.8;
}

.suggested-blog-item img {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

.suggested-blog-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.suggested-blog-item h3 {
  font-family: "Fira Sans Condensed", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  color: #000;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.suggested-blog-date {
  font-family: "Fira Sans", sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #666;
}

/* Right Sidebar - Contact Form */
.form-box {
  flex: 0 0 370px;
  max-width: 370px;
  position: sticky;
  top: 100px;
  height: fit-content;
  background: #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
}

.contact-container {
  height: auto !important;
  margin: 0;
}

.form-content form{
  width:100%;
}

/* Form Header */
.form-box .form-title {
  font-family: "Playfair Display";
  background: #efedef;
  padding: 16px 24px;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #222;
  line-height: 23px;
  text-transform: lowercase;
}

.form-box .form-title::first-letter {
  text-transform: uppercase;
}

/* Form Content Area */
.form-box .form-content {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: 20px 24px;
}

.form-box .form-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 0;
}

/* Input Fields */
.form-box .input-field {
  width: 100%;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 10px 18px;
  font-family: 'Fira Sans', sans-serif;
  font-size: 14px;
  color: #444;
  line-height: 22px;
  box-sizing: border-box;
  min-width: 200px;
}

.form-box .input-field::placeholder {
  color: #444;
}

.form-box .input-field:focus {
  outline: none;
  border-color: #ccc;
}

/* Date Input Wrapper */
.date-input-wrapper {
  position: relative;
  width: 100%;
}

.date-input-wrapper .input-field {
  padding-right: 45px;
}

.date-input-wrapper .calendar-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
}

/* Submit Button */
.form-box .submit-button {
  width: 90%;
  background: #141414;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-family: 'Fira Sans Condensed', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  line-height: 22px;
  margin-top: 14px;
  transition: background 0.3s ease;
}

.form-box .submit-button:hover {
  background: #333;
}

/* Form Footer */
.form-box .contact-footer {
  background: #efedef;
  backdrop-filter: blur(10px);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-box .contact-footer div {
  display: flex;
  flex-direction: column;
}

.form-box .contact-footer p {
  margin: 0;
  font-family: 'Fira Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #222;
  line-height: 1.4;
}

.form-box .contact-footer a {
  color: #222;
  text-decoration: none;
}

.form-box .contact-footer div:last-child {
  text-align: right;
}

/* Responsive Styles */
@media (max-width: 1300px) {
  .container_blog {
    max-width: 100%;
    padding: 120px 40px 60px;
  }

  .left-content {
    flex: 1;
    max-width: none;
  }

  .form-box {
    flex: 0 0 340px;
    max-width: 340px;
  }
}

@media (max-width: 1024px) {
  .container_blog {
    flex-direction: column;
    align-items: stretch;
    padding: 100px 20px 40px;
  }

  .left-content {
    width: 100%;
    max-width: none;
  }

  .blog-sidebar {
    flex: none;
    max-width: none;
    position: relative;
    top: auto;
    margin-top: 48px;
    order: 2;
  }

  .form-box {
    width: 100%;
    max-width: 500px;
    flex: none;
    position: relative;
    top: auto;
    margin-top: 40px;
  }

  .left-content img.event-banner {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .container_blog {
    padding: 90px 16px 30px;
  }

  .left-content img.event-banner {
    height: 280px;
  }

  .blog-content .event-title {
    font-size: 24px;
  }

  .event-text {
    font-size: 16px;
    line-height: 1.6;
  }

  .date-badge {
    font-size: 13px;
    padding: 5px 10px;
  }

  .form-box {
    max-width: 100%;
  }

  .form-box .form-title {
    font-size: 16px;
    padding: 14px 20px;
  }

  .form-box .form-content {
    padding: 16px 20px;
  }

  .form-box .contact-footer {
    padding: 14px 20px;
    gap: 12px;
  }

  .form-box .contact-footer div:last-child {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .left-content img.event-banner {
    height: 220px;
  }

  .blog-content .event-title {
    font-size: 20px;
  }

  .event-text {
    font-size: 15px;
  }
}

.calendar-icon {
  cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* Firefox */
input[type="date"] {
  appearance: none;
}