/* Telugu News Modern Design - Version 7 */
/* Optimized for performance, SEO, and cross-browser compatibility */
/* AMP-inspired design for better performance and modern look */

/* Base styles and variables */
:root {
  /* Color palette */
  --primary-color: #003087;
  --secondary-color: #ff6600;
  --accent-color: #d32f2f;
  --accent-color-light: #ffe082;
  --text-color: #111111;
  --text-color-light: #666666;
  --background-color: #ffffff;
  --background-alt: #f5f7fa;
  --border-color: #e0e0e0;
  
  /* Semantic colors */
  --success-color: #28a745;
  --info-color: #17a2b8;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  
  /* UI elements */
  --border-radius: 8px;
  --box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --container-padding: 15px;
  
  /* Typography */
  --heading-font-te: Ramabhadra, 'Ramabhadra',  'Noto Sans Telugu', sans-serif;
  --body-font-te: Ramabhadra, 'Noto Sans Telugu', sans-serif;
  --heading-font-en: 'Roboto', sans-serif;
  --body-font-en: 'Roboto', sans-serif;
  
  /* Gradients and theme colors */
  --header-gradient: linear-gradient(to right, var(--primary-color), #0046ad);
  --accent-gradient: linear-gradient(to right, var(--accent-color), #b71c1c);
  --menu-bg-color: #040e4a;
  --menuhover: #0a23bf;
  --theme-color: #052162;
  --gradient-secondary: #f9f9f9;
  --shadow-color: rgba(0,0,0,0.1);
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
  -webkit-text-size-adjust: 100%;
  line-height: 1.15;
  font-size: 16px;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*, ::after, ::before { box-sizing: border-box; }
button {
  background-color: transparent;
  border-width: 0;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

figure { margin: 0; }
input::-moz-focus-inner { border: 0; margin: 0; padding: 0; }
dd, ol, ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { 
  font-size: inherit;  
  margin: 0;
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.2;
}
p { margin: 0; margin-top: 0; margin-bottom: 1rem; }
cite { font-style: normal; }
fieldset { border-width: 0; margin: 0; padding: 0; }

/* Typography */
body {
  font-family: var(--body-font-en);
  color: var(--text-color);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f0f2f5;
  background-image: -webkit-linear-gradient(top, #e8edf5, #f0f2f5);
  background-image: -moz-linear-gradient(top, #e8edf5, #f0f2f5);
  background-image: -o-linear-gradient(top, #e8edf5, #f0f2f5);
  background-image: linear-gradient(to bottom, #e8edf5, #f0f2f5);
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  -webkit-transition: var(--transition);
  -moz-transition: var(--transition);
  -o-transition: var(--transition);
  transition: var(--transition);
  outline: none;
}

a:hover {
  color: var(--secondary-color);
}

a.tlink:link {
    color: #333;
}

a.tlink:visited {
    color: #666;
}

a.tlink:hover {
    color: #005fa2;
}

a.tlink:active {
    color: red;
}

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

/* Language specific typography */
.text-te {
  font-family: var(--body-font-te);
}

.heading-te {
  font-family: var(--heading-font-te);
  font-weight: 500;
}

.text-en {
  font-family: var(--body-font-en);
}

.heading-en {
  font-family: var(--heading-font-en);
  font-weight: 700;
}

/* Fonts */
.Ramabhadra {
  font-family: "Ramabhadra", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.Roboto {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.Roboto-Md {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-style: normal;
}

/* Layout Components - Mobile First Approach */
.content {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  margin-top: 60px;
  padding: 0;
  background-color: #f5f7fa;
  width: 100%;
}

.grid-container {
  display: -ms-grid;
  display: grid;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  margin-top: 60px;
  padding: 0;
  background-color: #f5f7fa;
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  -webkit-column-gap: 16px;
     -moz-column-gap: 16px;
          column-gap: 16px;
}

/* Layout */
.master { background-color: #fcfcfc; }

.long-list {
  grid-area:long-list;
  background-color: var(--background-color);
  overflow: hidden;
  margin-bottom: 12px;
  border-radius: 0;
  box-shadow: none;
  display: block;
}

/* Article Block - Mobile First */
.article {
  grid-area:article;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  padding: 16px;
  display: block;
}

.article:hover {
  box-shadow: none;
}

.bottom-list {
  grid-area:bottom-list;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  display: block;
}


/* Sidebar Component */
.sidebar {
  grid-area: sidebar; 
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 12px;
  transition: box-shadow 0.3s ease;
  display: block;
}

.sidebar:hover {
  box-shadow: var(--hover-shadow);

}

.article-title {
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--primary-color);
  margin: 0 0 15px 0;
  padding: 12px 15px 12px 0;
  border-bottom: 1px solid var(--primary-color);
  position: relative;
}


.article-title:hover {
  color: var(--secondary-color);
}

.article-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50%;
  height: 1px;
  background: var(--accent-color);
}


.article-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 12px 0;
  color: var(--text-color-light);
  font-size: 0.9rem;
  background-color: var(--background-alt);
  padding: 8px 12px;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.agency-msg{
  color: #000;
  font-size: 0.9rem;
  background-color: var(--background-alt);
  padding: 8px 12px;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.article-time {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

.article-time::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666666'%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8zm.5-13H11v6l5.2 3.2.8-1.3-4.5-2.7V7z'/%3E%3C/svg%3E");
  background-size: contain;
  margin-right: 6px;
}

.article-image-container {
  margin: 16px 0;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  box-shadow: none;
}

.article-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
  -webkit-transition: -webkit-transform 0.3s ease;
  -o-transition: transform 0.3s ease;
}

.article-image-container:hover .article-image {
  -webkit-transform: scale(1.01);
  -moz-transform: scale(1.01);
  -ms-transform: scale(1.01);
  -o-transform: scale(1.01);
  transform: scale(1.01);
}

.box-heading {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    background-color: var(--accent-gradient);
    border-bottom: solid 1px var(--secondary-color);
    color: var(--theme-color);
    font-family: Charter, Roboto, Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: .3rem;
    padding: .5rem;
    text-align: center;
}
.box-heading a {
    color: var(--theme-color);
    text-decoration: none;
}

.desc-te {
  -moz-osx-font-smoothing:grayscale;
  -webkit-font-smoothing:antialiased;
  background-color:#fff;
  font-family: var(--body-font-te);
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--text-color);
  font-weight:400;
  font-style:normal;
  margin:1rem 0;
  padding: 16px 0;
  word-break:break-word
}

.desc-en {
  -moz-osx-font-smoothing:grayscale;
  -webkit-font-smoothing:antialiased;
  background-color:#fff;
  font-family: var(--body-font-en);
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-color);
  font-weight:400;
  font-style:normal;
  margin:1rem 0;
  padding: 0;
  word-break:break-word
}

.bullets {
    padding:0;
    background-color: var(--gradient-secondary);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px var(--shadow-color);
    border-left: 2px solid var(--primary-color);
}

.bullets li{
    -moz-osx-font-smoothing:grayscale;
    -webkit-font-smoothing:antialiased;
    border-bottom:solid thin var(--border-color);
    color:var(--text-color);
    padding:.5rem 0;
    text-align:left;
    word-break:break-word;
    transition: background-color 0.2s ease;
}
.bullets li:nth-child(odd){background-color:#f5f5f5}
.bullets li:hover {
    background-color: #eef5ff;
}


.article-text {
  margin-top: 20px;
}

.article-text p {
  margin-bottom: 15px;
}


.article-text hr {
  margin: 20px 0;
  border: none;
  padding: 16px 0;
  height: 5px;
  background-color: var(--border-color);
}

/* Tags Component */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0;
  padding: 0;
  color: #005fa2;
  font-size: 1rem;
}

.tags a:link { color: #005fa2; }

.tags-button {
  display: inline-block;
  padding: 6px;
  background-color: #f0f5ff;
  color: var(--primary-color);
  border-radius: 8px;
  font-family: Charter, Roboto, Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid #d0e1ff;
  font-weight: 400;
  margin: 0.1rem;
}

.tags-button:hover {
  background-color: var(--primary-color);
  color: white;
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
  transform: translateY(-2px);
  -webkit-box-shadow: 0 2px 5px rgba(0, 86, 166, 0.2);
  -moz-box-shadow: 0 2px 5px rgba(0, 86, 166, 0.2);
  box-shadow: 0 2px 5px rgba(0, 86, 166, 0.2);
}

.button {
  background-color: #f9f9f9;
  border: none;
  color: #000;
  display: inline-block;
  font-size: 1rem;
  margin: .2rem;
  padding: .4rem;
  text-align: center;
  transition-duration: .4s;
  cursor: pointer;
}

.button a { color: #000; }

.shadow:hover {
  box-shadow: 0 8px 12px 0 rgba(0, 0, 0, .24), 0 17px 50px 0 rgba(0, 0, 0, .19);
}

/* News List Component - Mobile First */
.news-list {
  background-color: var(--background-color);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  display: block;
}

.news-list:hover {
  box-shadow: none;
}

.news-list-header {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 16px;
  font-family: var(--heading-font-te);
  border-radius: 0;
  text-align: center;
}

.news-list-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.news-list-items {
  list-style: none;
  padding:16px;
  margin: 0;
}

.news-list-item {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}

.news-list-item:hover {
  background-color: var(--background-alt);
}

.news-list-item:last-child {
  border-bottom: none;
}

.news-list-item a {
  color: var(--text-color);
  text-decoration: none;
  display: block;
  font-family: var(--heading-font-te);
}

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

.news-list-footer {
  padding: 12px 16px;
  text-align: right;
  background-color: #f8f9fa;
}

.news-list-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  display: inline-block;
  padding: 5px 12px;
  border-radius: 4px;
}

.news-list-more:hover {
  color: white;
  background-color: var(--primary-color);
}

/* Social Buttons and Feedback Component */
.social-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 12px;
  margin: 16px 0;
  padding: 16px;
  background-color: var(--background-alt);
  border-radius: var(--border-radius);
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
     -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.social-buttons-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: white;
  transition: var(--transition);
  position: relative;
}

.social-buttons-link:hover {
  -webkit-transform: translateY(-3px);
  -moz-transform: translateY(-3px);
  -ms-transform: translateY(-3px);
  -o-transform: translateY(-3px);
  transform: translateY(-3px);
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-buttons-icon {
  display: block;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.social-buttons-link-facebook {
  background-color: #1877F2;
  box-shadow: 0 2px 4px rgba(24, 119, 242, 0.3);
}

.social-buttons-link-twitter {
  background-color: #1DA1F2;
  box-shadow: 0 2px 4px rgba(29, 161, 242, 0.3);
}

.social-buttons-link-whatsapp {
  background-color: #25D366;
  box-shadow: 0 2px 4px rgba(37, 211, 102, 0.3);
}

.social-buttons-link-email {
  background-color: #D44638;
  box-shadow: 0 2px 4px rgba(212, 70, 56, 0.3);
}

.social-buttons-icon-facebook {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12.001 2.002c-5.522 0-9.999 4.477-9.999 9.999 0 4.99 3.656 9.126 8.437 9.879v-6.988h-2.54v-2.891h2.54V9.798c0-2.508 1.493-3.891 3.776-3.891 1.094 0 2.24.195 2.24.195v2.459h-1.264c-1.24 0-1.628.772-1.628 1.563v1.875h2.771l-.443 2.891h-2.328v6.988C18.344 21.129 22 16.992 22 12.001c0-5.522-4.477-9.999-9.999-9.999z'/%3E%3C/svg%3E");
}

.social-buttons-icon-twitter {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M19.633 7.997c.013.175.013.349.013.523 0 5.325-4.053 11.461-11.46 11.461-2.282 0-4.402-.661-6.186-1.809.324.037.636.05.973.05a8.07 8.07 0 0 0 5.001-1.721 4.036 4.036 0 0 1-3.767-2.793c.249.037.499.062.761.062.361 0 .724-.05 1.061-.137a4.027 4.027 0 0 1-3.23-3.953v-.05c.537.299 1.16.486 1.82.511a4.022 4.022 0 0 1-1.796-3.354c0-.748.199-1.434.548-2.032a11.457 11.457 0 0 0 8.306 4.215c-.062-.3-.1-.599-.1-.899a4.026 4.026 0 0 1 4.028-4.028c1.16 0 2.207.486 2.943 1.272a7.957 7.957 0 0 0 2.556-.973 4.02 4.02 0 0 1-1.771 2.22 8.073 8.073 0 0 0 2.319-.624 8.645 8.645 0 0 1-2.019 2.083z'/%3E%3C/svg%3E");
}

.social-buttons-icon-whatsapp {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M2.004 22l1.352-4.968A9.954 9.954 0 0 1 2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10a9.954 9.954 0 0 1-5.03-1.355L2.004 22zM8.391 7.308a.961.961 0 0 0-.371.1 1.293 1.293 0 0 0-.294.228c-.12.113-.188.211-.261.306A2.729 2.729 0 0 0 6.9 9.62c.002.49.13.967.33 1.413.409.902 1.082 1.857 1.971 2.742.214.213.423.427.648.626a9.448 9.448 0 0 0 3.84 2.046l.569.087c.185.01.37-.004.556-.013a1.99 1.99 0 0 0 .833-.231c.166-.088.244-.132.383-.22 0 0 .043-.028.125-.09.135-.1.218-.171.33-.288.083-.086.155-.187.21-.302.078-.163.156-.474.188-.733.024-.198.017-.306.014-.373-.004-.107-.093-.218-.19-.265l-.582-.261s-.87-.379-1.401-.621a.498.498 0 0 0-.177-.041.482.482 0 0 0-.378.127v-.002c-.005 0-.072.057-.795.933a.35.35 0 0 1-.368.13 1.416 1.416 0 0 1-.191-.066c-.124-.052-.167-.072-.252-.109l-.005-.002a6.01 6.01 0 0 1-1.57-1c-.126-.11-.243-.23-.363-.346a6.296 6.296 0 0 1-1.02-1.268l-.059-.095a.923.923 0 0 1-.102-.205c-.038-.147.061-.265.061-.265s.243-.266.356-.41a4.38 4.38 0 0 0 .263-.373c.118-.19.155-.385.093-.536-.28-.684-.57-1.365-.868-2.041-.059-.134-.234-.23-.393-.249-.054-.006-.108-.012-.162-.016a3.385 3.385 0 0 0-.403.004z'/%3E%3C/svg%3E");
}

.social-buttons-icon-email {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20 4H4c-1.103 0-2 .897-2 2v12c0 1.103.897 2 2 2h16c1.103 0 2-.897 2-2V6c0-1.103-.897-2-2-2zm0 2v.511l-8 6.223-8-6.222V6h16zM4 18V9.044l7.386 5.745a.994.994 0 0 0 1.228 0L20 9.044 20.002 18H4z'/%3E%3C/svg%3E");
}

.pvt-ads {
    display: flex;
    flex-direction: row;
    justify-content: center; /* Center content when there's space */
    flex-wrap: wrap;
    margin: 0 auto;
    gap: 10px;
}

.pvt-ads > div {
    flex: 0 0 calc(33.333% - 10px); /* Fixed width for 3-column layout */
    max-width: calc(33.333% - 10px);
}


/* Comments Component */
.tcb {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  background-color: var(--background-alt);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.tcb li {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
}

.tcb li:last-child {
  border-bottom: none;
}

.static {
  background-color: #fff;
  padding: 1rem;
}

/* Related Card Component */
.related-card {
  transition: .3s;
  position: relative;
  padding: 0;
  margin-top: 12px;
}

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.time-container {
  position: absolute;
  bottom: 0;
  right: 6px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 5px;
  font-size: 0.7rem;
  font-style: italic;
  border-radius: 4px 0 0 0;
}

.related-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.related-img:hover {
  -webkit-transform: scale(1.03);
  -moz-transform: scale(1.03);
  -ms-transform: scale(1.03);
  -o-transform: scale(1.03);
  transform: scale(1.03);
}

.tcd {
  max-width: 100%;
}

/* Wide Card Component */
.wide-card {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  background-color: var(--background-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.wide-card:hover {
  background-color: var(--background-alt);
}

.wide-card-text-box {
  padding: 0 0.3rem 0 0;
  width: 100%;
}

.wide-card-title-te {
  font-family: var(--body-font-te);
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.4;
  text-align: left;
  color: var(--text-color);
  margin-bottom: 5px;
}

.wide-card-thumb {
  flex-shrink: 0;
  margin-left: 10px;
  margin-right: 10px;
}

.card-ago {
  color: var(--primary-color);
  font-family: var(--body-font-en);
  font-size: 0.7rem;
  font-style: italic;
  display: block;
  margin-top: 5px;
}

.imgcl {
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.imgcl.lazyload {
  background: #f0f0f0;
  width: 80px;
  height: 72px;
}


.placeholder {
  background: -webkit-linear-gradient(left, var(--background-alt) 0%, var(--border-color) 50%, var(--background-alt) 100%);
  background: -moz-linear-gradient(left, var(--background-alt) 0%, var(--border-color) 50%, var(--background-alt) 100%);
  background: -o-linear-gradient(left, var(--background-alt) 0%, var(--border-color) 50%, var(--background-alt) 100%);
  background: linear-gradient(90deg, var(--background-alt) 0%, var(--border-color) 50%, var(--background-alt) 100%);
  background-size: 200% 100%;
  -webkit-animation: loading 1.5s infinite;
  -moz-animation: loading 1.5s infinite;
  -o-animation: loading 1.5s infinite;
  animation: loading 1.5s infinite;
  height: 20px;
  border-radius: 4px;
  margin: 10px 0;
  padding: 10px;
  text-align: center;
  color: #888;
}

@-webkit-keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@-moz-keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@-o-keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Feedback Component */
.feedback-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f0f5ff;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: var(--transition);
  font-weight: 500;
  border: 1px solid #d0e1ff;
  margin: 0 12px;
  text-align: center;
}

.feedback-link:hover {
  background-color: var(--primary-color);
  color: white;
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
  transform: translateY(-2px);
  -webkit-box-shadow: 0 2px 5px rgba(0, 86, 166, 0.2);
  -moz-box-shadow: 0 2px 5px rgba(0, 86, 166, 0.2);
  box-shadow: 0 2px 5px rgba(0, 86, 166, 0.2);
}

/* Combined social and feedback container */
.feedback {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Rich Text Content Styling */
.rich-text p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.rich-text ul {
  padding-left: 16px;
  margin-bottom: 16px;
}

.rich-text li {
  margin-bottom: 10px;
  position: relative;
  background-color: var(--gradient-secondary);
}

.rich-text blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 10px 16px;
  margin: 20px 0;
  background-color: var(--background-alt);
  border-radius: 0 4px 4px 0;
  color: var(--text-color-light);
  font-style: italic;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.rich-text strong {
  color: var(--primary-color);
  font-weight: 600;
}

.rich-text em {
  color: var(--accent-color);
  font-style: italic;
}

.rich-text a {
  color: blue;
  text-decoration: none;
  transition: all 0.3s ease;
}

.rich-text a:hover {
  color: var(--accent-color);
  border-bottom: 1px solid var(--accent-color);
}

/* Utility Classes */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 2rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 2rem !important; }

.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 2rem !important; }

.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-left { text-align: left !important; }

.d-flex { display: flex !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-none { display: none !important; }

.flex-wrap { flex-wrap: wrap !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.align-center { align-items: center !important; }
.align-start { align-items: flex-start !important; }

.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

.rounded { border-radius: var(--border-radius) !important; }
.shadow { box-shadow: var(--box-shadow) !important; }

.center { text-align: center; }
.center-mg { margin: 0 auto; }

/* Responsive Display - Already defined above */
/* Responsive Display - Base styles (mobile first) */
.mb-only { display: block; }
.tb-only { display: none; }
.dt-only { display: none; }
.mb-tb { display: block; }
.tb-dt { display: none; } /* Base style for mobile */

/* Grid System for Responsive Layout */

/* Fixed Ads */
#ad_left, #ad_left_sm, #ad_right, #ad_right_sm {
  display: none;
  float: left;
  position: fixed;
  width: 10px;
}

#fixedadleft {
  left: -176px;
  position: relative;
  top: -32px;
  width: 160px;
}

#fixedadleft_sm {
  left: -136px;
  position: relative;
  top: -32px;
  width: 120px;
}

#fixedadright {
  left: 1036px;
  position: relative;
  top: -32px;
  width: 160px;
}

#fixedadright_sm {
  left: 1036px;
  position: relative;
  top: -32px;
  width: 120px;
}

/* Large Desktop Ads */
/* @media (min-width:1292px) and (max-width:1372px) {
  #ad_left_sm, #ad_right_sm { display: block; }
}

@media (min-width:1372px) {
  #ad_left, #ad_right { display: block; }
} */

/* Twitter and Instagram Embeds */
.twitter-tweet,
.instagram-media {
  margin: 15px auto !important;
}

/* Footer Styles */
.footer {
  background-color: var(--primary-color);
  color: white;
  font-weight: 500;
  padding: 32px 16px;
  width: 100%;
  max-width: 100%;
  min-height: 90px;
  margin: 0 auto;
  margin-top: 16px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-copyright {
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer-link {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--accent-color-light);
  text-decoration: underline;
}
.footer-link:visited {
  color: white;
}

.footer-region {
  font-size: 1rem;
  opacity: 0.7;
}

.carousel {
    position: relative;
    margin: 0 16px;
    overflow: hidden;
    background-color: #fff;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding-bottom: 16px;
}

.carousel-slide img {
    width: 100%;
    border-radius: 5px;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.dots-container {
    text-align: center;
    position: absolute;
    bottom: 6px;
    width: 100%;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: blue;
}

.more {
    background-color: #fff;
    color: #00f;
    font-family: Charter, Roboto, Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    line-height: 1.5rem;
    padding: .8rem 1rem;
    text-align: right;
}

.more-left {
    background-color: #fff;
    color: #00f;
    font-family: Charter, Roboto, Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    line-height: 1.5rem;
    padding: .8rem 1rem;
    text-align: left;
}

.flex-rfe {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.flex-rfe-item {
    width: 50%;
}


.home-top-card {
    -ms-flex-direction: row;
    -ms-flex-pack: justify;
    -webkit-box-direction: normal;
    -webkit-box-orient: horizontal;
    -webkit-box-pack: justify;
    border-bottom: 1px solid #f0f0f0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: .6rem 0;
}

.home-top-card-title {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font: normal 20px/26px Ramabhadra, Arial, Helvetica, sans-serif;
    font-weight: 400;
    overflow: hidden;
    padding-right: .3rem;
    color: #000;
}


.home-top-card-title-en {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font: normal 18px/26px Roboto, Arial, Helvetica, sans-serif;
    font-weight: 400;
    overflow: hidden;
    padding-right: .3rem;
    color: #000;
}

.home-top-card-truncate {
    -o-text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 2;
    display: -webkit-box;
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thumbless-card-title-te {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font: normal 18px/24px Ramabhadra, Arial, Helvetica, sans-serif;
    font-weight: 400;
    height: 48px;
    overflow: hidden;
    padding-right: .3rem;
}

.thumbless-card-truncate {
    -o-text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    display: -webkit-box;
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thumb-card {
    -ms-flex-direction: row;
    -ms-flex-pack: justify;
    -webkit-box-direction: normal;
    -webkit-box-orient: horizontal;
    -webkit-box-pack: justify;
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: .6rem 0;
}

.thumb-card-title-te {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font: normal 20px/26px Ramabhadra, Arial, Helvetica, sans-serif;
    font-weight: 400;
    overflow: hidden;
    padding-right: .3rem;
    text-align: left;
}

.thumb-card-title-en {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: Charter, Roboto, Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5rem;
    overflow: hidden;
    padding-right: .3rem;
    text-align: left;
}

.thumb-card-truncate {
    -o-text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 2;
    display: -webkit-box;
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-card-thumb {
    border-radius: .3rem;
    color: #fff;
    width: 80px;
    height: 72px;
    flex-shrink: 0;
    vertical-align: middle;
}

.first-card {
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: .6rem 0;
    text-align: center;
}

.first-card-thumb {
    border-radius: .3rem;
    height: auto;
    width: 100%;
}

.small-title-te {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font: normal 18px/24px Ramabhadra, Arial, Helvetica, sans-serif;
    font-weight: 400;
    padding-right: .3rem;
}

.small-title-en {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: Charter, Roboto, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 16px;
    font-weight: 700;
    font-weight: 400;
    line-height: 1.5rem;
    padding-right: .3rem;
}



/* Header & Navigation */
.logo-box { padding-left: .3rem; padding-top: 2.2rem; width: 292px; }
.mb-logo img { height: auto; padding-left: 1rem; padding-top: .8rem; width: 150px; }

.mb-nav {
  background: var(--theme-color);
  height: 3.5rem;
  list-style: none;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99;
}

#check { display: none; }
#check:checked ~ ul { left: 0; }

.checkbtn {
  cursor: pointer;
  display: block;
  float: right;
  height: 2.5rem;
  padding-right: 2rem;
  padding-top: .8rem;
}

.mb-nav ul {
  background: #fff;
  border: var(--theme-color) solid 10px;
  height: 90vh;
  left: -100%;
  padding: 0 2rem;
  position: fixed;
  top: 39px;
  transition: all .3s;
  width: 70%;
}

.mb-nav ul li {
  border-bottom: 1px solid #d3d3d3;
  display: block;
  padding: .5rem 1rem;
}

.mb-nav ul li a {
  color: #000;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.mb-nav ul li a:hover, a.active {
  color: #0082e6;
  transition: .5s;
}

.menu-top {
  background-color: var(--theme-color);
  height: 102px;
}

.logo-plus-ad {
  display: flex;
  height: 102px;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
  width: 1020px;
}

.leader-board { padding: 8px 0px; width: 728px; }

.menu {
  background-color: var(--menu-bg-color);
  display: flex;
  height: 2.6rem;
  justify-content: space-around;
  margin-left: auto;
  margin-right: auto;
  padding-top: .3rem;
  width: 1020px;
}

.menu-item, .menu-item-active {
  background-color: var(--menu-bg-color);
  color: #fff;
  cursor: pointer;
  font-family: sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: .4rem .9rem;
  text-align: center;
  text-transform: uppercase;
}

.menu-item-active a:link { color: #ffe500; }
.menu-item-active a:visited { color: yellow; }
.menu-item:hover { background-color: #c70000; color: var(--menu-bg-color); }
.menu-item a:link, .menu-item a:visited { color: #fff; }

.logo-bar {
  background-color: #fff;
  margin: 0 auto;
  padding: .2rem;
  width: 1020px;
}


.loading {
  -webkit-animation: shimmer 2s infinite linear;
  -moz-animation: shimmer 2s infinite linear;
  -o-animation: shimmer 2s infinite linear;
  animation: shimmer 2s infinite linear;
  background: -webkit-linear-gradient(left, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
  background: -moz-linear-gradient(left, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
  background: -o-linear-gradient(left, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
  background: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
  background-size: 1000px 100%;
  will-change: background-position; /* Performance optimization */
}






/* This section has been moved to the organized media queries section at the bottom */

/* Loading animation */
@-webkit-keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@-moz-keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@-o-keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* ======================================
   MEDIA QUERIES - ORGANIZED BY BREAKPOINT
   ====================================== */

/* Mobile First (Base Styles) are already defined above */

/* Tablet and Desktop (min-width: 720px) */
@media screen and (min-width: 720px) {

  .mb-only { display: none; }
  .tb-only { display: block; }
  .dt-only { display: block; }
  .mb-tb { display: block; }
  .tb-dt { display: block; }

  .grid-container {
    margin-top: 60px;
  }
  
  .article:hover {
    box-shadow: var(--hover-shadow);
  }
  
  .article-title {
    font-size: 1.85rem;
    padding: 12px 15px 12px 0;
    margin-bottom: 15px;
  }
  
  .article-title-en {
    font-size: 1.85rem;
    padding: 0 0 12px 0;
    margin-bottom: 15px;
  }

  .article-meta {
    margin: 0 0 15px 0;
  }
  
  .article-content-te {
    padding: 0;
  }
  .article-content-en {
    padding: 0;
  }
  .article-image-container {
    margin: 20px 0;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }
  
  .tags {
    padding: 0;
  }
  
  .news-list {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
  }

  .sidebar {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 12px;
  }
  
  .news-list:hover,
  .sidebar:hover {
    box-shadow: var(--hover-shadow);
  }
  
  .news-list-header {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
  }
  
  .social-buttons {
    margin: 20px 0;
  }
  
  /* Footer styling for desktop */
  .footer {
    margin-top: 16px;
  }
  
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
  }

  .wide-card {
    padding: 1rem 0;
    flex-direction: row-reverse;
  }
  
  .wide-card-title-te {
    font-size: 1.2rem;
  }

}

/* Tablet Only (min-width: 720px and max-width: 1019px) */
@media screen and (min-width: 720px) and (max-width: 1019px) {
  .mb-only { display: none; }
  .tb-only { display: block; }
  .dt-only { display: none; }
  .mb-tb { display: block; }
  .tb-dt { display: block; }
}

/* Desktop (min-width: 1020px and max-width: 1200px) */
@media screen and (min-width: 1020px) and (max-width: 1200px) {

  .mb-only { display: none; }
  .tb-only { display: none; }
  .dt-only { display: block; }
  .mb-tb { display: none; }
  .tb-dt { display: block; }

  .wide-card-text-box {
    padding: 1rem 0.8rem;
  }
  
  .grid-container,
  .content {
    margin-top: 16px;
    width: 1020px; 
  }

  .article {
    padding: 20px;
  }
  
  .long-list {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 12px;
  }

  .article:hover {
    box-shadow: var(--hover-shadow);
  }
  
  .article-title-te,
  .article-title-en {
    font-size: 2rem;
    padding: 0 0 12px 0;
    margin-bottom: 15px;
  }
  
  /* Responsive Display */

  .tcb {
    display: flex;
    flex-direction: row;
    margin-bottom: 12px;
  }
  
  .tcd {
    max-width: 50%;
  }
}

/* Large Desktop (min-width: 1200px) */
@media screen and (min-width: 1200px) {

  .mb-only { display: none; }
  .tb-only { display: none; }
  .dt-only { display: block; }
  .mb-tb { display: none; }
  .tb-dt { display: block; }
  
  .grid-container,
  .content {
    width: 1170px;
    margin-top: 16px;
  }
  
 .article {
    padding: 20px;
  }
  .sidebar {
    padding: 16px;
  }
  .menu {
    width: 1170px;
    margin: 0 auto;
  }

  .logo-plus-ad {
    width: 1170px;
  }

  .footer {
    width: 1170px;
  }

  .logo-bar {
    width: 1020px;
    margin: 0 auto;
  }

  .news-list-items {
    padding:20px;
  }
  
  .tcb {
    display: flex;
    flex-direction: row;
    margin-bottom: 12px;
  }
  
  .tcd {
    max-width: 50%;
  }
}

/* Print Styles */
@media print {
  .grid-container {
    display: block;
  }
  
  .article {
    box-shadow: none;
    padding: 0;
  }
  
  .news-list, 
  .sidebar, 
  .social-buttons, 
  .tags, 
  .prk1,
  .mb-only,
  .tcb,
  .feedback-link,
  .header {
    display: none;
  }
}


/* Accessibility and Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High contrast mode support */
@media (forced-colors: active) {
  .tags-button {
    border: 1px solid CanvasText;
  }
  
  .social-buttons a {
    border: 1px solid CanvasText;
  }
}
