/* =========================================================
   DreamArt Triple Banner  v2.0
   ========================================================= */

/* ---- Row ---- */
.dreamart-triple-banner {
    align-items: stretch;
}

.triple-banner {
 	display: flex;
	gap: 32px;
	align-items: stretch;   
}

.dreamart-triple-banner > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

/* ---- Card ---- */
.dreamart-tb-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    flex: 1;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.dreamart-tb-card.box_1{
    text-align: center;
}

.dreamart-tb-card.box_1,.dreamart-tb-card.box_2{
    flex: 0 1 307px;
	max-width: 307px;
}

.dreamart-tb-card.box_1 .dreamart-tb-card__small{
    font-size: 18px;
    font-weight: bold;
    line-height: 30px;
    margin: 0;
}

.dreamart-tb-card.box_1 .dreamart-tb-card__heading{
    font-weight: 700;
    font-size: 28;
    line-height: 30px;
    letter-spacing: 0%;
    margin-bottom: 10px;
}




.dreamart-tb-card.box_1 .dreamart-tb-card__subtitle{
    color: #ffffff;
	background: #C7361A;
	display: block;
	width: fit-content;
	margin: 0 auto 20px;
	border-radius: 6px;
	padding: 1px 5px;
	font-weight: bold;
	font-size: 17px;
	line-height: 30px;
	letter-spacing: 0;
}

.dreamart-tb-card.box_1 .dreamart-tb-card__btn{
    margin: auto;
}

.dreamart-tb-card.box_2 .dreamart-tb-card__small{
	font-size: 17px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 0;
	line-height: 30px;
}

.dreamart-tb-card.box_2 .dreamart-tb-card__heading{
	font-size: 24px;
	line-height: 30px;
	margin-bottom: 20px;
}

.dreamart-tb-card.box_2 .dreamart-tb-card__heading span{
    color: #59358C;
}

/* ---- Background image (full cover) ---- */
.dreamart-tb-card__bgimg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 0;
}

/* ---- Decorative image (bottom-right corner) ---- */
.dreamart-tb-card__deco {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

/* ---- Inner content ---- */
.dreamart-tb-card__inner {
    position: relative;
    z-index: 2;
    padding: 24px 28px 46px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ---- Logo ---- */
.dreamart-tb-card__logo {
	max-height: 70px;
	width: auto;
	margin: 0 auto 20px;
	object-fit: contain;
	object-position: left center;
}

/* ---- Small text (eyebrow) ---- */
.dreamart-tb-card__small {
    font-size: 11px;
    font-weight: 700;
}

/* ---- Heading ---- */
.dreamart-tb-card__heading {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 10px;
    text-transform: uppercase;
}

/* col-6 banner gets bigger heading */
.col-6 .dreamart-tb-card__heading {
    font-size: 28px;
}

/* ---- Subtitle ---- */
.dreamart-tb-card__subtitle {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 20px;
    letter-spacing: 0.04em;
}

/* ---- Button ---- */
.dreamart-tb-card__btn {
	padding: 7px 20px;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	transition: opacity 0.2s ease, transform 0.15s ease;
	display: block;
	width: fit-content;
}

.dreamart-tb-card__btn:hover,
.dreamart-tb-card__btn:focus {
  background-color: transparent !important;
  color: white !important;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 991px) {
    .dreamart-tb-card__inner {
        padding: 18px 20px;
    }

    .dreamart-tb-card__heading {
        font-size: 17px;
    }

    .dreamart-tb-card__logo {
        max-height: 32px;
    }
}



@media (max-width:1399px){
    .triple-banner{
        flex-wrap: wrap;
    }

    .dreamart-tb-card{
        &.box_0{
            width: 100%;
            flex: initial;
        }

        &.box_1,&.box_2{
            flex: 0 1 calc(50% - 16px);
	        max-width: calc(50% - 16px);
        }
    }
}

@media (max-width: 575px) {
    .dreamart-triple-banner {
        flex-direction: column;
    }

    .dreamart-tb-card {
        min-height: 160px;
    }

    .dreamart-tb-card{
        &.box_1,&.box_2{
            flex: 0 1 100%;
	        max-width: 100%
        }
    }

    .dreamart-tb-card__deco{
        width: 40%;
    }

}