/* ============================================================
   EPG Website Custom CSS
   Author: Sathish Kumar R
   ============================================================ */
   
/* Base styles */
body { font-family: Arial, sans-serif; margin: 0; padding: 0; background: #f9f9f9; color: #222; }
html, body { height: 100%; }
body { display: flex; flex-direction: column; }
main { flex: 1; }

/* Homepage header */
.home-header { background: #0077cc; color: #ffffff; padding: 10px; text-align: center; }
.home-header h1, #channel-name { margin: 0; font-size: clamp(1.2rem, 2vw + 1rem, 2.5rem); display: inline-flex; align-items: center; gap: 6px; line-height: 1.2; }
.channel-logo { height: 48px; object-fit: contain; border-radius: 6px; background: #fff; opacity: 0; transition: opacity 0.4s ease; }
.channel-logo.loaded { opacity: 1; }
.channel-logo.svg-logo { padding: 5px 10px; height: 50px;}
.channel-logo.raster-logo { height: 48px; padding: 0; }
.home-header .index-tv { width: 1em; height: 1em; margin-right: 6px; vertical-align: middle; position: relative; top: -5px; }
.home-header .fav-star { width: 1em; height: 1em; margin-right: 6px; vertical-align: middle; position: relative; top: -2px; }
.home-header .index-movies { width: 1em; height: 1em; margin-right: 6px; vertical-align: middle; position: relative; top: -6px; }
#channel-summary, #fav-summary, .movie-summary { margin: 5px 0 0; font-size: 0.95em; color: #ffffff; }
#live-status { display: flex; justify-content: center; align-items: center; margin-top: 10px; }
#clock { font-weight:bold; position: static; }
@media (max-width: 768px) {
  .channel-logo.raster-logo { height: 40px; padding: 0; }
  .channel-logo.svg-logo { height: 40px; }
}

/* Main Menu */
.main-menu { background-color: #111; padding: 10px 10px; width: 100%; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; box-sizing: border-box; }
.main-menu ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.main-menu li { display: inline; white-space: normal; margin: 10px 0; }
.main-menu a { color: #fff; padding: 8px 12px; text-decoration: none; font-weight: 500; transition: color 0.3s, background 0.3s; }
.main-menu a:hover { background-color: #006dcc; border-radius: 5px; color: #fff; text-decoration: none; }
.main-menu a.active { color: #fff; font-weight: bold; background-color: #004c80; border-radius: 5px; padding: 8px 12px; }

/* Searchbar */
#search-container { position: relative; width: 90%; max-width: 400px; margin: 10px auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
#search { width: 84%; padding: 10px 12px 10px 38px; border: 2px solid #ccc; border-radius: 8px; font-size: 1rem; transition: border-color 0.3s, box-shadow 0.3s; }
#search-container::before { content: ""; position: absolute; left: 12px; top: 60%; width: 16px; height: 16px; border: 2px solid #555; border-radius: 50%; transform: translateY(-50%); }
#search-container::after { content: ""; position: absolute; left: 27px; top: 77%; width: 7px; height: 2px; background-color: #555; transform: rotate(45deg) translateY(-50%); }
#search:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); }
#clearSearch { position: absolute; right: 25px; top: 60%; transform: translateY(-50%); cursor: pointer; font-size: 16px; color: #888; display: none; }

/* Homepage/Favorites Channels Listing */
#channel-list, #fav-channel-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 15px; padding: 15px;  max-width: 100vw; box-sizing: border-box; overflow-x: hidden; }
.channel-card { border: 1px solid #ccc; border-radius: 8px; padding: 12px; background-color: #fff; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.channel-card:hover { transform: scale(1.03); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }
.channel-card .channel-header { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1.1em; margin-bottom: 10px; }
.channel-card .channel-link { font-weight: 600; color: #0a58ca; text-decoration: none; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;  margin-bottom: 6px; }
.channel-card .channel-link:hover { text-decoration: underline; }
.channel-card .program-info { display: flex; flex-direction: column; gap: 2px; }
.channel-card .current-prog { display: flex; align-items: center; gap: 4px; font-size: 0.95em; color: #666; font-weight: bold; }
.channel-card .truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.channel-card .time { font-size: 0.8em; color: #222; margin-left: 4px; }
.channel-card .next-prog { font-size: 0.85em; color: #555; display: flex; align-items: center; gap: 4px; }
.channel-card .next-prog .time { font-size: 0.85em; color: #444; }
.hidden { display: none !important; }
.badge-yesterday { font-size: 11px; background: #444; color: #fff; padding: 2px 6px; margin-left: 8px; border-radius: 4px; vertical-align: middle; }
#now-playing { padding: 15px; }
#now-playing h2 { font-size: 20px; margin-bottom: 10px; }
.now-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 15px; }
.now-card { background: #111; color: #fff; padding: 12px; border-radius: 8px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.now-card:hover { background: #222; }
.now-channel { font-weight: bold; color: #00d4ff; text-decoration: none; }
.now-title { font-size: 14px; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now-time { font-size: 12px; color: #aaa; }
.now-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
/* 🔴 Ending Soon badge */
.ending-soon { font-size: 12px; color: #fff; background: #e53935; padding: 2px 6px; border-radius: 4px; font-weight: 600; line-height: 1; }
/* 📊 Progress bar */
.progress-bar-movies { width: 100%; height: 6px; background: #eee; border-radius: 4px; margin-top: 6px; overflow: hidden; position: relative }
.progress-fill { height: 100%; background: #4caf50; transition: width 0.5s linear; display: block; }
.countdown-timer { font-size: 14px; color: #111; }
.time-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.ending-container { display: flex; align-items: center; }
.social-image-buttons { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 10px 0 0 10px; }
.btn-img { display: inline-block; text-decoration: none; line-height: 0; }
.btn-img img { height: 60px; width: auto; display: block; border-radius: 8px; transition: all 0.2s ease; cursor: pointer; }
.btn-img img:hover { transform: scale(1.05); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); }
.btn-img:active img { transform: scale(0.95); }
.wa-btn img { box-shadow: 0 0 0 rgba(37, 211, 102, 0.0); }
.tg-btn img { box-shadow: 0 0 0 rgba(0, 136, 204, 0.0); }
@media (max-width: 600px) {
  .btn-img img { height: 42px; }
}
.center-social { justify-content: center; }
@media (max-width: 768px) {
  .sticky-social { position: fixed; bottom: 15px; left: 10px; right: 10px; display: flex; justify-content: center; gap: 10px; z-index: 9999; }
  .sticky-social .btn-img img { height: 48px; border-radius: 50px; box-shadow: 0 6px 18px rgba(0,0,0,0.3); }
}

/* Live dot blinking */
.live-dot { width: 10px; height: 10px; background: red; border-radius: 50%; display: inline-block; margin-right: 6px; animation: pulse 1.2s infinite; vertical-align: middle; }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.6; } 100% { transform: scale(1); opacity: 1; } }

/* Favorite Sort & Toast */
.sort-bar { text-align: center; margin: 10px auto; }
select#sortOption { padding: 6px 10px; font-size: 0.95em; border-radius: 6px; border: 1px solid #ccc; }
.fav-btn { background: none; border: none; font-size: 1.2em; cursor: pointer; }
#toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #0077cc; color: #fff; padding: 10px 15px; border-radius: 25px; opacity: 0; transition: opacity 0.5s; pointer-events: none; font-size: 0.9em; }
#toast.show { opacity: 1; }

/* Back to Home Page */
.back-link { display: inline-block; color: #fff; text-decoration: none; background: #005fa3; padding: 5px 10px; border-radius: 6px; font-size: 0.9em; margin-top: 8px; }
.back-link:hover { background: #004c80; }

/* Movies page Style */
#movie-tabs + div { margin-top: 10px; }
#movies-list.add-tab { width: 100%; max-width: 100%; margin: 0; padding: 0 15px; box-sizing: border-box; }
#movies-list.all-tab1 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-top: 12px; }
#movies-list a { color: #0077cc; font-weight: bold; text-decoration: none; transition: color 0.2s ease, text-decoration 0.2s ease; }
#movies-list a:hover { color: #005fa3; text-decoration: underline; }
.movies-container { padding: 10px; }

/* Grouped sections in All view */
.movie-section { margin: 20px 0px; }
.movie-section h2 { color: #fff; background: #004c80; padding: 8px; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }

/* Grid layout for movies inside All */
.movie-grid, .flat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 15px; }
.movie-grid .program, .flat-grid .program { padding: 10px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }

/* Highlight live program */
.program.live-highlight { background: #fff8e1; border-left: 4px solid #ff9800; padding-left: 8px; border-radius: 8px; }
.movie-grid .program { background: #fff; }

/* Programs Style */
.program { border-bottom: 1px solid #ddd; padding: 8px; }
.program:last-child { border-bottom: none; }

.time-label { font-size: 0.9em; }
.time-range { font-size: 0.8em; }

/* Channel Tabs */
#tabs, .tabs { display: flex; justify-content: center; margin: 10px; }
.tab { padding: 10px 20px; margin: 0 5px; border: none; background: #ddd; cursor: pointer; border-radius: 5px; font-weight: bold; font-size: 14px; }
.tab.active { background: #0077cc; color: white; }
.tab.small { padding:6px 10px; font-size:0.90em; }

/* Language tabs row */
#movie-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 10px 0; }
#movie-tabs .tab, .view-toggle .tab { flex: 1 1 auto; min-width: 100px; max-width: 180px; text-align: center; white-space: nowrap; }
@media (max-width: 480px) {
  #movie-tabs .tab, .view-toggle .tab { min-width: 80px; font-size: 0.8em; padding: 5px 8px; }
}

/* Style the toggle buttons like tabs */
#groupedViewBtn, #flatViewBtn { margin: 0 5px; padding: 6px 12px; border: none; border-radius: 6px; background: #eee; cursor: pointer; }
#groupedViewBtn.active, #flatViewBtn.active { background: #0077cc; color: #fff; }
.view-toggle { display: flex; justify-content: center; gap: 10px; margin: 15px 0 10px 0; padding-top: 12px; border-top: 1px solid #ddd; }
.view-toggle .tab.active { background: #0077cc; color: #fff; }

/* Live block style */
.remaining-time { margin-top: 6px; font-size: 0.9em; color: #fff; }
/* --- Smooth Fade Animation for Live Block --- */
#live-now { transition: opacity 0.4s ease; }
.fade-out { opacity: 0; }
.fade-in { opacity: 1; }

/* Progress bar */
.progress-container { background: #ddd; border-radius: 6px; overflow: hidden; height: 8px; margin-top: 6px; }
.progress-bar { height: 100%; background: #ff3b3b; width: 0%; transition: width 1s linear; }

/* --- Fullscreen transparent overlay --- */
#program-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.75); display: flex; justify-content: center; align-items: center; text-align: center; color: #fff; font-family: "Poppins", sans-serif; opacity: 0; visibility: hidden; z-index: 9999; transition: opacity 0.8s ease, visibility 0.8s ease; }
#program-overlay.show { opacity: 1; visibility: visible; }
.overlay-content { background: rgba(255, 255, 255, 0.08); padding: 20px 30px; border-radius: 20px; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4); animation: slideUp 0.7s ease; max-width: 80%; }
/* 🔄 Bright Orange Spinner at Top */
.overlay-loader { border: 10px solid rgba(255, 255, 255, 0.3); border-top: 10px solid #ff9500; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; margin: 0 auto 15px; }
#overlay-status { font-size: 1.3em; letter-spacing: 1px; opacity: 0.9; }
#overlay-channel { font-size: clamp(1.2rem, 2vw + 1rem, 2.5rem); font-weight: 700; color: #ffcc00; margin: 5px 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
#overlay-title { font-size: 1.5em; font-weight: 600; }
#overlay-time { font-size: 1.2em; opacity: 0.85; }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.overlay-channel { display: flex; align-items: center; gap: 10px; }
.overlay-logo { height: 48px; width: auto; border-radius: 6px; background: #fff; }
.overlay-channel-text { font-weight: 600; }

/* Back to Top Button */
#backToTop { display: none; position: fixed; bottom: 135px; right: 25px; z-index: 1000; width: 48px; height: 48px; border: none; border-radius: 50%; background-color: #004c80; color: #fff; cursor: pointer; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease; opacity: 0; }
#backToTop.show { display: flex; justify-content: center; align-items: center; opacity: 1; }
#backToTop:hover { background-color: #006dcc; transform: scale(1.1); }

/* Icons */
.fav-icon { width: 20px; height: 20px; vertical-align: middle; cursor: pointer; transition: transform 0.2s ease, opacity 0.2s ease; }
.fav-icon:hover { transform: scale(1.15); opacity: 0.8; }
.icon { width: 18px; height: 18px; vertical-align: -3px; opacity: 0.8; }
.icon-small { width: 14px; height: 14px; vertical-align: -2px; opacity: 0.8; }
.remaining-time .icon { width: 16px; height: 16px; }

.no-epg-wrapper { text-align: center; margin: 10px; padding: 60px 20px; background: #111; border-radius: 12px; color: #ddd; }
.no-epg-wrapper h2 { color: #f5c542; margin-bottom: 12px; }
.no-epg-wrapper .muted { color: #888; font-size: 14px; }

.live-card { background: #111; color: #fff; padding: 15px; border-radius: 10px; margin: 10px; }
.live-header { margin-bottom: 8px; }
.live-badge { color: #ff3b3b; font-weight: bold; font-size: 14px; }
.live-title { font-size: 20px; margin: 5px 0; }
.live-desc { font-size: 14px; color: #ccc; margin-bottom: 8px; }
.live-time { font-size: 14px; margin-bottom: 8px; }
.no-live { text-align: center; color: #aaa; }

/* Footer styling */
.site-footer { margin-top: 10px; padding: 10px; background: #222; color: #ccc; text-align: center; font-size: 0.9em; border-top: 1px solid #444; }
.site-footer p { margin: 5px 0; }
.site-footer img { width: 16px; height: 16px; margin-right: 4px; vertical-align: middle; }
.footer-links { margin-top: 10px; font-size: 14px; text-align: center; }
.footer-links a { color: #ddd; text-decoration: none; margin: 0 6px; transition: color 0.2s ease; }
.footer-links a:hover { color: #ffffff; text-decoration: underline; }
@media (max-width: 600px) {
  .footer-links { font-size: 13px; line-height: 1.8; }
  .footer-links a { display: inline-block; margin: 4px 6px; }
}

/* Related Channels - same as homepage */
.related-channels { margin:30px 15px; }
.related-channels h2 { font-size:22px; margin-bottom:15px; }
.related-channels .channel-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:15px; padding:0; margin:0; }
.related-channels .channel-card { text-decoration:none; }
.related-channels .channel-link { text-decoration:none; }
.related-channels .channel-card:hover .channel-link { text-decoration:underline; }
.related-channels .current-prog *,
.related-channels .next-prog * { text-decoration:none !important; }
.related-channels .current-prog, .related-channels .next-prog { display:flex; align-items:center; gap:6px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.related-channels .live-dot { flex:0 0 auto; margin-right:0; }
.related-channels .line-text { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.related-channels .time { color:#444; font-size:0.85em; white-space:nowrap; }

/* DTH Channel List */
.table-wrap { overflow-x:auto; margin:10px; }
.channel-table { width:100%; border-collapse:separate; border-spacing:0; table-layout:fixed; background:#fff; }
.channel-table th, .channel-table td { border:1px solid #999; padding:6px; vertical-align:middle; overflow-wrap:break-word; }
.channel-table th { background:#222; color:#fff; font-weight:700; position:sticky; top:0; z-index:5; }
/* Desktop widths */
.channel-table th:nth-child(1), .channel-table td:nth-child(1) { width:18%; }
.channel-table th:nth-child(2), .channel-table td:nth-child(2) { width:7%; text-align:center; }
.channel-table th:nth-child(3), .channel-table td:nth-child(3) { width:27%; }
.channel-table th:nth-child(4), .channel-table td:nth-child(4) { width:14%; }
.channel-table th:nth-child(5), .channel-table td:nth-child(5) { width:7%; }
.channel-table th:nth-child(6), .channel-table td:nth-child(6) { width:27%; }
.channel-summary-bar { text-align:center; font-weight:700; font-size:16px; margin:10px 0 8px; color:#222; }
.updated-row td { background:#222; color:#fff; font-size:14px; border-radius:0 0 8px 8px; }
.channel-table { visibility:hidden; }
.channel-table.ready { visibility:visible; }

/* Mobile */
@media (max-width:768px) {
	.channel-table th:nth-child(4), .channel-table td:nth-child(4),	.channel-table th:nth-child(5),	.channel-table td:nth-child(5),	.channel-table th:nth-child(6),	.channel-table td:nth-child(6) { display:none; }
	.channel-table th:nth-child(1), .channel-table td:nth-child(1) { width:33%; }
	.channel-table th:nth-child(2), .channel-table td:nth-child(2) { width:10%; }
	.channel-table th:nth-child(3), .channel-table td:nth-child(3) { width:57%; }
	.channel-table th, .channel-table td { font-size:12px; padding:5px;	}
}

/* Related DTH Links */
.related-dth-links { width:100%; max-width:none; margin:15px 0 15px; padding:0 20px; box-sizing:border-box; }
.related-dth-links h2 { font-size:24px; margin-bottom:15px; text-align:left; }
.dth-links-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:15px; width:100%; }
/* Card style */
.dth-link-card {
  display: block;
  background: #ffffff;
  padding: 16px 12px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: #0a58ca;;
  font-weight: 600;
  border: 1px solid #e6eaf0;
  font-size:18px;
  transition: all 0.25s ease;
}

/* Hover effect */
.dth-link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border-color: #0d73bb;
  background: #f8fbff;
  text-decoration: underline;
}

/* Optional: subtle secondary text (future use) */
.dth-link-card span {
  display: block;
  font-size: 13px;
  color: #666;
  margin-top: 4px;
  font-weight: normal;
}
a {
	color: #0a58ca;
	font-weight: bold;
	text-decoration: none;
}
a:hover {
	text-decoration:underline;
}

/* Legends */
.legend { margin:10px;padding:8px;border:1px solid #ccc;border-radius:6px;background:var(--legend-bg);font-size:13px;display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:center; }
.legend-item { display:flex;gap:6px;align-items:center; }
.color-swatch { width:20px;height:14px;border-radius:3px;border:1px solid #999; }

.tv-filters { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin:8px 0 10px; }
.filter-btn { border:1px solid #ccc; background:#fff; color:#222; padding:6px 12px; border-radius:20px; cursor:pointer; font-size:14px; font-weight:600; }
.filter-btn:hover { background:#f3f3f3; }
.filter-btn.active { background:#007bff; color:#fff; border-color:#007bff; }

.provider-content, .provider-faq { width:100%; max-width:100%; margin:15px 0; padding:16px; background:#fff; border-radius:10px; box-shadow:0 2px 8px rgba(0,0,0,0.05); box-sizing:border-box; overflow:visible; }
.provider-content h2, .provider-faq h2 { margin:0 0 12px; font-size:22px; line-height:1.35; word-wrap:break-word; overflow-wrap:break-word; }
.provider-content p, .provider-faq p { margin:10px 0; line-height:1.7; word-wrap:break-word; overflow-wrap:break-word; word-break:break-word; text-align:justify; }
.faq-item { margin-bottom:18px; }
/* Mobile */
@media (max-width:768px) {
    .provider-content, .provider-faq { padding:14px; border-radius:8px; }
    .provider-content h2, .provider-faq h2 { font-size:18px; }
    .provider-content p, .provider-faq p { font-size:15px; line-height:1.6; }
}
/* FIX Guide + FAQ clipping */
main { flex: 1 0 auto; min-height: auto; }
.provider-content, .provider-faq { display:block; width:100%; height:auto !important; min-height:fit-content; max-height:none !important; overflow:visible !important; clear:both; }
.site-footer { margin-top:auto; }

.daily-updates-box { margin:12px; }
.updates-heading { font-weight:700; font-size:16px; margin-bottom:10px; }
.updates-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:15px; margin: 12px; align-items: stretch; }
.update-card { border-radius:10px; padding:10px; border:1px solid #ddd; background:#fff; box-shadow:0 1px 4px rgba(0,0,0,.08); }
.update-card.added { border-left:5px solid #28a745; background:#f3fff6; }
.update-card.new { border-left: 5px solid #28a745; background: #f3fff6; }
.update-card.removed { border-left:5px solid #dc3545; background:#fff5f5; }
.update-card.updated { border-left:5px solid #0d6efd; background:#f5f9ff; }
.update-title { font-weight:700; margin-bottom:6px; font-size:15px; }
.update-tp { font-size:13px; color:#444; margin-bottom:5px; line-height:1.4; }
.update-desc { font-size:14px; line-height:1.5; font-weight:500; word-break:break-word; }
@media (max-width:600px){
    .updates-grid { grid-template-columns:1fr; }
    .update-card { padding:12px; }
}

.faq-section { background:#fff; margin:10px auto; padding:12px; border-radius:14px; width:100%; max-width:100%; box-shadow:0 4px 14px rgba(0,0,0,.06); box-sizing:border-box; overflow:visible; }
.faq-section h2 { margin-bottom:12px; font-size:24px; line-height:1.3; word-wrap:break-word; }
.faq-item { padding:12px 0; border-bottom:1px solid #eee; }
.faq-item:last-child { border-bottom:none; }
.faq-item h3 { font-size:18px; margin:0 0 8px; color:#111; line-height:1.45; overflow-wrap:break-word; word-break:break-word; white-space:normal; }
.faq-item p { color:#555; line-height:1.65; margin:0; font-size:16px; overflow-wrap:break-word; word-break:break-word; }
/* Mobile extra fix */
@media (max-width:480px){
  .faq-section { padding:10px; border-radius:12px; }
  .faq-section h2 { font-size:22px; }
  .faq-item h3 { font-size:17px; }
  .faq-item p { font-size:15px; }
}

/* =====================================
   FINAL ROW HIGHLIGHT + TODAY UPDATES + BADGES
===================================== */

/* Base changed rows */
.status-row td,
.status-updated td,
.status-added td,
.status-audio td,
.status-renamed td,
.status-moved td,
.status-lcn td{
    position:relative;
    transition:background-color .35s ease, box-shadow .35s ease;
}

/* Keep table borders visible */
.channel-table{
    border-collapse:separate;
    border-spacing:0;
}

/* =====================================
   UPDATED = BLUE
===================================== */
.status-updated td{
    border-top:2px solid #2f80ff !important;
    border-bottom:2px solid #2f80ff !important;
    animation:blueFlash 1s infinite;
}
.status-updated td:first-child{border-left:4px solid #2f80ff !important;}
.status-updated td:last-child{border-right:2px solid #2f80ff !important;}

/* =====================================
   ADDED = GREEN
===================================== */
.status-added td{
    border-top:2px solid #1ea84a !important;
    border-bottom:2px solid #1ea84a !important;
    animation:greenFlash 1s infinite;
}
.status-added td:first-child{border-left:4px solid #1ea84a !important;}
.status-added td:last-child{border-right:2px solid #1ea84a !important;}

/* =====================================
   REMOVED = RED
===================================== */
.status-removed td{
    border-top:2px solid #dc3545 !important;
    border-bottom:2px solid #dc3545 !important;
    animation:redFlash 1s infinite;
}
.status-removed td:first-child{border-left:4px solid #dc3545 !important;}
.status-removed td:last-child{border-right:2px solid #dc3545 !important;}

/* =====================================
   AUDIO = CYAN
===================================== */
.status-audio td{
    border-top:2px solid #17a2b8 !important;
    border-bottom:2px solid #17a2b8 !important;
    animation:cyanFlash 1s infinite;
}
.status-audio td:first-child{border-left:4px solid #17a2b8 !important;}
.status-audio td:last-child{border-right:2px solid #17a2b8 !important;}

/* =====================================
   RENAMED = YELLOW
===================================== */
.status-renamed td{
    border-top:2px solid #ffc107 !important;
    border-bottom:2px solid #ffc107 !important;
    animation:yellowFlash 1s infinite;
}
.status-renamed td:first-child{border-left:4px solid #ffc107 !important;}
.status-renamed td:last-child{border-right:2px solid #ffc107 !important;}

/* =====================================
   MOVED = PURPLE
===================================== */
.status-moved td{
    border-top:2px solid #6f42c1 !important;
    border-bottom:2px solid #6f42c1 !important;
    animation:purpleFlash 1s infinite;
}
.status-moved td:first-child{border-left:4px solid #6f42c1 !important;}
.status-moved td:last-child{border-right:2px solid #6f42c1 !important;}

/* =====================================
   LCN = ORANGE
===================================== */
.status-lcn td{
    border-top:2px solid #fd7e14 !important;
    border-bottom:2px solid #fd7e14 !important;
    animation:orangeFlash 1s infinite;
}
.status-lcn td:first-child{border-left:4px solid #fd7e14 !important;}
.status-lcn td:last-child{border-right:2px solid #fd7e14 !important;}

/* =====================================
   ECM = VIOLET
===================================== */
.status-ecm td{
    border-top:2px solid #8e44ad !important;
    border-bottom:2px solid #8e44ad !important;
    animation:ecmFlash 1s infinite;
}
.status-ecm td:first-child{
    border-left:4px solid #8e44ad !important;
}
.status-ecm td:last-child{
    border-right:2px solid #8e44ad !important;
}

/* =====================================
   FULL ROW SINGLE BORDER BLINK
   Keeps original cell colors
===================================== */
.status-row{
    position:relative;
}

.status-row::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    border:2px solid transparent;
    z-index:3;
    box-sizing:border-box;
    border-radius:0;
}

/* Colors */
.status-updated::after{ animation:rowBlueGlow 1s infinite; }
.status-added::after{ animation:rowGreenGlow 1s infinite; }
.status-removed::after{ animation:rowRedGlow 1s infinite; }
.status-audio::after{ animation:rowCyanGlow 1s infinite; }
.status-renamed::after{ animation:rowYellowGlow 1s infinite; }
.status-moved::after{ animation:rowPurpleGlow 1s infinite; }
.status-lcn::after{ animation:rowOrangeGlow 1s infinite; }
.status-ecm::after{ animation:rowEcmGlow 1s infinite; }

/* Keyframes */
@keyframes rowBlueGlow{
0%,100%{ border-color:rgba(47,128,255,0); box-shadow:none; }
50%{ border-color:#2f80ff; box-shadow:0 0 10px rgba(47,128,255,.7); }
}

@keyframes rowGreenGlow{
0%,100%{ border-color:rgba(30,168,74,0); box-shadow:none; }
50%{ border-color:#1ea84a; box-shadow:0 0 10px rgba(30,168,74,.7); }
}

@keyframes rowRedGlow{
0%,100%{ border-color:rgba(220,53,69,0); box-shadow:none; }
50%{ border-color:#dc3545; box-shadow:0 0 10px rgba(220,53,69,.7); }
}

@keyframes rowCyanGlow{
0%,100%{ border-color:rgba(23,162,184,0); box-shadow:none; }
50%{ border-color:#17a2b8; box-shadow:0 0 10px rgba(23,162,184,.7); }
}

@keyframes rowYellowGlow{
0%,100%{ border-color:rgba(255,193,7,0); box-shadow:none; }
50%{ border-color:#ffc107; box-shadow:0 0 10px rgba(255,193,7,.7); }
}

@keyframes rowPurpleGlow{
0%,100%{ border-color:rgba(111,66,193,0); box-shadow:none; }
50%{ border-color:#6f42c1; box-shadow:0 0 10px rgba(111,66,193,.7); }
}

@keyframes rowOrangeGlow{
0%,100%{ border-color:rgba(253,126,20,0); box-shadow:none; }
50%{ border-color:#fd7e14; box-shadow:0 0 10px rgba(253,126,20,.7); }
}

@keyframes rowEcmGlow{
0%,100%{ border-color:rgba(142,68,173,0); box-shadow:none; }
50%{ border-color:#8e44ad; box-shadow:0 0 10px rgba(142,68,173,.7); }
}

/* =====================================
   TODAY'S UPDATES GRID COLORS
===================================== */

.update-card.added{
    border-left:5px solid #1ea84a !important;
    background:#eefdf2;
}

.update-card.updated{
    border-left:5px solid #2f80ff !important;
    background:#eef6ff;
}

.update-card.audio{
    border-left:5px solid #17a2b8 !important;
    background:#eefcff;
}

.update-card.renamed{
    border-left:5px solid #f59e0b !important;
    background:#fff8ed;
}

.update-card.moved{
    border-left:5px solid #6f42c1 !important;
    background:#f6f0ff;
}

.update-card.lcn{
    border-left:5px solid #fd7e14 !important;
    background:#fff4ea;
}

.update-card.ecm {
    border-left: 5px solid #6f42c1;
    background: #f7f2ff;
}

.update-card.removed{
    border-left:5px solid #dc3545 !important;
    background:#fff1f1;
}

/* =====================================
   BADGES
===================================== */

.audio-cell{
    position:relative;
    padding-right:82px !important;
}

.status-badge{
    position:absolute;
    right:8px;
    top:50%;
    transform:translateY(-50%);
    color:#fff;
    font-size:10px;
    font-weight:700;
    padding:3px 8px;
    border-radius:12px;
    line-height:1;
    white-space:nowrap;
    animation:badgePulse 1s infinite;
    z-index:2;
}

.badge-added{background:#28a745;color:#fff;}
.badge-removed{background:#dc3545;color:#fff;}
.badge-updated{background:#007bff;color:#fff;}
.badge-audio{background:#17a2b8;color:#fff;}
.badge-renamed{background:#ffc107;color:#000;}
.badge-moved{background:#6f42c1;color:#fff;}
.badge-lcn{background:#fd7e14;color:#fff;}
.badge-ecm{background:#8e44ad;color:#fff;}

@keyframes badgePulse{
0%,100%{opacity:1;transform:translateY(-50%) scale(1);}
50%{opacity:.55;transform:translateY(-50%) scale(1.06);}
}

/* =====================================
   MOBILE FIX
===================================== */

@media (max-width:768px){

.status-badge{
    right:4px;
    font-size:9px;
    padding:2px 6px;
}

.audio-cell{
    padding-right:70px !important;
}

/* visible left border on mobile */
.status-updated td:first-child{border-left:3px solid #2f80ff !important;}
.status-added td:first-child{border-left:3px solid #1ea84a !important;}
.status-removed td:first-child{border-left:3px solid #dc3545 !important;}
.status-audio td:first-child{border-left:3px solid #17a2b8 !important;}
.status-renamed td:first-child{border-left:3px solid #ffc107 !important;}
.status-moved td:first-child{border-left:3px solid #6f42c1 !important;}
.status-lcn td:first-child{border-left:3px solid #fd7e14 !important;}

}

.pagination{
  margin:10px 0;
  text-align:center;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:2px;
}

.pagination a,
.pagination span{
  display:inline-block;
  padding:8px 4px;
  border:1px solid #ccc;
  border-radius:4px;
  text-decoration:none;
  font-size:14px;
  min-width:15px;
}

.pagination a{
  background:#fff;
  color:#333;
}

.pagination a:hover{
  background:#f2f2f2;
}

.pagination .active{
  background:#222;
  color:#fff;
  border-color:#222;
  font-weight:700;
}

.pagination .pg-dots{
  border:none;
  background:none;
  padding:8px 1px;
}

/* ===============================
   Homepage Intro Text Section
=============================== */

.homepage-intro{
  max-width: 100%;
  margin: 18px auto 10px;
  padding: 0 15px;
  text-align: justify;
}

.homepage-intro p{
  margin: 0 0 14px;
  line-height: 1.7;
  color: #222;
}

.homepage-intro p:last-child{
  margin-bottom: 0;
}

/* Optional highlight words */
.homepage-intro strong{
  color: #0d73bb;
  font-weight: 700;
}

/* Tablet */
@media (max-width: 992px){
  .homepage-intro{
    margin-top: 16px;
    padding: 0 14px;
  }

  .homepage-intro p{
    line-height: 1.65;
  }
}

/* Mobile */
@media (max-width: 768px){
  .homepage-intro{
    margin-top: 14px;
    padding: 0 12px;
  }

  .homepage-intro p{
    line-height: 1.6;
  }
}

/* Small Mobile */
@media (max-width: 480px){
  .homepage-intro p{
    line-height: 1.55;
  }
}

.homepage-extra, .movies-intro, .movies-extra, .author-line, .live-now-section p, .content-block p, .channel-intro {
	line-height: 1.7;
	text-align: justify;
	margin: 12px;
}

.movies-section, .content-block h2 {
	margin: 12px;
}

.section-desc {
	line-height: 1.7;
	text-align: justify;
	margin-right: 12px;
}

.popular-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:14px;
  margin:10px;
}

.popular-card{
  border:2px solid #0d73bb20;
}

.view-all-wrapper{
  text-align:center;
  margin-top:12px;
}

.view-all-btn{
  display:inline-block;
  padding:8px 16px;
  background:#0d73bb;
  color:#fff;
  border-radius:6px;
  text-decoration:none;
  font-size:14px;
}

.view-all-btn:hover{
  background:#0b5fa0;
}

/* Section spacing */
.homepage-section{
  max-width:100%;
}

.homepage-section h2 {
  margin:10px;
  font-size:24px;
}

.homepage-section P {
  margin-left:10px;
}

.why-premium h2{
  margin-bottom:15px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 0px 12px 0px 12px;
}

.why-card {
  background: #ffffff;
  padding: 0px;
  border-radius: 14px;
  border: 1px solid #eee;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: all 0.25s ease;
  position: relative;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.why-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f1ff;
  font-size: 20px;
  margin: 12px;
}

.why-card h3 {
  font-size: 16px;
  margin: 6px 0;
  padding-left: 12px;
}

.why-card p {
  font-size: 13px;
  color: #666;
}

.about-box {
  background: #ffffff;
  margin: 0px 12px 0px 12px;
  padding: 0px 12px 0px 0px;
  border-radius: 12px;
  line-height: 1.7;
  color: #444;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  border: 1px solid #eee;
  text-align: justify;
}

.faq-question {
  width: 100%;
  padding: 16px;
  background: #f9fafc;
  border: none;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

.faq-answer {
  display:block;
  padding: 16px;
  font-size: 14px;
  color: #444;
  border-top: 1px solid #eee;
}

.why-icon img {
  width: 22px;
  height: 22px;
}

.search-summary {
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
  color: #555;
  background: #f7f9fc;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
}

.articles-section {
  margin: 40px 0;
  display: block;
}

/* =========================
   ARTICLES = SAME AS CHANNEL CARD
========================= */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  padding: 10px;
  /* 🔥 ensures equal row stretch */
  align-items: stretch;
  align-content: start;
}

/* 🔥 Make article use SAME base style */
.article-card {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  height: auto;
  position: relative;
}

/* same hover */
.article-card:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* header style like channel */
.article-title {
  font-weight: 600;
  font-size: 1.05em;
  color: #0a58ca;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}

/* date same tone as channel meta */
.article-date {
  font-size: 0.8em;
  color: #666;
  margin-bottom: 6px;
}

/* content similar to program-info */
.article-excerpt {
  font-size: 0.9em;
  color: #555;
  line-height: 1.4;
  flex-grow: 1;
  text-align:justify;
}

/* link same style feel */
.article-link {
  margin-top: auto;   /* 🔥 key line */
  display: block;
  text-align: center;
  background: #0d73bb;
  color: #fff;
  padding: 8px;
  border-radius: 6px;
  text-decoration: none;
}

.dth-updates-section {
  margin-top: 30px;
}

.update-meta {
  font-size: 0.75em;
  color: #777;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}

.update-provider {
  font-weight: 600;
  color: #0d73bb;
}

.update-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.update-desc {
  font-size: 0.9em;
  color: #555;
}

.update-badge {
  display: inline-block;
  font-size: 0.75em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 6px;
  font-weight: 600;
}

/* colors */
.update-new {
  background: #d4edda;
  color: #155724;
}

.update-added {
  background: #d4edda;
  color: #155724;
}

.update-reactivated {
  background: #d4edda;
  color: #155724;
}

.update-removed {
  background: #f8d7da;
  color: #721c24;
}

.update-deactivated {
  background: #f8d7da;
  color: #721c24;
}

.update-replaced {
  background: #fff3cd;
  color: #856404;
}

.update-updated {
  background: #e8f1ff;
  color: #0b57d0;
}

/* AUDIO */
.update-audio {
  background: #e0f7fa;
  color: #0f5460;
}

/* ECM */
.update-ecm {
  background: #f3e8ff;
  color: #6b21a8;
}

/* RENAMED */
.update-renamed {
  background: #fff1e6;
  color: #b45309;
}

/* TP MOVED */
.update-moved {
  background: #e6f7ff;
  color: #0c4a6e;
}

/* LCN */
.update-lcn {
  background: #ede9fe;
  color: #5b21b6;
}

/* SD → HD */
.update-sdtohd {
  background: #dbeafe;
  color: #1d4ed8;
}

/* HD → SD */
.update-hdtosd {
  background: #ffedd5;
  color: #c2410c;
}

/* SYSTEM */
.update-system {
  background: #e0f2fe;
  color: #0369a1;
}

/* TECHNICAL */
.update-technical {
  background: #e0f2fe;
  color: #075985;
}

.section-title {
  text-align: center;
  margin: 15px 0;
  font-size: 20px;
  font-weight: 600;
}

.article p {
	text-align: justify;
}

.update-card {
    display: flex;
    flex-direction: column;
}

.update-title {
    flex-grow: 1;
}

.update-badge {
    margin-top: auto;
    align-self: flex-start;
	border:1px solid rgba(0,0,0,0.06);
}

.no-updates {
	margin: 12px;
}

.telegram-float{
    position:fixed;
    right:20px;
    bottom:20px;
    background:#0088cc;
    color:#fff;
    text-decoration:none;
    padding:12px 18px;
    border-radius:50px;
    font-size:15px;
    font-weight:600;
    display:flex;
    align-items:center;
    gap:8px;
    z-index:99999;
    box-shadow:0 4px 15px rgba(0,0,0,0.25);
    transition:0.3s ease;
}

.telegram-float:hover{
    transform:translateY(-2px);
    background:#0099e6;
	text-decoration: none;
}

.telegram-icon{
    font-size:18px;
}

@media(max-width:768px){

    .telegram-float{
        right:15px;
        bottom:15px;
        padding:10px 14px;
        font-size:14px;
    }

}

/* =====================================
   FLOATING WHATSAPP CHANNEL BUTTON
===================================== */

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 75px; /* Above Telegram button */
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff !important;
    padding: 12px 18px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: all 0.25s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.03);
    background: #1ebe5d;
    color: #fff !important;
    text-decoration: none !important;
}

.whatsapp-float img {
    width: 24px;
    height: 24px;
    display: block;
}

/* Pulse animation */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0.6);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(37,211,102,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0);
    }
}

/* Mobile */
@media (max-width:768px) {

    .whatsapp-float {
        right: 15px;
        bottom: 75px;
        padding: 10px 14px;
        font-size: 14px;
    }

    .whatsapp-float img {
        width: 22px;
        height: 22px;
    }
}

.channel-telegram-box{
    background:#eef7ff;
    border:1px solid #cfe6ff;
    border-radius:12px;
    padding:12px;
    margin:12px;
    text-align:center;
}

.channel-telegram-title{
    font-size:18px;
    font-weight:700;
    margin-bottom:12px;
    color:#0066aa;
}

.channel-telegram-desc{
    font-size:14px;
    color:#555;
    margin-bottom:12px;
}

.channel-telegram-btn{
    display:inline-block;
    background:#0088cc;
    color:#fff;
    text-decoration:none;
    padding:10px 18px;
    border-radius:8px;
    font-weight:700;
}

.channel-telegram-btn:hover{
    background:#0099e6;
}

.telegram-popup{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.65);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:999999;
    padding:20px;
}

.telegram-popup-box{
    background:#fff;
    width:100%;
    max-width:420px;
    border-radius:18px;
    padding:28px 24px;
    text-align:center;
    position:relative;
    animation:telegramPopupFade 0.25s ease;
    box-shadow:0 10px 40px rgba(0,0,0,0.25);
}

.telegram-popup-icon{
    margin-bottom:15px;
}

.telegram-popup-box h3{
    margin:0 0 16px;
    font-size:24px;
    line-height:1.4;
    color:#111;
}

.telegram-popup-text{
    color:#444;
    line-height:1.9;
    font-size:15px;
    margin-bottom:24px;
}

.popup-buttons{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:20px;
}

.telegram-popup-btn,
.whatsapp-popup-btn{
    display:block;
    width:100%;
    box-sizing:border-box;
    padding:12px 15px;
    border-radius:8px;
    color:#fff;
    text-decoration:none;
    font-size:16px;
    font-weight:600;
    text-align:center;
    transition:all .3s ease;
}

.telegram-popup-btn{
    background:#0088cc;
}

.telegram-popup-btn:hover{
    background:#0077b5;
}

.whatsapp-popup-btn{
    background:#25D366;
}

.whatsapp-popup-btn:hover{
    background:#1ebe5d;
}

.telegram-popup-note{
    margin-top:16px;
    font-size:13px;
    color:#444;
}

.telegram-close{
    position:absolute;
    top:10px;
    right:14px;
    border:none;
    background:none;
    font-size:28px;
    cursor:pointer;
    color:#666;
}

@keyframes telegramPopupFade{

    from{
        opacity:0;
        transform:scale(0.92);
    }

    to{
        opacity:1;
        transform:scale(1);
    }
}

@media(max-width:768px){

    .telegram-popup-box{
        padding:24px 20px;
    }

    .telegram-popup-box h3{
        font-size:21px;
    }

    .telegram-popup-text{
        font-size:14px;
    }

}

/* =====================================
   WHATSAPP CHANNEL CTA
===================================== */

.whatsapp-cta-box {
    margin: 18px 15px;
    background: linear-gradient(135deg, #25D366, #1ebe5d);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.whatsapp-cta-content {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
}

.whatsapp-cta-icon {
    flex-shrink: 0;
    background: rgba(255,255,255,0.15);
    padding: 10px;
    border-radius: 14px;
}

.whatsapp-cta-text {
    flex: 1;
}

.whatsapp-cta-text h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 24px;
    line-height: 1.3;
}

.whatsapp-cta-text p {
    margin: 0;
    color: rgba(255,255,255,0.92);
    font-size: 15px;
    line-height: 1.6;
}

.whatsapp-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #25D366 !important;
    text-decoration: none !important;
    font-weight: 700;
    padding: 14px 22px;
    border-radius: 50px;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.whatsapp-cta-btn:hover {
    transform: translateY(-2px);
    background: #f4f4f4;
    box-shadow: 0 0 18px rgba(255,255,255,0.45);
}

/* Mobile */
@media (max-width:768px) {

    .whatsapp-cta-content {
        flex-direction: column;
        text-align: center;
        padding: 22px 18px;
    }

    .whatsapp-cta-text h2 {
        font-size: 22px;
    }

    .whatsapp-cta-text p {
        font-size: 14px;
    }

    .whatsapp-cta-btn {
        width: 100%;
        margin-top: 5px;
    }
}

/* =====================================
   CHANNEL SOCIAL BOX
===================================== */

.channel-social-box{
    background:#eef5fb;
    border:1px solid #d8e6f3;
    border-radius:14px;
    padding: 18px 20px;
    margin:20px 10px;
    text-align:center;
}

.channel-social-title{
    font-size:24px;
    font-weight:700;
    color:#0a58ca;
    margin-bottom:10px;
}

.channel-social-desc{
    color:#555;
    font-size:15px;
    margin-bottom:18px;
}

.channel-social-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
}

.channel-telegram-btn,
.channel-whatsapp-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:14px 22px;
    border-radius:50px;
    color:#fff !important;
    text-decoration:none !important;
    font-weight:700;
    transition:all .25s ease;
    box-shadow:0 4px 14px rgba(0,0,0,0.12);
}

.channel-telegram-btn{
    background:#0088cc;
}

.channel-whatsapp-btn{
    background:#25D366;
}

.channel-telegram-btn:hover,
.channel-whatsapp-btn:hover{
    transform:translateY(-2px);
    opacity:.96;
    box-shadow:0 0 18px rgba(0,0,0,0.18);
}

.channel-telegram-btn img,
.channel-whatsapp-btn img{
    width:20px;
    height:20px;
}

/* Mobile */
@media (max-width:768px){

    .channel-social-box{
        padding:20px 15px;
    }

    .channel-social-title{
        font-size:22px;
    }

    .channel-social-buttons{
        flex-direction:column;
		width:100%;
    }

    .channel-telegram-btn,
	.channel-whatsapp-btn{
		width:100%;
		max-width:100%;
		box-sizing:border-box;
	}
}