﻿/* Workshop Page Styles */
/* Main title styling */
body {
  /* font-family: "Open Sans", sans-serif; */ }

#workshop {
  background-color: #edeef1;
  padding: 27px 0px; }

.workshop-title {
  font-weight: 700;
  color: #3b3f54;
  margin: 0; }

/* Workshop card styling */
.workshop-card {
  background-color: #f5f5f5;
  border: none;
  border-radius: 20px !important;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease; }

/* Workshop accordion button styling */
.workshop-card .accordion-button {
  padding: 1.25rem 2.5rem 1.7rem 2.5rem;
  border-radius: 12px;
  background-color: transparent;
  border: none;
  box-shadow: none; }

.workshop-card .accordion-button:not(.collapsed) {
  background-color: transparent;
  box-shadow: none; }

.workshop-card .accordion-button:focus {
  box-shadow: none; }

/* Workshop title section */
.workshop-title-section {
  width: 100%;
  text-align: left; }

.workshop-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: #000000;
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
  display: block; }

.workshop-meta {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap; }

.price {
  font-size: 0.875rem;
  font-weight: 700;
  color: #287921;
  display: flex;
  align-items: center; }

.date {
  font-size: 0.875rem;
  font-weight: 700;
  color: #515151;
  display: flex;
  align-items: center; }

/* Accordion body styling */
.accordion-body {
  padding: 0rem 2.5rem 2.3rem 2.5rem;
  background-color: #f5f5f5;
  border-radius: 0 0 20px 20px; }

.workshop-description {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #717171;
  margin-bottom: 1.25rem;
  text-align: justify; }

.workshop-meta img {
  width: 18px; }

/* Workshop footer with speaker info and button */
.workshop-footer {
  display: flex;
  align-items: center;
  /* flex-wrap: wrap; */
  gap: 1rem; }

.speaker-info {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 9px 20px 10px 10px;
  background-color: #ffffff;
  border-radius: 175px; }

.speaker-avatar {
  border-radius: 50%;
  overflow: hidden;
  color: #6c757d; }

.speaker-avatar img {
  width: 2.25rem;
  height: 2.25rem; }

.speaker-details {
  display: flex;
  flex-direction: column; }

.speaker-label {
  font-size: 0.75rem;
  color: #000000;
  font-weight: 600;
  line-height: 1.1; }

.speaker-name {
  font-size: 1rem;
  color: #808080;
  font-weight: 600; }

/* Register button styling */
.register-btn {
  background-color: #3b3f54;
  border: none;
  padding: 1.1rem 2.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 60px;
  transition: all 0.3s ease;
  white-space: nowrap; }

.register-btn:hover {
  background-color: #292c3a; }

/* Accordion arrow styling for both states */
.accordion-button::after {
  background-image: url("../icons/arrow.svg");
  background-repeat: no-repeat;
  background-size: 8px;
  transform: rotate(0deg);
  transition: transform 0.3s ease; }

/* Rotate arrow 90 degrees when accordion is expanded */
.accordion-button:not(.collapsed)::after {
  transform: rotate(90deg);
  background-image: url("../icons/arrow.svg"); }

/* Contact information styling */
.contact-info {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e9ecef; }

.contact-info p {
  font-size: 1rem;
  color: #495057;
  margin: 0; }

.contact-link {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease; }

.contact-link:hover {
  color: #0b5ed7;
  text-decoration: underline; }

/* Smooth transitions for accordion */
.accordion-collapse {
  transition: height 0.35s ease; }

/* Removed accordion-button::after styling to prevent conflicts with Bootstrap */
/* Responsive design */
@media (max-width: 1199px) {
  #workshop {
    padding: 20px 0px; }
  .workshop-title {
    font-size: 2rem; }
  .workshop-card {
    border-radius: 15px !important; }
  .workshop-card .accordion-button {
    padding: 1.125rem 1.25rem 1.5rem 1.25rem; }
  .workshop-name {
    font-size: 1.25rem; }
  .accordion-body {
    padding: 0rem 1.25rem 2rem 1.25rem;
    border-radius: 0 0 15px 15px; }
  .speaker-info {
    padding: 7px 20px 8px 10px; }
  .register-btn {
    padding: 0.97rem 2.65rem; } }

@media (max-width: 991px) {
  #workshop {
    padding: 20px 0px; }
  .workshop-title {
    font-size: 1.5rem; }
  .workshop-name {
    font-size: 1.2rem; }
  .workshop-card .accordion-button {
    padding: 1rem 1.5rem 1rem 1.5rem;
    border-radius: 12px !important; }
  .workshop-card {
    border-radius: 12px !important; }
  .accordion-body {
    padding: 0rem 1.5rem 1.5rem 1.5rem;
    border-radius: 0 0 12px 12px; }
  .speaker-info {
    padding: 6px 20px 7px 10px; }
  .speaker-name {
    font-size: 0.875rem; }
  .register-btn {
    padding: 0.875rem 2.65rem; } }

@media (max-width: 767px) {
  #workshop {
    padding: 1rem 0px; }
  .workshop-title {
    font-size: 2.5rem; }
  .workshop-name {
    font-size: 1rem; }
  .price,
  .date {
    font-size: 0.75rem; }
  .workshop-meta img {
    width: 14px; }
  .workshop-card {
    border-radius: 10px !important; }
  .workshop-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem; }
  .register-btn {
    width: 100%;
    text-align: center;
    padding: 0.8rem 1rem; }
  .speaker-info {
    width: 100%;
    padding: 6px 20px 6px 10px; }
  .workshop-title {
    font-size: 1.25rem; }
  .speaker-name {
    font-size: 0.875rem; }
  .speaker-avatar img {
    width: 2rem;
    height: 2rem; }
  .workshop-card .accordion-button {
    padding: 1rem; }
  .accordion-body {
    padding: 1rem; }
  .contact-info {
    padding: 1.5rem; } }

@media (max-width: 576px) {
  .workshop-footer {
    flex-direction: column;
    align-items: flex-start; } }

.register-btn:hover {
  background-color: #757887;
  transform: scale(1.05);
  /* slight zoom effect */
  color: #fff;
  /* keep text visible */ }

/* Custom accordion arrow styling - removed conflicting styles to allow Bootstrap functionality */
