.icon-arrow-right{
    width: 20px;
    height: 20px;
    display: inline-block;
    background: currentColor;
    -webkit-mask: url('/static/admin/img/arrow-right-solid.svg') no-repeat center / contain;
    mask: url('/static/admin/img/arrow-right-solid.svg') no-repeat center / contain;
}
.background-tenant{
     background-image: linear-gradient(to bottom, rgb(250, 235, 233), rgb(252, 252, 252));
}
.background-tenant-reverse{
     background-image: linear-gradient(to top, rgb(250, 235, 233), rgb(252, 252, 252));
}
.banner-image{
    padding: 32px 32px 32px 5%;
    width: 49%;
    display: inline-block
}
.half-div{
    padding: 5%;
    width: 49%;
    display: inline-block;
    vertical-align: top;
}
.label-home{
    font-size: 1.2em;
}
.small-label-home{
    font-size: 1em;
}

.search-bar-container {
    margin-top: 16px;
    margin-bottom: 16px;
    max-width: 100%;
}
.search-form {
    display: flex;
    align-items: center;
    gap: 15px; /* Spacing between input and button */
}
.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    flex-grow: 1; /* Input takes available space */
}
.search-icon {
    position: absolute;
    left: 15px;
    display: flex;
    align-items: center;
    pointer-events: none;
}
.search-input {
    width: 100%;
    padding: 12px 15px 12px 50px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
    height: 50px;
}
.search-input:focus {
    border-color: #333;
}
.explore-btn {
    border-radius: 8px !important; /* Match input border radius if needed, or stick to common rounded-red-btn style */
    padding: 0 40px; /* Adjust padding as needed */
    height: 50px; /* Ensure height matches input */
    box-sizing: border-box;
    font-size: 18px; /* Match common.css */
    /* rounded-red-btn handles background, color, border, etc. */
}

/* About Block Styles */
.about-tenant {
    padding: 60px 5% 60px 5%;
    box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.05);
    background-image: url('../images/home-tenant-about-background.png');
    background-size: auto 100%, auto 100%, cover;
}

.about-tenant-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.about-tenant-text-section {
    flex: 1;
    max-width: 65%;
}

.about-tenant-image-section {
    flex: 0 0 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-tenant-image-placeholder {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.about-tenant-label-wrapper {
    margin-bottom: 25px;
}

.red-pill-label {
    background-color: #D50000; /* Fallback red */
    background-color: var(--primary-color, #D50000);
    color: white;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
}

.about-tenant-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
    color: #333;
    font-weight: 400;
}

.about-tenant-cards-container {
    display: flex;
    gap: 30px;
}

.about-tenant-card.pink-card {
    flex: 1;
    background-color: #F0E0E0; /* Light pink/beige similar to image */
    padding: 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
}

.about-tenant-card p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .about-tenant-content-wrapper {
        flex-direction: column;
    }
    
    .about-tenant-text-section {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .about-tenant-image-section {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-tenant-cards-container {
        flex-direction: column;
        gap: 20px;
    }
}

/* Become an Instructor Block */
.become-an-instructor-block {
    display: flex;
    align-items: center;
    gap: 50px;
    background-image: linear-gradient(to right, rgb(255, 255, 255) 70%, rgb(251, 238, 236));
    padding: 0;
    margin-top: 20px;
    margin-bottom: 60px;
}

.instructor-image-side {
    flex: 0 0 50%;
}

.instructor-image-side img {
    padding: 32px 32px 32px 10%;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px; /* Optional: if you want slight rounding on the image itself */
}

.instructor-content-side {
    flex: 1;
    padding-right: 20px;
}

.instructor-content-side .title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000;
}

.instructor-content-side .content {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #333;
}

.create-class-btn {
    border-radius: 8px !important;
    padding: 0 30px;
    height: 48px;
    font-size: 16px;
    font-weight: 500;
    background-color: #D50000; /* Use variable if available */
    background-color: var(--primary-color, #D50000);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-transform: capitalize; /* Ensure "Create Class Now" casing */
}

.create-class-btn:hover {
    background-color: #b70000;
    color: white;
}

/* Responsive for Become Instructor */
@media (max-width: 768px) {
    .become-an-instructor-block {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .instructor-image-side {
        width: 100%;
        max-width: 500px; /* Limit image width on mobile */
    }

    .instructor-content-side {
        padding-right: 0;
    }
}

/* Featured Classes */
.home-featured-classes-block{
    padding: 24px 5%;
}
.home-featured-classes-block .tenant-featured-wrapper {
    background: linear-gradient(90deg, #F04848 0%, #FF9966 100%);
    padding: 32px;
    border-radius: 16px;
    margin-top: 10px;
}
.home-featured-title {
    margin-top: 8px;
    font-size: 1.8em;
}
.tenant-featured-row {
    display: flex;
    gap: 24px;
    align-items: stretch;
}
.tenant-featured-cta {
    flex: 0 0 30%;
    padding: 24px;
    display: flex;
    align-items: center;
}
.tenant-featured-cta .cta-content h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}
.explore-courses-btn {
    background-color: #fff;
    color: #D50000;
    color: var(--primary-color, #D50000);
    border: 0;
    border-radius: 10px !important;
    padding: 8px;
    font-size: 16px;
    font-weight: 600;
}
.explore-courses-btn:hover {
    background-color: #ffecec;
}
.tenant-featured-cards {
    flex: 1;
    display: flex;
    gap: 16px;
    align-items: stretch;
}
.tenant-featured-card {
    flex: 1 1 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    overflow: hidden;
}
.home-class-card{
    width: 100%;
}
.tenant-featured-card .card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.tenant-featured-card .user-img-block {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    padding: 12px;
}
.tenant-featured-card .user-img-block img {
    width: auto;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
.tenant-featured-card .card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.home-featured-classes-block .lesson-title {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin: 0;
}
.home-featured-classes-block .sub-title {
    font-size: 13px;
    color: #666;
    margin: 0;
}
.tenant-featured-card .card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.tenant-featured-card .rating {
    font-size: 13px;
    color: #333;
}
.tenant-featured-card .rating .star {
    color: #FFC107;
    margin-right: 6px;
    font-size: 16px;
}
.tenant-featured-card .enroll-btn {
    background-color: #D50000;
    background-color: var(--primary-color, #D50000);
    color: #fff;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
}
@media (max-width: 991px) {
    .tenant-featured-row {
        flex-direction: column;
    }
    .tenant-featured-cta {
        flex: 1 1 auto;
    }
    .tenant-featured-cards {
        flex-direction: column;
    }
    .tenant-featured-card .user-img-block img {
        height: 180px;
    }
}
