:root {
  --primary-color: #0d6efd;
  --secondary-color: #dc3545;
  --text-main: #2d3748;
  --text-muted: #718096;
  --bg-body: #f7fafc;
  --bg-card: #ffffff;
  --border-color: #edf2f7;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* --- Typography --- */
h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
}
h2 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.35;
}
h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
}
h4 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.45;
}
h5 {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
}
h6 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 768px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.35rem; }
  h4 { font-size: 1.15rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: 0.95rem; }
}

/* --- Body & General --- */
body {
  background: #f0f4f9;
  font-family: Verdana, Geneva, sans-serif;
}
pre{
  background: #f0f4f9;
  padding:5px;
}
.bg-ets2{
  background: #f9f0f0 !important;
  background-color:#f9f0f0;
}
a, a:hover {
  color: #2e2e2e;
  text-decoration: none;
}

main{
  margin-top:20px;
}

.container {
  max-width: 1050px;
}

/* --- Meta Information --- */
.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #777;
}

.meta span.separator {
  color: #ccc;
}

@media (max-width: 576px) {
  .meta {
    font-size: 0.85rem;
    gap: 0.4rem;
  }
  .meta > * {
    white-space: nowrap;
  }
}

/* --- Images & Media --- */
.card img,
.featured-box img,
.post-widget img
{
  width: 100%;
  height: auto;
  display: block;
}
.single-content img {
  max-width: 100%;
  height: auto;
  display: block;
}
.single-content a{
	color:#cf3232 !important;
}

/* --- Responsive Embeds (Video, iFrame) --- */
.embed-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 15px 0;
  border-radius: 8px;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Direct iframe support (16:9) */
iframe {
  width: 100%;
  height: 340px;
}
@media (max-width: 768px) {
  iframe {
    height: 240px;
  }
}

@media (max-width: 576px) {
  iframe {
    height: 200px;
  }
}
/* --- Navbar --- */
.navbar {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  padding: 0.7rem 1.2rem;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.4rem;
  color: #222 !important;
  margin-right:0px !important;
}

.navbar-brand span {
  color: #dc3545;
}

.nav-link {
  color: black !important;
  font-weight: 500;
  margin: 0 .7rem;
}

.nav-link:hover {
  color: #2f2f2f !important;
}

.icon-btn svg {
  width: 22px;
  height: 22px;
  fill: #333;
}

.icon-btn:hover svg {
  fill: #0d6efd;
}

.navbar-toggler {
  border: none;
  font-size: 1.4rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 1rem;
  }
}
/* --- Widgets --- */
.widget,
.single-widget {
  background: #ffffff;
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.widget-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid black;
  text-align: left;
}

/* --- Widget List --- */
.widget .list-group {
  margin-bottom: 0;
}

.widget .list-group-item {
  border: none;
  padding: 14px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: transparent;
}

.widget .list-group-item:first-child {
  padding-top: 0;
}

.widget .list-group-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.widget .list-group-item a {
  color: var(--text-main);
  font-weight: 500;
}

.widget .list-group-item a:hover {
  color: var(--primary-color);
}

/* --- Featured Box --- */
.featured-box {
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}

.featured-content {
  padding: 20px;
}

.featured-content h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.featured-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Sidebar Featured --- */
.sidebar-featured {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.sidebar-featured img {
  width: 80px;
  height: 60px;
  object-fit: cover;

}

.sidebar-featured .text {
  font-size: 0.85rem;
}

/* --- Post Widget --- */
.post-widget {
  background: #fff;
  padding:20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.post-widget-body {
  padding:10px 0px;
}

.post-widget-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-main);
}

.post-widget-title:hover {
  color: var(--primary-color);
}

.post-widget-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.post-widget-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.post-widget-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Single Post Widget --- */
.single-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.single-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.single-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main);
}

/* --- Download Button --- */
.download-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.download-links ul li {
    margin: 0;
    list-style: none;
}
.download-links ul li a {
    display: inline-block;
    background: transparent;
    color: black;
    border: 2px solid black;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.2s;
}

.download-btn {
  display: inline-block;
  margin-top: 5px;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--primary-color);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.download-btn:hover {
  background: #0b5ed7;
  color: #fff;
}

/* --- Ads --- */
.ads {
  margin: 10px auto;
  text-align: center;
}
.widget .list-group {
  max-height: 800px;
  overflow-y: auto;
  padding-right: 5px;
}

.widget .list-group-item {
  padding: 6px 12px !important;
}

/* Scrollbar styling */
.widget .list-group::-webkit-scrollbar {
  width: 10px;
}

.widget .list-group::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.widget .list-group::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-radius: 10px;
}

.widget .list-group::-webkit-scrollbar-thumb:hover {
  background: #a9a9a9;
}
  .post-widget {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .post-widget-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }

  .post-widget-body {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .post-widget-desc {
    flex-grow: 1;
  }

  .post-widget-footer {
    margin-top: auto;
  }
.lite-yt {
    position: relative;
    display: block;
    width: 100%;
    max-width: 720px;
    aspect-ratio: 16 / 9;
    background: #000;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
}

.lite-yt picture,
.lite-yt img,
.lite-yt iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

.lite-yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: rgba(0, 0, 0, 0.7);
    border: 0;
    border-radius: 14%;
    cursor: pointer;
    transition: background 0.2s;
}

.lite-yt-play::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #fff;
}

.lite-yt:hover .lite-yt-play {
    background: #f00;
}

.lite-yt.activated {
    cursor: unset;
}

.lite-yt.activated picture,
.lite-yt.activated .lite-yt-play {
    display: none;
}