/* === FILTER SECTION === */
#seminar-filter {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 40px;
    margin-bottom: 20px;
    border-bottom: 5px solid #f4e5c5;
}
#seminar-filter div{
    flex: 1;
}

#seminar-filter select {
  background-color: #f1e6ca; /* beige */
  border: 1px solid #d6c4a5;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 16px;
  color: #2e2e2e; /* brownish text */
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%204%205'%3E%3Cpath%20fill='%235c3b1e'%20d='M2%205L0%200h4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
  min-width: 180px;
}

#seminar-filter select:focus {
  outline: none;
  border-color: #b99c75;
  box-shadow: 0 0 0 2px rgba(185, 156, 117, 0.3);
}


/* === SEMINAR LIST === */
.seminar-item {
     margin-bottom: 10px;
    padding-bottom: 0;
}

.seminar-inner {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.seminar-thumb img {
  width: 155px;
  height: 100%;
  object-fit: cover;
  border-radius: 0px;
	max-height:100%;


}
h3.seminar-title {
    font-size: 20px;
    margin-bottom: 4px;
    color: #2e2e2e;
}
p.seminar-excerpt {
    margin: 0;
    color: #2e2e2e;
}
.seminar-date {
    min-width: 155px;
    text-align: center;
    background: #f0e6d6;
    border-radius: 0px;
    padding: 8px;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.2;
    height: -webkit-fill-available;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.seminar-date .day {
  font-size: 24px;
  color: #2e2e2e;
}

.seminar-date .month {
  font-size: 14px;
  color: #2e2e2e;
}

.seminar-info {
  flex: 1;
}

.seminar-category {
  color: #a59e8f;
  font-size: 13px;
  margin-bottom: 5px;
}

.date-range, .teacher {
  font-size: 14px;
  margin-bottom: 4px;
  color: #6d6d6d;
}

.seminar-title {
  font-size: 18px;
  margin: 8px 0;
  color: #333;
}

.seminar-excerpt {
  font-size: 14px;
  color: #555;
}

.seminar-action {
  display: flex;
    align-items: center;
}

.btn-register {
  background: #c19d5e;
  color: #fff;
  padding: 10px 15px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
}

.btn-register:hover {
  color: #2e2e2e;
}


.seminar-item .button:hover {
    background: #5c3b1e;
}

/* === LOAD MORE BUTTON === */
#load-more-seminars {
    display: inline-block;
    margin: 30px auto 0;
    padding: 12px 28px;
    font-size: 16px;
    background: #5c3b1e;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
}

#load-more-seminars:hover {
    background: #5c3b1e;
}

.external-seminars-head{
  display: none;
}
#load-more-seminars{
  display: none;
}
p.no-results{
  text-align: center;
}
.woocommerce-product-details__short-description {
    display: none;
}
/* === LOADER === */
#seminar-loader {
    z-index: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-height: 250px;
    margin-top: 50px;
}

#seminar-loader img {
    width: 40px;
    height: 40px;
}

/* === ANIMATION === */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CSS loader */
.seminar-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  color: #2e2e2e;
  font-family: 'Segoe UI', sans-serif;
  margin-top: 85px;
}

.svg-cap {
  position: relative;
  width: 100px;
  height: auto;
  animation: bounce 1.3s infinite ease-in-out;
}

.svg-cap svg {
  width: 100%;
  height: auto;
}

.cap-top, .cap-stand, .cap-base {
  fill: none;
  stroke: #5c3b1e;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-width: 12;
}

.tassel {
  position: absolute;
  top: 28%;
  right: 40%;
  width: 4px;
  height: 60px;
  background: #ffc107;
  transform-origin: top center;
  animation: swing 1s ease-in-out infinite alternate;
  border-radius: 2px;
}

.text {
  margin-top: 20px;
  font-size: 1.3rem;
  font-weight: 500;
  animation: pulseText 1.6s ease-in-out infinite;
}

/* Animations */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes swing {
  from { transform: rotate(0deg); }
  to { transform: rotate(20deg); }
}

@keyframes pulseText {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* External Seminars css */

/* === EXTERNAL SEMINAR LIST (REDESIGNED) === */
.seminar-item {
/*     border-top: 1px solid #eee;
    border-bottom: 1px solid #eee; */
/*     padding: 10px 0; */
}

.seminar-inner {
    display: flex;
    background: #ffffff;
    justify-content: space-between;
    align-items: stretch;
}

.seminar-date {
    width: 100px;
    min-width: 100px;
    background: #fbf9f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    padding: 10px;
    text-align: center;
}

.seminar-date .day {
    font-size: 40px;
    color: #2e2e2e;
    line-height: 1;
}

.seminar-date .month {
    font-size: 14px;
    color: #2e2e2e;
    font-weight: 500;
}

.woocommerce-js div.product .woocommerce-tabs .panel {
    flex: 1;
    background: #fbf9f0;
    padding: 40px 30px;
    box-sizing: border-box;
    font-size: 16px;
}

.seminar-item .seminar-info {
    flex: 1;
    background: #fbf9f0;
    padding: 15px 25px;
    box-sizing: border-box;
    font-size: 14px;
}

.institute {
    font-size: 13px;
    color: #2e2e2e;
    margin-bottom: 5px;
}

.date-range {
    font-weight: bold;
    margin-bottom: 5px;
    color: #2e2e2e;
}

.teacher {
    color: #2e2e2e;
    margin-bottom: 4px;
}

.seminar-title {
    font-size: 18px;
    font-weight: bold;
    color: #2e2e2e;
    margin: 8px 0;
}

.seminar-contact {
    font-size: 14px;
    color: #2e2e2e;
}

.seminar-action {
    width: 120px;
    min-width: 120px;
    background: #fbf9f0;
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 10px;
    text-align: center;
}
.seminar-category a {
    color: #2e2e2e;
    font-style: italic;
}

.btn-register {
    display: inline-block;
    background: #897756;
    color: #fff;
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}


.external-seminar-controls button {
    background: transparent;
    padding: 0 5px;
    font-size: 24px;
}
.external-seminar-controls span#current-month-label {
    font-size: 24px;
    color: #2e2e2e;
    font-weight: 600;
}
.seminar-list hr {
background-color: #ccc;
     border: 0;
    height:0px;
   margin-bottom: 0em;
}
h2.seminars-top-headings {
    color: #2e2e2e;
    font-weight: normal;
    font-size: 24px;
    padding: 10px 15px;
    background: #E4CE9B;
    margin-top: 50px;
}
.seminars-banner-section{
	margin-bottom:100px !important;
	margin-top:40px !important
}


form#seminar-filter{
	gap:30px;
}
form#seminar-filter div{
    flex-direction: column;
    display: inline-flex;
}



.seminars-footer-top-section{
	margin-top:100px !important;
}
.seminars-footer-top-section h2{
	color:#2e2e2e;
	font-weight:normal;
}
.seminars-footer-top-section p{
	color:#2e2e2e;
}

@media (max-width: 768px) {
 
  /* Base layout (desktop default — stacked or existing styles) */
	.seminar-inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px; /* optional */
	}
  .seminar-inner {
/*     display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "thumb date"
      "info info"
      "action action";
    gap: 2px; */
    align-items: start;
	          display: flex;
        flex-direction: column;
  }

  .seminar-thumb {
    grid-area: thumb;
  }

  .seminar-date {
    grid-area: date;
  }

  .seminar-info {
    grid-area: info;
  }

  .seminar-action {
    grid-area: action;
    width: 100%;
  }
  .seminar-thumb img {
      width: 100%;
  }
  .seminar-date {
    width: 100%;
  }
  form#seminar-filter {
    gap: 10px;
	 width:100%;
}
#seminar-filter label {
    font-weight: 600;
    font-size: 14px;
}

}
