/* RT Custom Elementor Widgets – base design. Every value can be overridden from the Elementor widget panel. */

.rt-w{--rt-accent:#ff1f4b;box-sizing:border-box;width:100%}
.rt-w *,.rt-w *::before,.rt-w *::after{box-sizing:border-box}
:where(.rt-w) a{color:inherit;text-decoration:none}
.rt-w img{display:block;max-width:100%;height:auto}
.rt-w ul{list-style:none;margin:0;padding:0}

/* ---------- Shared parts ---------- */
.rt-h{display:flex;align-items:center;gap:24px;margin:0 0 34px}
.rt-h__text{flex:0 0 auto;margin:0;font-family:"Jost",sans-serif;font-size:24px;line-height:1.3;font-weight:700;color:#000}
.rt-h__line{flex:1 1 auto;height:5px;border:0 dotted #b5b5b5;border-width:1px 0;border-style:dotted}

.rt-thumb{position:relative;display:block;overflow:hidden;aspect-ratio:3/2;background:#eee}
.rt-thumb img{width:100%;height:100%;object-fit:cover}

.rt-badges{margin:0 0 10px;line-height:1}
.rt-badge{display:inline-block;padding:4px 8px;font-family:"Poppins",sans-serif;font-size:10px;font-weight:700;line-height:1.3;text-transform:uppercase;color:#fff;background:var(--rt-accent);border-radius:3px}

.rt-title{margin:0;font-family:"Jost",sans-serif;font-size:16px;line-height:1.4;font-weight:700;color:#000}
.rt-title a{color:inherit;font:inherit;text-decoration:none}

.rt-meta{display:flex;align-items:center;gap:6px;margin:12px 0 0;font-family:"Poppins",sans-serif;font-size:13px;line-height:1.4;color:#555}
.rt-meta svg{flex:none;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.rt-excerpt{margin:10px 0 0;font-size:14px;line-height:1.6;color:#555}
.rt-empty{grid-column:1/-1;margin:0;color:#777}

.rt-btn{display:inline-block;margin-top:22px;padding:14px 32px;font-family:"Poppins",sans-serif;font-size:12px;font-weight:600;line-height:1.2;text-transform:uppercase;color:#000;background:#fff;border:1px solid #e5e5e5;border-radius:3px;transition:all .2s ease}
.rt-btn:hover{color:#fff;background:var(--rt-accent);border-color:var(--rt-accent)}

/* ---------- RT – Featured Content ---------- */
.rt-fc{display:grid;grid-template-columns:var(--rt-left,26.5%) minmax(0,1fr) var(--rt-right,25%);column-gap:22px}
.rt-fc>*{min-width:0}
.rt-fc__lh{grid-column:1/3;grid-row:1}
.rt-fc__rh{grid-column:3;grid-row:1}
.rt-fc__left{grid-column:1;grid-row:2}
.rt-fc__mid{grid-column:2;grid-row:2}
.rt-fc__right{grid-column:3;grid-row:2}

.rt-fc__list{height:465px;overflow-y:auto;padding:26px 36px 0 28px;background:#fff;border:1px solid #e8e8e8}
.rt-fc__list li{padding:20px 0;border-top:1px solid #ececec}
.rt-fc__list li:last-child{padding-bottom:22px}
.rt-fc__list::-webkit-scrollbar{width:14px}
.rt-fc__list::-webkit-scrollbar-track{background:#fff}
.rt-fc__list::-webkit-scrollbar-thumb{background:#8a8a8a;border:3px solid #fff;border-radius:8px}
.rt-fc__list::-webkit-scrollbar-button:single-button{display:block;height:14px;background:#fff no-repeat center/8px 6px}
.rt-fc__list::-webkit-scrollbar-button:single-button:vertical:decrement{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 6'><path d='M4 0l4 6H0z' fill='%238a8a8a'/></svg>")}
.rt-fc__list::-webkit-scrollbar-button:single-button:vertical:increment{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 6'><path d='M4 6L0 0h8z' fill='%238a8a8a'/></svg>")}

.rt-fc__videos{display:flex;flex-direction:column;gap:9px}
.rt-vid{position:relative;overflow:hidden;aspect-ratio:16/9;background:#000}
.rt-vid iframe,.rt-vid video{position:absolute;inset:0;width:100%;height:100%;border:0}

.rt-fc__post{padding-right:13.5%;margin-bottom:20px}
.rt-fc__post .rt-badges{margin:21px 0 10px}
.rt-fc__post .rt-title{line-height:1.5;font-size:17px}

/* ---------- RT – Today Trending ---------- */
.rt-tt__head{display:flex;flex-wrap:wrap;align-items:center;gap:24px;margin-bottom:38px}
.rt-tt__head .rt-h{flex:1 1 200px;margin:0}
.rt-tt__tabs{display:flex;flex-wrap:wrap;gap:8px}
.rt-tt--tabs-below .rt-tt__head{display:block}
.rt-tt--tabs-below .rt-tt__head .rt-h{margin-bottom:20px}

.rt-tt__tab{appearance:none;margin:0;padding:7px 16px;font-family:"Poppins",sans-serif;font-size:12px;font-weight:600;line-height:1.4;text-transform:uppercase;color:#000;background:#fff;border:1px solid #ececec;border-radius:3px;cursor:pointer;transition:all .2s ease}
.rt-tt__tab:hover,.rt-tt__tab.is-active{color:#fff;background:var(--rt-accent);border-color:var(--rt-accent)}

.rt-tt__body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 35px;transition:opacity .2s ease}
.rt-tt.is-loading .rt-tt__body{opacity:.4;pointer-events:none}

.rt-card{display:flex;align-items:flex-start;gap:28px}
.rt-card__img{flex:0 0 37%;min-width:0}
.rt-card__img .rt-thumb{aspect-ratio:206/197}
.rt-card__body{flex:1 1 0;min-width:0}
.rt-card .rt-title{font-size:20px;line-height:1.4}
.rt-card .rt-meta{margin-top:16px}
:where(.rt-card) .rt-badge{padding:5px 9px;font-size:11px}
.rt-card--top{flex-direction:column;gap:18px}
.rt-card--top .rt-card__img,.rt-card--top .rt-card__body{flex:0 0 auto;width:100%}

/* ---------- RT – Latest Content ---------- */
.rt-lc{display:flex;flex-wrap:wrap;gap:20px}
.rt-lc__main{flex:1 1 0;min-width:0}
.rt-lc__side{flex:0 0 32%;min-width:0}

.rt-lc__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 21px;margin-top:-9px}
.rt-item{padding-bottom:20px;border-bottom:1px solid #e5e5e5}
.rt-item .rt-thumb{margin-bottom:12px}
.rt-item .rt-title{font-size:20px}
.rt-item .rt-meta{margin-top:14px}
@media (min-width:768px){
	.rt-lc__grid--c1>.rt-item:last-child,
	.rt-lc__grid--c2>.rt-item:nth-last-child(-n+2),
	.rt-lc__grid--c3>.rt-item:nth-last-child(-n+3){border-bottom:0}
}

.rt-pop__feat{position:relative;display:flex;align-items:flex-end;overflow:hidden;aspect-ratio:7/8;color:#fff;background:#222}
.rt-pop__feat .rt-thumb{position:absolute;inset:0;aspect-ratio:auto}
.rt-pop__ov{position:relative;z-index:1;width:100%;padding:90px 18px 20px;background:linear-gradient(to top,rgba(0,0,0,.85),transparent);pointer-events:none}
.rt-pop__ov a{pointer-events:auto}
.rt-pop__ov .rt-title,.rt-pop__ov .rt-meta{color:#fff}
.rt-pop__ov .rt-title{font-size:22px;line-height:1.35}
.rt-pop__ov .rt-meta{margin-top:16px;font-size:12px}

.rt-pop__item{display:flex;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid #e5e5e5}
.rt-pop__item:last-child{border-bottom:0}
.rt-pop__item .rt-thumb{flex:none;width:96px;aspect-ratio:1/1}
.rt-pop__text{flex:1 1 0;min-width:0}
.rt-pop__text .rt-badges{margin-bottom:8px}
.rt-pop__text .rt-title{line-height:1.4}

/* ---------- Responsive ---------- */
@media (max-width:1024px){
	.rt-fc{grid-template-columns:minmax(0,1fr)}
	.rt-fc>*{grid-column:1;grid-row:auto}
	.rt-fc__rh{margin-top:26px}
	.rt-fc__post{padding-right:0}
	.rt-lc__side{flex-basis:38%}
	.rt-h__text{font-size:22px}
}
@media (max-width:767px){
	.rt-lc__main,.rt-lc__side{flex:1 1 100%}
	.rt-tt__body,.rt-lc__grid{grid-template-columns:minmax(0,1fr)}
	.rt-lc__grid--c1>.rt-item:last-child,.rt-lc__grid>.rt-item:last-child{border-bottom:0}
	.rt-card:not(.rt-card--top) .rt-card__img{flex-basis:38%}
	.rt-card{gap:16px}
	.rt-h__text{font-size:20px}
	.rt-fc__list{height:340px}
}
