/* ==========================================================
 * LARANP1 - theme overrides on top of primeitworld-style.css
 * ========================================================== */

/* ---- News ticker ---- */
.mahamudfutureit-ticker-wrap {
  overflow: hidden;
  position: relative;
}
.mahamudfutureit-ticker-item {
  display: inline-block;
  padding: 0 28px 0 16px;
  position: relative;
  white-space: nowrap;
}
.mahamudfutureit-ticker-item::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: currentColor;
  opacity: .45;
}
.mahamudfutureit-ticker-item:last-child::after { display: none; }

/* ---- Section titles ---- */
.pitw_section_title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.ln-section-more {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

/* ---- Topic chips (dynamic topics row) ---- */
.ln-topics-section {
  margin: 18px 0;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
}
.ln-topics-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ln-topic-chip {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 100px;
  font-size: 13px;
  line-height: 1.6;
  background: #f8f8f8;
  transition: background .2s ease, border-color .2s ease;
}
.ln-topic-chip:hover {
  background: #eef2f7;
  border-color: #b9c6d6;
  text-decoration: none;
}

/* ---- Lazy images ---- */
img[data-original] {
  min-height: 1px;
  background: #f2f2f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Crect width='40' height='40' fill='%23f0f0f0'/%3E%3C/svg%3E") center/cover no-repeat;
}

/* ---- Load more ---- */
.ln-load-more {
  display: inline-block;
  padding: 10px 32px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  font-weight: 600;
  background: #fff;
  cursor: pointer;
  transition: background .2s ease;
}
.ln-load-more:hover { background: #f5f5f5; }
.ln-load-more[disabled] { opacity: .55; cursor: default; }
.ln-end { display: none; }

/* ---- Poll block ---- */
.ln-poll option,
.ln-poll .poll-option {
  cursor: pointer;
}

/* ---- Sticky sidebar ---- */
@media (min-width: 992px) {
  .ln-sidebar .common-border-box { position: sticky; top: 12px; }
}

/* ---- Responsive tweaks ---- */
@media (max-width: 767px) {
  .ln-topics-section { margin: 12px 0; padding: 8px 10px; }
  .mahamudfutureit-ticker-item { padding: 0 18px 0 10px; }
}

/* ---- Header dropdowns: hidden until hover / toggled by JS ---- */
header .dropdown_menu { display: none; }
.dropdown_menu_hover:hover > .dropdown_menu { display: block; }

/* ---- Header main-nav hover dropdowns ---- */
.main-nav .menu-item { position: relative; }
.main-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 200px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #000;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}
.main-nav .sub-menu .menu-item a {
  display: block;
  padding: 7px 16px;
  font-size: 15px;
  color: #222;
  white-space: nowrap;
}
.main-nav .sub-menu .menu-item a:hover { background: #f3f3f3; }
.main-nav .menu-item-has-children:hover > .sub-menu { display: block; }

/* Post details font size follows Dashboard > Post Settings (PostContentFontSize) */
.singleDetails{ font-size: var(--tt_post_content_fs, 18px); }

/* Mobile header spacing: value is kept by laranp1.js (see "Mobile header spacing fix") */
.header_margin { margin-top: var(--ln-header-h, 120px) !important; }

/* Mobile header: login (user) icon + text, same style as the TV / e-paper items */
.PrimeItWorld_header_sm .top-epaper { white-space: nowrap; display: flex; align-items: center; }
.top-epaper a.ln-login-link { display: inline-flex; align-items: center; font-weight: 700; -webkit-text-stroke: .25px currentColor; }
.top-epaper a.ln-login-link svg { margin-right: 5px; }

/* Mobile post page: air between the view count line and the share icons */
.singleAuthorDate .total_views { margin-bottom: 12px; }
.singleHeader .shared_options.ln-share-sm { margin-top: 12px; }
