/* Scoped CSS to prevent breaking The7 Theme */
#travely-home-body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: #1A202C;
    line-height: 1.6;
}

#travely-home-body * {
    box-sizing: border-box;
}

.tv-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- DESTINATIONS BENTO SECTION --- */
.tv-dest-section { background-color: #FFFFFF; }
.tv-dest-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem;}
.tv-dest-title-wrap { display: flex; flex-direction: column; }
.tv-dest-subtitle { color: #FF6B35; font-size: 0.875rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.5rem; }
.tv-dest-title { font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 800; color: #0F172A; margin: 0; line-height: 1.1; letter-spacing: -0.02em;}

.tv-category-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tv-tab-item { background: #F8FAFC; border: 1px solid rgba(0,0,0,0.05); padding: 0.5rem 1.25rem; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: #64748B; text-decoration: none; transition: all 0.2s; }
.tv-tab-item:hover, .tv-tab-item.active { background: #F1F5F9; color: #0F172A; }

.tv-bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 1.5rem; }

/* General Card Base */
.tv-card-base { min-height: 240px; position: relative; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none !important; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); border: 1px solid rgba(0,0,0,0.05); transition: transform 0.2s;}
.tv-card-base:hover { transform: translateY(-3px); }

/* Badge */
.tv-card-badge { position: absolute; top: 1.25rem; left: 1.25rem; color: white; font-size: 0.75rem; font-weight: 700; padding: 0.35rem 0.85rem; border-radius: 999px; z-index: 3; text-transform: uppercase; letter-spacing: 0.5px; }

/* Card: Image (Large & Small) */
.tv-card-img-bg { padding: 1.5rem; justify-content: flex-end; border: none; }
.tv-card-img-bg::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%); z-index: 1; }
.tv-card-img-bg > img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.tv-img-content { position: relative; z-index: 2; color: white; display: flex; flex-direction: column; height: 100%; }
.tv-country-watermark { font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 900; line-height: 1; color: rgba(255,255,255,0.15); position: absolute; bottom: 3rem; left: -0.2rem; pointer-events: none; }
.tv-img-content h3 { font-size: 2rem; font-weight: 800; margin: auto 0 0.5rem 0; color: white; z-index: 2;}
.tv-img-price { font-size: 1rem; font-weight: 600; color: #FF6B35; }
.tv-img-meta { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

.tv-img-large { grid-column: span 2; grid-row: span 2; padding: 2rem; }
.tv-img-large .tv-country-watermark { font-size: clamp(4rem, 8vw, 7rem); bottom: 4rem; }
.tv-img-large h3 { font-size: 2.75rem; margin-bottom: 0.75rem;}
.tv-img-large .tv-img-price { font-size: 1.25rem; }
.tv-img-large .tv-img-meta { font-size: 1rem; }
.tv-btn-buy { background-color: #FF6B35; color: white; padding: 0.6rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: 0.9rem; margin-top: 1rem; align-self: flex-start; display: flex; align-items: center; gap: 0.5rem;}

/* Card: White */
.tv-card-white { background: #FFFFFF; padding: 1.5rem; justify-content: space-between; }
.tv-card-white-top { display: flex; justify-content: space-between; align-items: flex-start; }
.tv-card-white-watermark { font-size: 2.5rem; font-weight: 800; color: #0F172A; line-height: 1;}
.tv-card-white-info h3 { font-size: 1.25rem; font-weight: 800; color: #0F172A; margin: 0; line-height: 1.2;}
.tv-card-white-info span { font-size: 0.8rem; color: #94A3B8; }
.tv-card-white-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.tv-white-price-row { display: flex; flex-direction: column; }
.tv-white-price { font-size: 1.1rem; font-weight: 700; color: #2563EB; }
.tv-white-meta { font-size: 0.8rem; color: #94A3B8; }
.tv-btn-arrow { width: 40px; height: 40px; background: #FF6B35; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }

/* Card: Dark */
.tv-card-dark { background: #0A1628; padding: 1.5rem; align-items: center; justify-content: center; text-align: center; border: none; }
.tv-card-dark-icon { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; font-weight: 300; margin-bottom: 1rem; }
.tv-card-dark h3 { font-size: 1.1rem; font-weight: 700; color: white; margin: 0 0 0.25rem 0; }
.tv-card-dark span { font-size: 0.85rem; color: #94A3B8; }

/* Spans */
.tv-span-1x1 { grid-column: span 1; grid-row: span 1; }
.tv-span-2x2 { grid-column: span 2; grid-row: span 2; }
.tv-span-2x1 { grid-column: span 2; grid-row: span 1; }

.tv-search-dest { text-align: center; margin-top: 3rem; }
.tv-search-dest p { color: #64748B; font-size: 0.95rem; margin-bottom: 1rem; }
.tv-btn-outline { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border: 1px solid #2563EB; border-radius: 8px; color: #2563EB; font-weight: 600; text-decoration: none; background: transparent; transition: all 0.2s;}
.tv-btn-outline:hover { background: #2563EB; color: white; }

/* --- HOW IT WORKS SECTION --- */
.tv-hiw-section { background-color: #0A1628; color: white; text-align: center; }
.tv-hiw-subtitle { color: #FF6B35; font-size: 0.85rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 1rem; }
.tv-hiw-title { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; margin-bottom: 1rem; color: white; }
.tv-hiw-desc { color: #94A3B8; font-size: 1.125rem; margin-bottom: 4rem; }
.tv-hiw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; margin-bottom: 3rem; }
.tv-hiw-step { background: #131E30; border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px; padding: 3rem 2rem 2rem 2rem; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; margin-top: 24px; }
.tv-hiw-num { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; color: white; position: absolute; top: -24px; left: 50%; transform: translateX(-50%); }
.tv-hiw-icon-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-bottom: 2rem; margin-top: 0.5rem; }
.tv-hiw-icon-1 { width: 64px; height: 64px; object-fit: contain; }
.tv-hiw-icon-2 { width: 48px; height: 48px; object-fit: contain; }
.tv-hiw-step h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; color: white; }
.tv-hiw-step p { color: #94A3B8; font-size: 0.95rem; margin: 0; line-height: 1.6; }
.tv-hiw-action { margin-top: 3rem; }
.tv-hiw-footer-text { color: #64748B; font-size: 0.85rem; margin-top: 1rem; }

/* --- REVIEWS SECTION --- */
.tv-review-section { background-color: #F8FAFC; }
.tv-review-header { text-align: center; margin-bottom: 4rem; display: flex; flex-direction: column; align-items: center; }
.tv-review-badge { background: #0A1628; color: white; display: inline-flex; align-items: center; padding: 0.5rem 1rem; border-radius: 999px; font-weight: 600; font-size: 0.9rem; margin-bottom: 2rem; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.tv-review-badge svg { margin-right: 0.5rem; }
.tv-review-badge span { margin-left: 0.5rem; }
.tv-review-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; color: #0A1628; line-height: 1.2; max-width: 800px; text-align: center; }
.tv-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: stretch; }
.tv-review-card { background: white; border-radius: 16px; padding: 2.5rem; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); border: 1px solid rgba(0,0,0,0.05); position: relative; transition: transform 0.2s; display: flex; flex-direction: column; }
.tv-review-card:hover { transform: translateY(-4px); }
.tv-review-featured { border: 1px solid #93C5FD; box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08); }
.tv-featured-tag { position: absolute; top: 1.5rem; right: 1.5rem; background: #DBEAFE; color: #1E40AF; padding: 0.35rem 0.75rem; border-radius: 6px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.tv-review-stars { display: flex; gap: 2px; margin-bottom: 1.5rem; }
.tv-review-content { position: relative; margin-bottom: 2rem; }
.tv-quote-icon { position: absolute; top: -1rem; left: -1rem; width: 64px; height: 64px; color: rgba(0, 0, 0, 0.03); z-index: 0; pointer-events: none; }
.tv-review-content p { color: #475569; font-size: 1rem; line-height: 1.7; position: relative; z-index: 1; margin: 0; }
.tv-review-img { width: 100%; height: auto; border-radius: 12px; margin-top: 1.5rem; object-fit: cover; }
.tv-review-author { display: flex; align-items: center; gap: 1rem; border-top: 1px solid #F1F5F9; padding-top: 1.5rem; margin-top: auto; }
.tv-author-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.tv-author-info h4 { margin: 0 0 0.2rem 0; font-size: 1rem; font-weight: 700; color: #0F172A; }
.tv-author-info span { font-size: 0.85rem; color: #64748B; }
.tv-verified-tag { margin-left: auto; display: flex; align-items: center; gap: 0.35rem; color: #10B981; font-weight: 700; font-size: 0.85rem; }

/* --- CALL TO ACTION SECTION --- */
.tv-cta-section { background-color: #0A1628; text-align: center; }
.tv-cta-box { background: linear-gradient(90deg, #0052CC 0%, #0B1D33 100%); border-radius: 16px; padding: 4rem 2rem; max-width: 1000px; margin: 0 auto; box-shadow: 0 10px 40px rgba(0, 82, 204, 0.2); }
.tv-cta-content { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.tv-cta-top-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.tv-cta-content h2 { font-family: 'Playfair Display', Georgia, serif; color: white; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1rem; }
.tv-cta-content p { color: rgba(255,255,255,0.9); font-size: 1.125rem; margin-bottom: 2.5rem; }
.tv-cta-btn { display: inline-block; background: #FF6B35; color: white; padding: 1rem 2.5rem; border-radius: 999px; font-weight: 700; font-size: 1.125rem; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4); margin-bottom: 2.5rem; }
.tv-cta-btn:hover { transform: translateY(-2px); color: white; box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6); }
.tv-cta-features { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 500; }
.tv-cta-feature-item { display: flex; align-items: center; gap: 0.5rem; }
.tv-cta-feature-item svg { width: 16px; height: 16px; opacity: 0.8; }

/* --- PARTNERS SECTION --- */
.tv-partners-section { background-color: #F8FAFC; text-align: center; }
.tv-partners-title { font-size: 0.9rem; font-weight: 700; letter-spacing: 1.5px; color: #64748B; text-transform: uppercase; margin-bottom: 3rem; }
.tv-partners-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; margin-bottom: 2.5rem; }
.tv-partner-card { background: white; border-radius: 8px; padding: 1rem; display: flex; align-items: center; justify-content: center; height: 60px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); transition: transform 0.2s, box-shadow 0.2s; }
.tv-partner-card:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.tv-partner-text { font-size: 0.95rem; font-weight: 700; color: #64748B; }
.tv-partner-card img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(100%) opacity(0.7); transition: filter 0.2s; }
.tv-partner-card:hover img { filter: grayscale(0%) opacity(1); }
.tv-partners-footer { font-size: 0.9rem; color: #94A3B8; font-style: italic; margin: 0; }

/* --- COMPATIBILITY SECTION --- */
.tv-compat-section { background-color: #F8FAFC; }
.tv-compat-grid { display: grid; grid-template-columns: 400px 1fr; gap: 4rem; align-items: center; }
.tv-compat-phone-wrapper { position: relative; width: 100%; max-width: 320px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.tv-phone-ring { position: absolute; border-radius: 60px; border: 1px solid rgba(0,0,0,0.05); }
.tv-phone-ring-1 { width: calc(100% + 40px); height: calc(100% + 40px); }
.tv-phone-ring-2 { width: calc(100% + 80px); height: calc(100% + 80px); border-color: rgba(0,0,0,0.02); }
.tv-phone-device { width: 100%; aspect-ratio: 9/19; background: #0A1628; border-radius: 40px; position: relative; padding: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); z-index: 2; }
.tv-phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 40%; height: 24px; background: #1E293B; border-radius: 0 0 12px 12px; z-index: 3; }
.tv-phone-screen { width: 100%; height: 100%; border-radius: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.tv-phone-qr-box { width: 80px; height: 80px; background: #1E293B; border-radius: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; color: white; }
.tv-phone-title { color: white; font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.tv-phone-subtitle { color: #94A3B8; font-size: 0.9rem; margin-bottom: 1.5rem; }
.tv-phone-badge { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); color: #10B981; padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; }
.tv-dot { width: 8px; height: 8px; background: #10B981; border-radius: 50%; }

.tv-compat-right { display: flex; flex-direction: column; }
.tv-compat-subtitle { color: #2563EB; font-weight: 800; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1rem; }
.tv-compat-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 800; color: #0A1628; line-height: 1.1; margin-bottom: 1rem; }
.tv-compat-desc { color: #64748B; font-size: 1.125rem; margin-bottom: 2.5rem; }
.tv-brand-list { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.tv-brand-item { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border: 1px solid #E2E8F0; border-radius: 12px; font-weight: 600; color: #475569; background: white; cursor: pointer; transition: all 0.2s; user-select: none; }
.tv-brand-item:hover { border-color: #CBD5E1; background: #F8FAFC; }
.tv-brand-item.active { border-color: #2563EB; color: #2563EB; background: #EFF6FF; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1); }
.tv-compat-result-box { background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 12px; margin-bottom: 2.5rem; animation: tvFadeIn 0.3s ease-out; overflow: hidden; }
.tv-result-item { padding: 1.5rem; }
.tv-result-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.tv-result-icon { width: 48px; height: 48px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(16, 185, 129, 0.15); flex-shrink: 0; }
.tv-result-title-box h4 { margin: 0 0 0.25rem 0; color: #064E3B; font-weight: 800; font-size: 1.125rem; font-family: 'Playfair Display', serif; }
.tv-result-title-box p { margin: 0; color: #047857; font-size: 0.9rem; font-weight: 500; }
.tv-result-list ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 2rem; list-style: none; margin: 0; padding: 0; }
.tv-result-list ul li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; color: #047857; font-weight: 500; line-height: 1.4; }
.tv-result-list ul li::before { content: ""; display: inline-block; width: 16px; height: 16px; background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="%2310B981" xmlns="http://www.w3.org/2000/svg"><path d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm-1.177-7.86l-2.765-2.765-1.414 1.414 4.179 4.18 8.485-8.486-1.414-1.414-7.071 7.071z"/></svg>'); background-size: cover; flex-shrink: 0; }
.tv-result-footer { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; background: rgba(255,255,255,0.6); border-top: 1px dashed #BBF7D0; }
.tv-result-footer span { color: #059669; font-weight: 700; font-size: 1rem; }
.tv-result-buy-btn { background: #FF6B35; color: white; text-decoration: none; padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 700; font-size: 0.95rem; transition: transform 0.2s, box-shadow 0.2s; }
.tv-result-buy-btn:hover { color: white; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4); }
@keyframes tvFadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.tv-compat-features { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.tv-compat-feature-item { display: flex; align-items: center; gap: 0.5rem; color: #64748B; font-size: 0.9rem; font-weight: 500; }
.tv-compat-feature-item svg { color: #2563EB; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .tv-hiw-grid { grid-template-columns: 1fr; }
    .tv-hiw-grid::before { display: none; }
    .tv-bento-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .tv-review-grid { grid-template-columns: 1fr; }
    .tv-partners-grid { grid-template-columns: repeat(4, 1fr); }
    .tv-compat-grid { grid-template-columns: 1fr; gap: 3rem; }
    .tv-compat-phone-wrapper { margin-bottom: 2rem; }
}

@media (max-width: 767px) {
    .tv-bento-grid { display: flex !important; flex-direction: column !important; gap: 1rem !important; }
    .tv-card-base { min-width: 0; width: 100%; box-sizing: border-box; }
    .tv-span-2x2 { grid-column: span 1 !important; grid-row: span 1 !important; }
    .tv-span-2x1 { grid-column: span 1 !important; grid-row: span 1 !important; }
    .tv-dest-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .tv-img-large h3 { font-size: 1.75rem !important; margin-bottom: 0.5rem; }
    .tv-img-large .tv-country-watermark { font-size: 3rem !important; bottom: 1.5rem !important; }
    .tv-img-large { padding: 1.5rem !important; }
    .tv-img-content h3 { font-size: 1.5rem !important; }
    .tv-card-white-watermark { font-size: 2rem !important; }
    .tv-category-tabs { gap: 0.5rem; }
    .tv-tab-item { padding: 0.4rem 1rem; font-size: 0.85rem; }
    .tv-partners-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .tv-result-list ul { grid-template-columns: 1fr; }
    .tv-result-footer { flex-direction: column; gap: 1rem; text-align: center; }
}
