/* =============================================================
   TAJ777 ELEMENTOR WIDGETS — Global CSS
   Ported & namespaced from assets/css/style.css
   ============================================================= */

/* ---- CSS Variables ----------------------------------------- */
:root {
    --t7-dk-900: #060b18;
    --t7-dk-800: #0a1022;
    --t7-dk-700: #111b33;
    --t7-dk-600: #1a2540;
    --t7-green: #22c55e;
    --t7-green-dark: #16a34a;
    --t7-orange: #f97316;
    --t7-yellow: #fbbf24;
    --t7-gold: #f59e0b;
    --t7-white: #ffffff;
    --t7-gray-50: #f9fafb;
    --t7-gray-100: #f3f4f6;
    --t7-gray-200: #e5e7eb;
    --t7-gray-300: #d1d5db;
    --t7-gray-400: #9ca3af;
    --t7-gray-500: #6b7280;
    --t7-gray-600: #4b5563;
}

/* ---- Keyframes ---------------------------------------------- */
@keyframes t7-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes t7-pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
    }

    100% {
        box-shadow: 0 0 0 14px rgba(34, 197, 94, 0);
    }
}

/* =============================================================
   1. HERO SLIDER WIDGET
   ============================================================= */
.taj777-hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1695 / 398;
    overflow: hidden;
    background: var(--t7-dk-900);
    border-radius: 0;
}

.taj777-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 1;
    transition: opacity var(--t7-hero-duration, 0.6s) cubic-bezier(.4, 0, .2, 1),
        transform var(--t7-hero-duration, 0.6s) cubic-bezier(.4, 0, .2, 1);
    transform: translateX(60px);
}

.taj777-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.taj777-slide.prev-out {
    opacity: 0;
    transform: translateX(-60px);
    z-index: 1;
}

/* Exit state used when navigating backward ("prev") — mirrors prev-out so the
   outgoing slide leaves toward the right instead of the left. */
.taj777-slide.next-out {
    opacity: 0;
    transform: translateX(60px);
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .taj777-hero-slider[data-reduced-motion="true"] .taj777-slide {
        transition-duration: .01ms !important;
    }
}

.taj777-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.taj777-slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.taj777-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    padding: 0;
    transition: background .3s, transform .3s;
}

.taj777-mc-dots button {
    padding: 0;
}

.taj777-slider-dot.active {
    background: rgba(255, 255, 255, .85);
    transform: scale(1.3);
}

.taj777-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, .45);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 10;
    transition: background .25s;
    padding: 0;
}

.taj777-slider-arrow:hover {
    background: rgba(0, 0, 0, .7);
}

.taj777-slider-arrow.prev {
    left: 10px;
}

.taj777-slider-arrow.next {
    right: 10px;
}

/* =============================================================
   2. SIDEBAR MODULE (shared shell)
   ============================================================= */
.taj777-sidebar-module {
    background: var(--t7-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .07);
    margin-bottom: 16px;
}

.taj777-sidebar-module-header {
    background: var(--t7-dk-700);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--t7-white);
    font-size: 13px;
    font-weight: 600;
}

.taj777-sidebar-module-header .iconify {
    font-size: 16px;
}

.taj777-sidebar-module-body {
    padding: 10px;
}

/* =============================================================
   3. SPORTS LIST WIDGET
   ============================================================= */
.taj777-sports-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
}

.taj777-sports-list.cols-1 {
    grid-template-columns: 1fr;
}

.taj777-sport-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 8px;
    border-radius: 6px;
    color: var(--t7-gray-600);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: background .2s, color .2s;
    cursor: pointer;
}

.taj777-sport-item:hover {
    background: var(--t7-gray-100);
    color: var(--t7-dk-800);
}

.taj777-sport-item .iconify {
    font-size: 16px;
    flex-shrink: 0;
}

/* =============================================================
   4. MINI CAROUSEL WIDGET
   ============================================================= */
.taj777-mini-carousel-wrap {
    position: relative;
}

.taj777-mini-carousel-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    padding-bottom: 4px;
}

.taj777-mini-carousel-track::-webkit-scrollbar {
    display: none;
}

.taj777-mini-carousel-track.dragging {
    cursor: grabbing;
}

.taj777-mc-item {
    flex: 0 0 80px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--t7-gray-100);
    transition: transform .2s;
}

.taj777-mc-item:hover {
    transform: scale(1.05);
}

.taj777-mc-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 3 / 4;
}

.taj777-mc-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4px 5px 5px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .7));
    color: #fff;
    font-size: 10px;
    text-align: center;
    font-weight: 500;
}

.taj777-mc-tag {
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 3px;
    text-transform: uppercase;
    color: #fff;
}

.taj777-mc-tag.hot {
    background: var(--t7-orange);
}

.taj777-mc-tag.new {
    background: #3b82f6;
}

.taj777-mc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    opacity: 0;
    transition: opacity .2s;
    padding: 0;
}

.taj777-mini-carousel-wrap:hover .taj777-mc-arrow {
    opacity: 1;
}

.taj777-mc-arrow.left {
    left: -4px;
}

.taj777-mc-arrow.right {
    right: -4px;
}

.taj777-mc-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
}

.taj777-mc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    background: var(--t7-gray-300);
    cursor: pointer;
    padding: 0;
    transition: background .2s, width .2s, border-radius .2s;
}

.taj777-mc-dot.active {
    background: var(--t7-dk-600);
    width: 18px;
    border-radius: 3px;
}

/* =============================================================
   5. NEW LAUNCHED WIDGET
   ============================================================= */
.taj777-new-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.taj777-new-grid-item {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    transition: transform .2s;
}

.taj777-new-grid-item:hover {
    transform: scale(1.04);
}

.taj777-new-grid-item img {
    width: 100%;
    display: block;
}

/* =============================================================
   6. CASINO GAMES WIDGET
   ============================================================= */
.taj777-area-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.taj777-cat-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--t7-dk-800);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.taj777-cat-title .bar {
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--t7-green);
    border-radius: 2px;
}

.taj777-view-all {
    font-size: 12px;
    color: var(--t7-green-dark);
    text-decoration: none;
    font-weight: 600;
}

.taj777-view-all:hover {
    text-decoration: underline;
}

.taj777-casino-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

@media (min-width: 480px) {
    .taj777-casino-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .taj777-casino-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .taj777-casino-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1280px) {
    .taj777-casino-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.taj777-casino-card {
    position: relative;
    display: block;
    aspect-ratio: 153/81;
    border-radius: 8px;
    overflow: hidden;
    background: var(--t7-gray-100);
    transition: transform .25s, box-shadow .25s;
}

.taj777-casino-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

.taj777-casino-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.taj777-cc-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    color: #fff;
}

.taj777-cc-badge.live {
    background: var(--t7-green);
    animation: t7-blink 1.5s infinite;
}

.taj777-cc-badge.hot {
    background: var(--t7-orange);
}

.taj777-cc-badge.new {
    background: #3b82f6;
}

/* =============================================================
   7. GAME CATEGORIES WIDGET
   ============================================================= */
.taj777-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

@media (min-width: 640px) {
    .taj777-cat-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .taj777-cat-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.taj777-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 8px;
    background: var(--t7-dk-600);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 10px;
    text-decoration: none;
    color: var(--t7-gray-300);
    font-size: 11px;
    font-weight: 500;
    transition: background .2s, border-color .2s, color .2s;
    cursor: pointer;
}

.taj777-cat-item:hover {
    background: rgba(249, 115, 22, .12);
    border-color: rgba(249, 115, 22, .35);
    color: var(--t7-orange);
}

.taj777-cat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

/* =============================================================
   8. WHATSAPP CTA WIDGET
   ============================================================= */
.taj777-whatsapp-cta {
    /* background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%); */
    background: linear-gradient(135deg, #16a34a, #22c55e, #059669) !important;
    padding: 48px 24px;
    /*border-radius: 16px; */
    position: relative;
    overflow: hidden;
}

.taj777-whatsapp-cta::before,
.taj777-whatsapp-cta::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    pointer-events: none;
}

.taj777-whatsapp-cta::before {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -80px;
}

.taj777-whatsapp-cta::after {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: -60px;
}

.taj777-wa-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .taj777-wa-inner {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.taj777-wa-banner {
    color: var(--t7-white);
}

.taj777-wa-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.taj777-wa-banner h2 {
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
}

.taj777-wa-banner p {
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
    margin: 0 0 20px;
    line-height: 1.6;
}

.taj777-wa-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--t7-green-dark);
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
    transition: background .2s;
}

.taj777-wa-main-btn:hover {
    background: #f0fdf4;
}

.taj777-wa-main-btn .iconify {
    font-size: 20px;
    color: #25d366;
}

.taj777-wa-phone {
    margin: 12px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
}

.taj777-steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.taj777-step-card {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform .25s;
}

.taj777-step-card:hover {
    transform: translateY(-4px);
}

.taj777-step-icon {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 24px;
    color: var(--t7-green-dark);
}

.taj777-step-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.taj777-step-text {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

/* =============================================================
   9. CELEBRITY REVIEWS WIDGET
   ============================================================= */
.taj777-celeb-section {
    background: var(--t7-dk-900);
    padding: 48px 0;
}

.taj777-section-center {
    text-align: center;
    margin-bottom: 32px;
}

.taj777-section-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.taj777-section-badge.yellow {
    background: rgba(251, 191, 36, .15);
    color: var(--t7-yellow);
}

.taj777-section-badge.green {
    background: rgba(34, 197, 94, .15);
    color: var(--t7-green);
}

.taj777-section-center h2 {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    color: var(--t7-white);
    margin: 0 0 8px;
}

.taj777-section-center p {
    font-size: 14px;
    color: var(--t7-gray-400);
    margin: 0;
}

.taj777-celeb-carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.taj777-celeb-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    padding: 0 4px 8px;
}

.taj777-celeb-grid::-webkit-scrollbar {
    display: none;
}

.taj777-celeb-grid.dragging {
    cursor: grabbing;
}

.taj777-celeb-card {
    flex: 0 0 50%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--t7-dk-700);
    cursor: pointer;
}

@media (min-width: 640px) {
    .taj777-celeb-card {
        flex: 0 0 33.33%;
    }
}

@media (min-width: 1024px) {
    .taj777-celeb-card {
        flex: 0 0 20%;
    }
}

.taj777-celeb-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

.taj777-celeb-card:hover img {
    transform: scale(1.05);
}

.taj777-c-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s;
}

.taj777-celeb-card:hover .taj777-c-overlay {
    background: rgba(0, 0, 0, .5);
}

.taj777-play-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--t7-dk-800);
    transition: transform .25s, background .25s;
}

.taj777-celeb-card:hover .taj777-play-circle {
    transform: scale(1.15);
    background: var(--t7-green);
    color: #fff;
}

.taj777-celeb-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 12px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .8));
}

.taj777-celeb-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 2px;
}

.taj777-celeb-role {
    font-size: 11px;
    color: rgba(255, 255, 255, .65);
    margin: 0;
}

.taj777-celeb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    opacity: 0;
    transition: opacity .2s, background .2s;
    backdrop-filter: blur(4px);
}

.taj777-celeb-carousel-wrapper:hover .taj777-celeb-arrow {
    opacity: 1;
}

.taj777-celeb-arrow:hover {
    background: rgba(255, 255, 255, .3);
}

.taj777-celeb-arrow.left {
    left: 4px;
}

.taj777-celeb-arrow.right {
    right: 4px;
}

/* Video Modal */
.taj777-video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .88);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    animation: t7-modal-in .2s ease;
}

@keyframes t7-modal-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.taj777-video-modal.open {
    display: flex;
}

.taj777-video-modal-content {
    position: relative;
    width: 90%;
    max-width: 860px;
}

.taj777-close-video {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 32px;
    color: rgba(255, 255, 255, .85);
    cursor: pointer;
    line-height: 1;
    background: none;
    border: none;
    padding: 4px 8px;
    transition: color .2s;
}

.taj777-close-video:hover {
    color: #fff;
}

/* Container thích ứng tự động: iframe (YT/Vimeo) và video HTML5 */
.taj777-video-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.taj777-video-container iframe,
.taj777-video-container video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    display: block;
}

/* =============================================================
   10. FEATURES WIDGET
   ============================================================= */
.taj777-features-section {
    background: var(--t7-white);
    padding: 48px 0;
}

.taj777-features-section .taj777-section-center h2 {
    color: var(--t7-dk-800);
}

.taj777-features-section .taj777-section-center p {
    color: var(--t7-gray-500);
}

.taj777-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .taj777-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .taj777-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.taj777-feat-card {
    background: var(--t7-gray-50);
    border: 1px solid var(--t7-gray-200);
    border-radius: 14px;
    padding: 24px 20px;
    transition: transform .25s, box-shadow .25s;
}

.taj777-feat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .09);
}

.taj777-feat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 16px;
}

.taj777-feat-icon.blue {
    background: #eff6ff;
    color: #2563eb;
}

.taj777-feat-icon.green {
    background: #f0fdf4;
    color: #16a34a;
}

.taj777-feat-icon.purple {
    background: #faf5ff;
    color: #7c3aed;
}

.taj777-feat-icon.orange {
    background: #fff7ed;
    color: #ea580c;
}

.taj777-feat-icon.teal {
    background: #f0fdfa;
    color: #0d9488;
}

.taj777-feat-icon.red {
    background: #fef2f2;
    color: #dc2626;
}

.taj777-feat-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--t7-dk-800);
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.taj777-feat-card p {
    font-size: 13px;
    color: var(--t7-gray-500);
    line-height: 1.6;
    margin: 0;
}

/* =============================================================
   10. POSTS LIST WIDGET
   ============================================================= */

.taj777-posts-widget {
    width: 100%;
}

/* Section Header */
.taj777-posts-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.taj777-posts-widget-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.taj777-posts-section-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 12px;
    background: rgba(249, 115, 22, .12);
    color: #f97316;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 20px;
    width: fit-content;
}

.taj777-posts-section-title {
    font-size: clamp(18px, 3vw, 26px);
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.25;
}

.taj777-posts-view-all {
    font-size: 13px;
    font-weight: 600;
    color: #f97316;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color .2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.taj777-posts-view-all:hover {
    color: #ea580c;
    gap: 8px;
}

/* Filter Pills */
.taj777-posts-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.taj777-posts-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: #f3f4f6;
    color: #374151;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background .2s, color .2s;
    cursor: pointer;
    border: none;
}

.taj777-posts-pill:hover,
.taj777-posts-pill.active {
    background: #f97316;
    color: #fff;
}

/* Grid */
.taj777-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 767px) {
    .taj777-posts-grid {
        grid-template-columns: 1fr;
    }

    .taj777-sports-list {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.taj777-posts-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Card */
.taj777-post-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s, transform .25s;
}

.taj777-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .10);
}

/* List modifier */
.taj777-post-card--list {
    flex-direction: row;
    transform: none !important;
}

.taj777-post-card--list:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}

.taj777-post-card--list .taj777-post-card-img-wrap {
    flex: 0 0 220px;
    max-width: 220px;
}

.taj777-post-card--list .taj777-post-card-img {
    height: 100%;
    min-height: 160px;
}

@media (max-width: 640px) {
    .taj777-post-card--list {
        flex-direction: column;
    }

    .taj777-post-card--list .taj777-post-card-img-wrap {
        flex: none;
        max-width: 100%;
    }

    .taj777-post-card--list .taj777-post-card-img {
        height: 200px;
    }
}

/* Image */
.taj777-post-card-img-wrap {
    position: relative;
    flex-shrink: 0;
}

.taj777-post-card-img {
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.taj777-post-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}

.taj777-post-card:hover .taj777-post-card-img img {
    transform: scale(1.05);
}

.taj777-post-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2540 0%, #0a1022 100%);
}

/* Category Badge */
.taj777-post-cat-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #fff;
    text-decoration: none;
    z-index: 2;
    transition: opacity .2s;
}

.taj777-post-cat-badge:hover {
    opacity: .85;
}

.taj777-post-cat-badge--inline {
    position: static;
    margin-bottom: 8px;
    display: inline-block;
}

.taj777-cat-cricket {
    background: #22c55e;
}

.taj777-cat-casino {
    background: #a855f7;
}

.taj777-cat-tips {
    background: #f97316;
}

.taj777-cat-updates {
    background: #3b82f6;
}

.taj777-cat-crypto {
    background: #14b8a6;
}

/* Card Body */
.taj777-post-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Meta */
.taj777-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #6b7280;
}

.taj777-post-meta img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.taj777-post-meta .sep {
    opacity: .4;
}

/* Title */
.taj777-post-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.taj777-post-card-title a {
    color: #111827;
    text-decoration: none;
    transition: color .2s;
}

.taj777-post-card-title a:hover {
    color: #f97316;
}

/* Excerpt */
.taj777-post-excerpt {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.65;
    margin: 0 0 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read More */
.taj777-post-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #f97316;
    text-decoration: none;
    margin-top: auto;
    width: fit-content;
    transition: color .2s, gap .2s;
}

.taj777-post-read-more:hover {
    color: #ea580c;
    gap: 8px;
}

/* Load More */
.taj777-posts-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.taj777-posts-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #f97316;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, opacity .2s, transform .15s;
    outline: none;
}

.taj777-posts-load-more:hover:not(:disabled) {
    background: #ea580c;
    transform: translateY(-1px);
}

.taj777-posts-load-more:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

/* Number Pagination */
.taj777-posts-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 32px;
}

.taj777-posts-pagination a,
.taj777-posts-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}

.taj777-posts-pagination a:hover {
    background: #f97316;
    color: #fff;
    border-color: #f97316;
}

.taj777-posts-pagination span.current {
    background: #f97316;
    color: #fff;
    border-color: #f97316;
}

/* Empty State */
.taj777-posts-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 24px;
    text-align: center;
    gap: 12px;
}

.taj777-posts-empty .iconify {
    font-size: 48px;
    color: #d1d5db;
}

.taj777-posts-empty p {
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
}

/* ============================================================
   Section 11 — Posts List: Article Layout (xen kẽ 2 cột)
   ============================================================ */

.taj777-posts-article {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Block wrapper */
.taj777-article-block {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Xen kẽ: ảnh bên phải */
.taj777-article-block--reverse {
    flex-direction: row-reverse;
}

/* Divider */
.taj777-article-block--divider {
    padding-bottom: 48px;
    border-bottom: 1px solid #e5e7eb;
}

.taj777-article-block--divider:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Cột ảnh */
.taj777-article-img-col {
    flex: 0 0 45%;
    overflow: hidden;
    border-radius: 12px;
    flex-shrink: 0;
}

.taj777-article-img-col a {
    display: block;
    overflow: hidden;
    border-radius: inherit;
}

.taj777-article-img-col img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: inherit;
    display: block;
    transition: transform 0.4s ease;
}

.taj777-article-block:hover .taj777-article-img-col img {
    transform: scale(1.04);
}

.taj777-article-img-placeholder {
    display: block;
    width: 100%;
    height: 340px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: inherit;
}

/* Cột nội dung */
.taj777-article-content-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

/* Tiêu đề trong article layout — lớn hơn card thường */
.taj777-article-title {
    font-size: 1.35rem;
    line-height: 1.45;
    margin: 0;
    font-weight: 700;
}

.taj777-article-title a {
    color: #111827;
    text-decoration: none;
    transition: color 0.2s;
}

.taj777-article-title a:hover {
    color: #f97316;
}

/* Excerpt rộng hơn trong article layout — không clamp cứng */
.taj777-article-block .taj777-post-excerpt {
    -webkit-line-clamp: 4;
    flex: 0;
}

/* Responsive: stack dọc dưới 768px */
@media (max-width: 768px) {

    .taj777-article-block,
    .taj777-article-block--reverse {
        flex-direction: column;
        gap: 16px;
    }

    .taj777-article-img-col {
        flex: 0 0 auto;
        width: 100%;
    }

    .taj777-article-img-col img,
    .taj777-article-img-placeholder {
        height: 220px;
    }

    .taj777-article-block--divider {
        padding-bottom: 32px;
    }
}

/* ============================================================
   Section 12 — Guides Widget
   ============================================================ */

/* Extra badge colour variants */
.taj777-section-badge.orange {
    background: rgba(249, 115, 22, .15);
    color: var(--t7-orange);
}

.taj777-section-badge.purple {
    background: rgba(124, 58, 237, .15);
    color: #7c3aed;
}

.taj777-section-badge.blue {
    background: rgba(37, 99, 235, .15);
    color: #2563eb;
}

/* Heading màu tối cho section nền sáng */
.taj777-guides-section .taj777-section-center h2 {
    color: #0a1022;
}

.taj777-guides-section .taj777-section-center p {
    color: #6b7280;
}

.taj777-guides-section {
    padding: 60px 0;
    background: #ffffff;
}

.taj777-guides-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.taj777-guide-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    transition: box-shadow .25s;
}

.taj777-guide-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, .10);
}

.taj777-guide-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.taj777-guide-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.taj777-guide-card-icon.green {
    background: #f0fdf4;
    color: #16a34a;
}

.taj777-guide-card-icon.orange {
    background: #fff7ed;
    color: #ea580c;
}

.taj777-guide-card-icon.blue {
    background: #eff6ff;
    color: #2563eb;
}

.taj777-guide-card-icon.purple {
    background: #faf5ff;
    color: #7c3aed;
}

.taj777-guide-card-icon.teal {
    background: #f0fdfa;
    color: #0d9488;
}

.taj777-guide-card-icon.red {
    background: #fef2f2;
    color: #dc2626;
}

.taj777-guide-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0a1022;
    margin: 0;
    line-height: 1.3;
}

.taj777-guide-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.taj777-guide-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.taj777-guide-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.taj777-guide-num.green {
    background: #dcfce7;
    color: #16a34a;
}

.taj777-guide-num.orange {
    background: #ffedd5;
    color: #ea580c;
}

.taj777-guide-num.blue {
    background: #dbeafe;
    color: #2563eb;
}

.taj777-guide-num.purple {
    background: #ede9fe;
    color: #7c3aed;
}

.taj777-guide-num.teal {
    background: #ccfbf1;
    color: #0d9488;
}

.taj777-guide-num.red {
    background: #fee2e2;
    color: #dc2626;
}

.taj777-guide-step p {
    font-size: 14px;
    color: #374151;
    line-height: 1.55;
    margin: 0;
}

.taj777-guide-step p strong {
    color: #0a1022;
}

@media (max-width: 768px) {
    .taj777-guides-grid {
        grid-template-columns: 1fr;
    }

    .taj777-guide-card {
        padding: 20px;
    }
}

/* ============================================================
   Section 13 — FAQ Widget
   ============================================================ */

/* Heading màu tối cho section nền sáng */
.taj777-faq-section .taj777-section-center h2 {
    color: #0a1022;
}

.taj777-faq-section .taj777-section-center p {
    color: #6b7280;
}

.taj777-faq-section {
    padding: 60px 0;
    background: #f9fafb;
}

.taj777-faq-wrapper {
    max-width: 760px;
    margin: 0 auto;
}

.taj777-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ---- Item ---- */
.taj777-faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.taj777-faq-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .06);
}

.taj777-faq-item.active {
    border-color: #22c55e;
    box-shadow: 0 3px 14px rgba(34, 197, 94, .12);
}

/* ---- Toggle button ---- */
.taj777-faq-item .taj777-faq-toggle {
    width: 100%;
    background: transparent;
    border: none;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: #111827;
    transition: background .2s ease;
    outline: none;
}

.taj777-faq-item .taj777-faq-toggle:hover {
    background: #f9fafb;
}

.taj777-faq-item.active .taj777-faq-toggle {
    background: rgba(34, 197, 94, .04);
}

/* Question text */
.taj777-faq-question {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    line-height: 1.45;
    flex: 1;
    transition: color .2s;
}

.taj777-faq-toggle:hover .taj777-faq-question {
    color: #16a34a;
}

.taj777-faq-item.active .taj777-faq-question {
    color: #16a34a;
}

/* Icon wrapper — giữ kích thước ổn định, xoay icon */
.taj777-faq-icon-wrap {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s ease, transform .35s ease;
}

.taj777-faq-item.active .taj777-faq-icon-wrap {
    background: rgba(34, 197, 94, .15);
    transform: rotate(45deg);
    /* mdi:plus xoay 45° = dấu × */
}

.taj777-faq-icon {
    font-size: 18px;
    color: #9ca3af;
    transition: color .2s;
    display: block;
}

.taj777-faq-item.active .taj777-faq-icon {
    color: #22c55e;
}

/* ---- Answer — CSS max-height animation (không dùng display:none) ---- */
.taj777-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .38s ease;
    padding: 0 !important;
}

.taj777-faq-answer.open {
    max-height: 600px;
    /* đủ lớn cho mọi nội dung thực tế */
}

/* Padding nội dung tách khỏi max-height transition để tránh flash */
.taj777-faq-answer-inner {
    padding: 4px 20px 20px;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
    border-top: 1px solid #f3f4f6;
}

.taj777-faq-answer-inner p {
    margin: 0 0 10px;
}

.taj777-faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.taj777-faq-answer-inner ul,
.taj777-faq-answer-inner ol {
    margin: 0 0 10px;
    padding-left: 18px;
}

.taj777-faq-answer-inner li {
    margin-bottom: 4px;
}

.taj777-faq-answer-inner a {
    color: #16a34a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .taj777-faq-section {
        padding: 40px 0;
    }

    .taj777-faq-toggle {
        padding: 14px 16px;
        gap: 10px;
    }

    .taj777-faq-question {
        font-size: 14px;
    }

    .taj777-faq-icon-wrap {
        width: 24px;
        height: 24px;
    }

    .taj777-faq-icon {
        font-size: 16px;
    }

    .taj777-faq-answer-inner {
        padding: 4px 16px 16px;
        font-size: 13px;
    }
}

/* =============================================================
   14. PAGE HERO WIDGET
   ============================================================= */
.taj777-hero {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.taj777-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.taj777-hero--deco::before,
.taj777-hero--deco::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: .06;
    pointer-events: none;
}

.taj777-hero--deco::before {
    width: 320px;
    height: 320px;
    top: -80px;
    right: -80px;
}

.taj777-hero--deco::after {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: -60px;
}

.taj777-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.taj777-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    font-size: 12px;
}

.taj777-hero__breadcrumb a {
    text-decoration: none;
    transition: color .2s;
}

.taj777-hero__title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 12px;
}

.taj777-hero__subtitle {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* =============================================================
   15. STATS BAR WIDGET
   ============================================================= */
.taj777-stats-bar {
    width: 100%;
}

.taj777-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.taj777-stat-item {
    text-align: center;
    padding: 24px 16px;
}

.taj777-stat-num {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 1px;
}

.taj777-stat-count {
    display: inline;
}

.taj777-stat-suffix {
    font-size: .6em;
    font-weight: 700;
}

.taj777-stat-label {
    font-size: 13px;
    margin-top: 4px;
}

.taj777-stat-icon {
    margin-bottom: 8px;
}

@media (max-width: 640px) {
    .taj777-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =============================================================
   16. VALUES GRID WIDGET (Core Values)
   ============================================================= */
.taj777-values-wrap {
    width: 100%;
}

.taj777-values-header {
    margin-bottom: 40px;
}

.taj777-values-section-title {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.25;
}

.taj777-values-section-subtitle {
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.taj777-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.taj777-value-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
}

.taj777-value-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    flex-shrink: 0;
    font-size: 26px;
    margin-bottom: 14px;
}

.taj777-value-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.taj777-value-card p {
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1023px) {
    .taj777-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 479px) {
    .taj777-values-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================================
   17. TIMELINE WIDGET (Our Journey)
   ============================================================= */
.taj777-timeline-wrap {
    width: 100%;
}

.taj777-tl-header {
    margin-bottom: 48px;
}

.taj777-tl-section-title {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.25;
}

.taj777-tl-section-subtitle {
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.taj777-timeline {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}

.taj777-timeline--alternate::before,
.taj777-timeline--left::before,
.taj777-timeline--right::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.taj777-timeline--alternate::before {
    left: 50%;
    transform: translateX(-50%);
}

.taj777-timeline--left::before {
    left: 16px;
}

.taj777-timeline--right::before {
    right: 16px;
}

.taj777-tl-item {
    position: relative;
    padding-bottom: 32px;
}

.taj777-timeline--alternate .taj777-tl-item {
    display: grid;
    grid-template-columns: 1fr 32px 1fr;
    align-items: flex-start;
}

.taj777-timeline--alternate .taj777-tl-item:nth-child(odd) .taj777-tl-content {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
}

.taj777-timeline--alternate .taj777-tl-item:nth-child(even) .taj777-tl-content {
    grid-column: 3;
    grid-row: 1;
}

.taj777-timeline--alternate .taj777-tl-dot {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: center;
}

.taj777-timeline--left .taj777-tl-item {
    padding-left: 44px;
}

.taj777-timeline--right .taj777-tl-item {
    padding-right: 44px;
}

.taj777-tl-dot {
    position: relative;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #22c55e;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #22c55e;
    flex-shrink: 0;
    z-index: 1;
}

.taj777-timeline--left .taj777-tl-dot,
.taj777-timeline--right .taj777-tl-dot {
    position: absolute;
    top: 20px;
}

.taj777-timeline--left .taj777-tl-dot {
    left: 8px;
}

.taj777-timeline--right .taj777-tl-dot {
    right: 8px;
}

.taj777-tl-content {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
}

.taj777-tl-year {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.taj777-tl-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
}

.taj777-tl-desc {
    font-size: 13px;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 640px) {
    .taj777-timeline--alternate::before {
        left: 16px;
        transform: none;
    }

    .taj777-timeline--alternate .taj777-tl-item {
        display: block;
        padding-left: 44px;
    }

    .taj777-timeline--alternate .taj777-tl-dot {
        position: absolute;
        top: 20px;
        left: 8px;
        justify-self: unset;
        align-self: unset;
    }

    .taj777-timeline--alternate .taj777-tl-item:nth-child(odd) .taj777-tl-content,
    .taj777-timeline--alternate .taj777-tl-item:nth-child(even) .taj777-tl-content {
        grid-column: unset;
        text-align: left;
    }
}

/* =============================================================
   18. LICENSES WIDGET
   ============================================================= */
.taj777-licenses-wrap {
    width: 100%;
}

.taj777-lic-header {
    margin-bottom: 36px;
}

.taj777-lic-section-title {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.25;
}

.taj777-lic-section-subtitle {
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.taj777-license-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.taj777-license-card {
    border-radius: 14px;
    padding: 24px 16px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: background .3s, border-color .3s;
}

.taj777-license-icon {
    margin-bottom: 12px;
    display: block;
    font-size: 36px;
    line-height: 1;
}

.taj777-license-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 8px;
}

.taj777-license-card p {
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1023px) {
    .taj777-license-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 479px) {
    .taj777-license-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================================
   19. CTA SECTION WIDGET
   ============================================================= */
.taj777-cta-section {
    position: relative;
    overflow: hidden;
    padding: 64px 24px;
}

.taj777-cta-section--deco::before,
.taj777-cta-section--deco::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    pointer-events: none;
}

.taj777-cta-section--deco::before {
    width: 400px;
    height: 400px;
    top: -120px;
    right: -100px;
}

.taj777-cta-section--deco::after {
    width: 250px;
    height: 250px;
    bottom: -80px;
    left: -80px;
}

.taj777-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.taj777-cta-heading {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px;
}

.taj777-cta-desc {
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 32px;
}

.taj777-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.taj777-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, box-shadow .2s, transform .15s;
}

.taj777-cta-btn:hover {
    transform: translateY(-2px);
}

.taj777-cta-btn1 {
    background: #fbbf24;
    color: #0a1022;
}

.taj777-cta-btn1:hover {
    background: #f59e0b;
    box-shadow: 0 6px 20px rgba(251, 191, 36, .35);
}

.taj777-cta-btn2 {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
}

.taj777-cta-btn2:hover {
    background: rgba(255, 255, 255, .22);
}