.se-portal-wrapper {
    margin: 30px 0;
    font-family: Arial, sans-serif;
}

.se-portal-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
    flex-wrap: wrap;
}

.se-topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

#se-module-search {
    padding: 10px 14px;
    width: 220px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.se-subcat-filter {
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    min-width: 160px;
}

.se-progress-wrap {
    text-align: right;
    font-size: 13px;
}

.se-progress-bar {
    width: 200px;
    height: 6px;
    background: #e5e5e5;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 4px;
}

.se-progress-bar div {
    height: 100%;
    background: #1e4b7a;
}

.se-module-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .se-module-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .se-module-grid {
        grid-template-columns: 1fr;
    }
}

.se-module-card {
    position: relative;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.se-module-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.se-card-image {
    height: 140px;
    background-size: cover;
    background-position: center;
}

.se-card-body {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.se-card-body h4 {
    font-size: 15px;
    margin: 0 0 8px;
}

.se-card-body p {
    font-size: 13px;
    color: #555;
    flex: 1;
}

.se-view-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background: #1e4b7a;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
}

.se-view-btn:hover {
    background: #163a5d;
}

.se-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 11px;
    padding: 0px 8px;
    border-radius: 3px;
    color: #fff;
}

.se-badge.done {
    background: #2e8b57;
}

.se-badge.pending {
    background: #999;
}

.se-certificate-wrap {
      text-align: center;
    margin-top: 30px;
    float: left;
    width: 100%;
}
a.se-certificate-btn {
    color: #FFFFFF !important;
    background-color: #09243C;
    font-size: 15px;
    font-weight: 400;
    border-radius: 13px 13px 13px 13px;
    padding: 20px 35px 20px 35px;
    line-height: 60px;
}
.se-get-certificate {
    display: inline-block;
    padding: 12px 26px;
    font-size: 15px;
    background: #1e4b7a;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
}

.se-get-certificate:hover {
    background: #163a5d;
}

/* Container for the cards */
.web-instructor-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

/* Individual Card */
.web-instructor-card {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
	    gap: 15px;
  transition: box-shadow 0.3s ease;
}

.web-instructor-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ci-img {
  flex: 0 0 80px; 
  height: 80px; 
}

.ci-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
}

/* Content Section */
.ci-content {
  flex-grow: 1;
}

.ci-title {
  margin: 0 0 1px 0;
  font-size: 1.1rem;
  color: #333;
}

.ci-title a {
  text-decoration: none;
  color: inherit;
}

.ci-inst {
  font-weight: 600;
  color: #555;
  margin-bottom: 4px;
	font-size: 15px;
}

.ci-location {
  color: #777;
  font-size: 0.95rem;
}
/* ============================
   Fallback card (matches hub plugin)
   ============================ */

.se-image-fallback {
    position: relative;
    width: 100%;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 12px;
    color: #fff;
    overflow: hidden;
}

/* Title — vertically centered in its own flex row */
.se-fallback-title-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.se-fallback-title {
    font-size: 13px;
    color: #fff;
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
}

/* Slug + tags — pinned to the bottom */
.se-fallback-bottom {
    width: 100%;
    text-align: center;
}

.se-fallback-slug {
    font-size: 11px !important;
    color: #fff !important;
    opacity: 0.85;
    font-weight: normal !important;
    margin: 0 0 5px 0;
}

.se-fallback-tags b {
    display: inline-block;
    background: rgba(255, 255, 255, 0.24);
    padding: 5px 12px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 500;
    border-radius: 2px;
    margin: 0;
    line-height: 10px;
}
