.sp-tabs-b7318397 {
    font-family: inherit;
    width: 100%;
    margin: 0 auto;
}

/* Tabs Header Grid */
.sp-tabs-b7318397__header {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

/* Tab item / Icon box style */
.sp-tabs-b7318397__tab-item {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    outline: none;
}

.sp-tabs-b7318397__tab-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Active tab style with caret pointer */
.sp-tabs-b7318397__tab-item.is-active {
    border-color: #ff5a3c;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.sp-tabs-b7318397__tab-item.is-active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #ff5a3c transparent transparent;
    display: block;
    width: 0;
    z-index: 2;
}

/* Icon Box internal elements */
.sp-tabs-b7318397__tab-icon {
    font-size: 28px;
    margin-bottom: 12px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-tabs-b7318397__tab-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.sp-tabs-b7318397__tab-title {
    font-weight: 700;
    font-size: 14px;
    text-transform: capitalize;
    text-align: center;
}

/* Panel Area styling */
.sp-tabs-b7318397__panel-header {
    text-align: center;
    margin-bottom: 30px;
}

.sp-tabs-b7318397__panel-title {
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px;
    color: #111111;
}

.sp-tabs-b7318397__panel-subtitle {
    font-size: 15px;
    color: #666666;
    margin: 0;
}

/* Content Grid */
.sp-tabs-b7318397__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Card Styling */
.sp-tabs-b7318397__card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.sp-tabs-b7318397__card-img-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #eaeaea;
    overflow: hidden;
}

.sp-tabs-b7318397__card-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-tabs-b7318397__card-img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #eee 25%, #ddd 100%);
}

.sp-tabs-b7318397__card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sp-tabs-b7318397__card-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px;
    color: #111111;
}

.sp-tabs-b7318397__card-desc {
    font-size: 14px;
    color: #777777;
    margin: 0 0 15px;
}

.sp-tabs-b7318397__card-tag {
    font-size: 13px;
    font-weight: 700;
    color: #ff5a3c;
    text-transform: uppercase;
    margin-top: auto;
}

.sp-tabs-b7318397__no-posts {
    text-align: center;
    grid-column: 1 / -1;
    color: #888;
    padding: 30px;
}
