   .big-post-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

     .latest-thumb-small {
         width: 100%;
    height: 70px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.grey-bg {
    background: #dce4e8;
}
.position-relative {
    position: relative;
}

/* Overlay title on desktop */
.overlay-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    display: block;
}

/* Hide mobile title by default */
.mobile-title {
    display: none;
}

/* MEDIA QUERY for mobile */
@media (max-width: 768px) {
    .overlay-title {
        display: none;   /* hide overlay on mobile */
    }

    .mobile-title {
        display: block;  /* show title below image */
        margin-top: 8px;
        font-size: 18px;
        font-weight: bold;
        color: #000;     /* black text for mobile */
    }
}

.overlay-title h3 {
    font-size: 28px;
    margin: 0;
    font-weight: bold;
}

.overlay-title span {
    font-size: 12px;
}
.main-sec-line {
    border-top: 1px dotted #b4c5cd;
    padding-top: 10px;
}

.live-badge {
  background: #1A3948;
  color: #fff;
  border-radius: 3px;
  white-space: nowrap;
  transition: opacity 0.3s;
  font-size: 20px;
  font-weight: 700;
  padding: 0px 20px 7px;
  align-items: center;
  justify-content: center; /* horizontal center */
  line-height: normal;     /* avoid extra space from previous line-height */
  display: inline-block;        /* keep it inline */
    vertical-align: middle;       /* align with icon */
}
  .fixed-thumb {
    width: 100%;
    height: 150px; /* or whatever fixed height you want */
    object-fit: cover; /* crop but keep aspect ratio */
    object-position: center; /* center crop */
    display: block;
}

.live-tv-wrapper {
    width: 100%;
    background: #000;
    border-radius: 5px;
    overflow: hidden;
}

/* Responsive height for mobile */
@media (max-width: 768px) {
    .live-tv-wrapper iframe {
        height: 250px;
    }
}

 .comment-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
}

.comment-box h4,
.comment-list h4 {
    margin-bottom: 15px;
    font-weight: 600;
}

.comment-box .form-control {
    margin-bottom: 12px;
    border-radius: 4px;
}

.single-comment {
    background: #fff;
    padding: 2px;
    border-radius: 5px;
    margin-bottom: 1px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
    color: #555;
}

.single-comment p {
    margin: 0;
    font-size: 14px;
    line-height: 0.5;
}

/* Footer text color */
footer {
    color: #fff;
}

/* Headings */
.footer-heading {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Links */
.footer-links a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: 0.3s;
    line-height: 2.2;
}

.footer-links a:hover {
    color: #ddd;
}

/* Social icons */
.footer-social a {
    color: #fff;
    font-size: 18px;
    margin-left: 10px; /* RTL spacing */
    transition: 0.3s;
}

.footer-social a:hover {
    color: #ddd;
}

/* Bottom text */
.footer-bottom,
.footer-bottom a {
    color: #fff;
}

/* Footer Titles */
.footer-title {
    color: #fff;
    font-size: 22px;
    margin-bottom: 22px;
    font-weight: bold;
}

.v-img-wrap {
  position: relative; /* makes icon position absolute relative to image */
}

.v-img-wrap .vico {
  position: absolute;
  top: 5px; /* distance from top */
  right: 5px; /* distance from right */
  width: 30px;
  height: 30px;
  background-color: rgba(0,0,0,0.7);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%; /* makes it circular */
  font-size: 16px;
  z-index: 2;
  transition: transform 0.3s;
}

.v-img-wrap .vico:hover {
  transform: scale(1.2); /* slight zoom on hover */
}

.v-img-wrap .vico i {
  pointer-events: none; /* click goes through to link */
}

/* === CKEditor Media Embed FINAL FIX === */

  .post-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.post-content figure img {
    width: 100%;
    height: auto;
    max-height: 450px;   /* control height */
    object-fit: contain;   /* 👈 THIS IS KEY */
    border-radius: 6px;
}

/* Optional: make portrait images look better */
.post-content figure {
    overflow: hidden;
    text-align: center;
}

.post-content figcaption {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
    line-height: 1.4;
}


.post-content figure.media {
    display: block !important;
    position: relative !important;
    margin: 25px 0 !important;
    clear: both !important;
}

.post-content figure.media > div {
    width: 100% !important;
    position: relative !important;
}

.post-content figure.media iframe {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}



 .ticker-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    background: #000;
    font-family: Arial, sans-serif;
}

.ticker-label {
    background: #f05c24;
    color: #fff;
    padding: 10px 15px;
    font-weight: bold;
    white-space: nowrap;
}

.weather-ticker {
    overflow: hidden;
    width: 100%;
}

.ticker-track {
    display: flex;
    animation: scroll 20s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-size: 14px;
    white-space: nowrap; /* ensure item text doesn’t wrap */
}

.ticker-item img {
    width: 22px;
    height: 22px;
}

/* SCROLL ANIMATION */
@keyframes scroll {
    0% {
        transform: translateX(20%);
    }
    100% {
        transform: translateX(-30%); /* move half of duplicated content */
    }
}

/* Pause on hover */
.weather-ticker:hover .ticker-track {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .ticker-item {
        font-size: 12px;
    }
}

