/* Figma News page */

body.page-news {
  background: #f3f8f8 !important;
}

body.page-news .entry-title,
body.page-news .page__title,
body.page-news h1.page-title {
  display: none !important;
}

.lc-news {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 16px 120px;
  box-sizing: border-box;
}

body.page-news .lc-sos-listen {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

.lc-news__toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 12px;
}

.lc-news__search {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 10px -4px rgba(10, 70, 80, 0.18);
  box-sizing: border-box;
}

.lc-news__search-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.lc-news__search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #1a1a1a;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  padding: 0;
  margin: 0;
  box-shadow: none;
}

.lc-news__search input::placeholder {
  color: #767676;
}

.lc-news__bell {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 10px -4px rgba(10, 70, 80, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.lc-news__breaking {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  margin: 0 0 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #940704 0%, #d21b17 100%);
  text-decoration: none !important;
  color: #fff !important;
  box-sizing: border-box;
}

.lc-news__breaking:hover,
.lc-news__breaking:focus {
  color: #fff !important;
  text-decoration: none !important;
  filter: brightness(1.03);
}

.lc-news__breaking-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.lc-news__breaking-icon {
  display: inline-flex;
}

.lc-news__breaking-title {
  color: #fff;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 22px;
}

.lc-news__tabs {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 0 16px;
  padding: 0 2px 2px;
}

.lc-news__tabs::-webkit-scrollbar {
  display: none;
}

.lc-news__tab {
  flex: 0 0 auto;
  position: relative;
  padding: 6px 2px 10px;
  color: #767676 !important;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none !important;
  line-height: 1.2;
}

.lc-news__tab.is-active {
  color: #0b4852 !important;
  font-weight: 800;
}

.lc-news__tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 2px;
  background: #0b4852;
}

.lc-news__featured {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px -6px rgba(10, 70, 80, 0.18);
  margin-bottom: 20px;
}

.lc-news__featured-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #d7e4e6;
}

.lc-news__featured-img,
.lc-news__featured-ph {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lc-news__featured-ph {
  background: linear-gradient(135deg, #c5d8db 0%, #e8f2f3 100%);
}

.lc-news__featured-body {
  padding: 14px 16px 16px;
}

.lc-news__featured-title {
  margin: 0 0 8px;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: #0a4650;
}

.lc-news__featured-title a {
  color: inherit !important;
  text-decoration: none !important;
}

.lc-news__featured-excerpt {
  margin: 0 0 12px;
  color: #767676;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

.lc-news__featured-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lc-news__readmore {
  color: #137578 !important;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none !important;
}

.lc-news__time {
  color: #767676;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
  font-size: 11px;
  font-weight: 400;
}

.lc-news__latest-title {
  margin: 0 0 12px;
  color: #1a3a5c;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.lc-news__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lc-news__item-link {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 12px -6px rgba(10, 70, 80, 0.16);
  text-decoration: none !important;
  color: inherit !important;
  box-sizing: border-box;
}

.lc-news__thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #d7e4e6;
}

.lc-news__thumb-img,
.lc-news__thumb-ph {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lc-news__thumb-ph {
  background: linear-gradient(135deg, #c5d8db 0%, #e8f2f3 100%);
}

.lc-news__item-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lc-news__item-title {
  color: #0a4650;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.lc-news__item-excerpt {
  color: #767676;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lc-news__item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}

.lc-news__source {
  color: #137578;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
  font-size: 11px;
  font-weight: 700;
}

.lc-news__empty {
  margin: 24px 0;
  text-align: center;
  color: #767676;
  font-family: "Abhaya Libre", "Noto Sans Tamil", Georgia, serif;
  font-size: 16px;
}

html[lang^="ta"] .lc-news__tab {
  font-size: 13px;
}

html[lang^="ta"] .lc-news__featured-title {
  font-size: 16px;
}

/* Desktop-only bits — hidden on mobile */
.lc-news__intro,
.lc-news__featured-chips,
.lc-news__item-body > .lc-news__tag {
  display: none;
}

/* Hide leftover Content Views / old tab chrome if any remnant HTML remains */
body.page-news .news-category-tabs,
body.page-news .pt-cv-wrapper,
body.page-news .news-tab-panel {
  display: none !important;
}
