/* Non-Critical CSS - Loaded Deferred */

/* Updated max-width to 1190px */
.container {
  max-width: 1190px;
}

/* Section Styles */
.section-box {
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
} 

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #03305c;
    position: relative;
    padding-bottom: 8px;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #e53935, #ff9800);
    border-radius: 2px;
}
iframe {
    max-width: 100% !important;
}

.more-link {
    font-size: 14px;
    font-weight: 600;
    color: #03305c;
    text-decoration: none;
    position: relative;
    padding-right: 16px;
}

.more-link::after {
    content: "→";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
}

.more-link:hover::after {
    transform: translate(4px, -50%);
}

/* Category Grid Layout for Remaining Sections */
.category-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}

.category-featured-large img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
}

.category-featured-large h3 {
  font-size: 16px;
  margin: 12px 0;
  line-height: 1.4;
}

.category-featured-large a {
  text-decoration: none;
  color: #333;
}

.category-featured-large a:hover {
  color: #0066ff;
}

.category-small-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.category-small-item > a {
  display: flex;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.category-small-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.category-small-item img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 4px;
}

.category-small-item h4 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.category-small-item a {
  text-decoration: none;
  color: #333;
}

.category-small-item a:hover {
  color: #0066ff;
}

/* Photo Gallery Home Layout - removed modal, just gallery posts */
.photo-gallery-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.photo-card img {
  width: 100%;
  height: auto;
  transition: transform 0.3s;
}

.photo-card:hover img {
  transform: scale(1.05);
}

.photo-count {
    position: absolute;
    top: 65px;
    right: 0px;
    background: rgb(255 0 0 / 70%);
    color: #fff;
    padding: 0px 5px;
    border-radius: 4px;
    font-size: 14px;
}

.photo-card h3 {
  font-size: 14px;
  margin: 0 0;
  line-height: 1.4;
}

.photo-card a {
  text-decoration: none;
  color: #333;
}

.photo-card a:hover {
  color: #0066ff;
}

/* Video Grid Home Layout - removed modal, just video posts */
.video-grid-home {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.video-card-home {
  position: relative;
}

.video-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

/* .video-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
} */

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  padding-left: 4px;
}



.video-card-home h3 {
  font-size: 13px;
  margin: 10px 0;
  line-height: 1.3;
  font-weight: 600;
}

.video-card-home a {
  text-decoration: none;
  color: #333;
}

.video-card-home a:hover {
  color: #0066ff;
}

/* Footer */
.footer {
  background: #222;
  color: #ccc;
  padding: 40px 20px 20px;
  margin-top: 40px;
}

.footer-content {
  max-width: 1190px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.footer-column h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 15px;
  border-bottom: 2px solid #444;
  padding-bottom: 10px;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

.footer-column a:hover {
  color: #fff;
}

.footer-column p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-bottom {
  max-width: 1190px;
  margin: 0 auto;
  border-top: 1px solid #444;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

/* Updated Category Page for List View with Sidebar */
.category-page-layout {
  display: grid;
  grid-template-columns: 2fr 320px;
  gap: 20px;
}

.list-page {
  background: #fff;
  padding: 30px;
  border-radius: 4px;
}

.list-page h1 {
  font-size: 24px;
  margin-bottom: 10px;
  padding-bottom: 15px;
  border-bottom: 3px solid #ddd;
}

.list-articles {
  list-style: none;
}

.list-article-item {
  display: flex;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.list-article-item img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 4px;
}
.list-article-item a {
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
}

.list-article-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.list-article-content h3 a {
  text-decoration: none;
  color: #333;
}

.list-article-content h3 a:hover {
  color: #0066ff;
}

.list-article-excerpt {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}
list-article-excerpt p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}


.list-article-meta {
  color: #555;        /* was #999 */
  font-size: 12px;    /* avoid pt */
  line-height: 1.4;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.pagination a {
  padding: 8px 15px;
  background: #f0f0f0;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
}

.pagination a:hover,
.pagination a.active {
  background: #0066ff;
  color: #fff;
}

/* Photo Gallery */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 20px;
}

.photo-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
}

.photo-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s;
}

.photo-item:hover img {
  transform: scale(1.05);
}

.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #fff;
  padding: 15px 10px 10px;
  font-size: 14px;
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.video-card {
  position: relative;
  cursor: pointer;
}

.video-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

.video-card .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  padding-left: 4px;
}

.video-card h4 {
  font-size: 14px;
  margin: 10px 0;
  line-height: 1.3;
}

/* Fullscreen Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.modal-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 20px;
  cursor: pointer;
  font-size: 30px;
  user-select: none;
}

.modal-prev {
  left: 20px;
}

.modal-next {
  right: 20px;
}

/* Article Page */
.article-page {
  background: #fff;
  padding: 30px;
  max-width: 900px;
  border-radius: 4px;
}

.breadcrumb {
    font-size: 11px;
    color: #555;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #000;              /* black */
    text-decoration: none;    /* no underline */
    font-weight: 600;         /* non-color distinction ✅ */
}

.breadcrumb a:hover {
    text-decoration: none;
}


.article-header h1 {
  font-size: 21px;
  line-height: 1.4;
  margin-bottom: 20px;
}

.article-meta {
  
  font-size: 12px;
  color: #555;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}
figure {
    margin: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.article-featured-image {
  width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
 
}

.article-content {
  font-size: 17px;
  line-height: 1.8;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content h2 {
  font-size: 18px;
    margin: 15px 0 15px;
  }
.faq-item h3 {
    font-size: 14px;
}
.faq-item p {
    font-size: 14px;
}
.highlight-box {
  background: #fffbf0;
  border-left: 4px solid #ff9800;
  padding: 20px;

  border-radius: 4px;
}

.highlight-box ul {
  margin-left: 20px;
}

.highlight-box li {
  margin-bottom: 10px;
}

.social-share {
  display: flex;
  gap: 10px;
  margin: 30px 0;
}

.share-btn {
  padding: 10px 20px;
  border: none;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  border-radius: 4px;
}

.whatsapp {
  background: #25d366;
}
.facebook {
  background: #1877f2;
}
.twitter {
  background: #1da1f2;
}

.related-stories {
  margin-top: 40px;
}

.related-stories h3 {
  
  margin-bottom: 20px;
  
  padding-bottom: 10px;
}
.news-card h3 a{
color: #000;
    text-decoration: none;
}
/* Author Page */
.author-page {
  background: #fff;
  padding: 30px;
  border-radius: 4px;
}

.author-info {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid #eee;
}

.author-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.author-details h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

.author-bio {
  color: #555;
  line-height: 1.6;
}
.photo-stack-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}
.photo-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(204, 0, 0, 0.9);
    color: #fff;
    padding: 5px 12px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 16px;
}
.photo-stack-item {
    position: relative;
    width: 100%;
}
.vertical-photo-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #000;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}
figcaption.photo-caption-text {
    color: #fff;
    margin-top: 10px;
}


.sidebar .news-list {
  list-style: none;
}


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

.lead-featured-one,
.lead-featured-two {
  background: #fff;
  padding: 0px;
  border-radius: 4px;
}

.lead-featured-one h1,
.lead-featured-two h1 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 15px;
  color: #333;
}

.lead-featured-one .excerpt,
.lead-featured-two .excerpt {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.lead-featured-one img,
.lead-featured-two img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 15px;
}

a {
    text-decoration: none;
}
.lead-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}


.lead-list-content {
  flex: 1;
}


/* Responsive */
@media (max-width: 968px) {
  .main-menu ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-menu li {
    flex-shrink: 0;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .photo-gallery-home {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-grid-home {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-page-layout {
    grid-template-columns: 1fr;
  }

  /* Reset sticky on mobile */
  .sidebar {
    position: static;
    max-height: none;
  }

  /* Stack to single column on tablet */
  .lead-news-list {
    grid-template-columns: 1fr;
  }
}
.video-card-home {
  width: 100%;
  min-width: 0;
}
.video-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}
@media (max-width: 768px) {
  .list-article-item a{
      display: initial;
  }
  .main-content {
    grid-template-columns: 1fr;
  }

  /* Stack lead featured articles on mobile */
 

  /* Stack list items on mobile */
  .lead-list-item {
    flex-direction: column;
  }

  .lead-list-item img {
    width: 100%;
    height: auto;
  }

  .lead-news-main {
    grid-template-columns: 1fr;
  }
  .lead-featured {
    grid-column: span 1;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  /* Full width article items on mobile */
  .list-article-item {
    flex-direction: column;
  }

  .list-article-item img {
    width: 100%;
    height: auto;
  }

  /* Author info stack on mobile */
  .author-info {
    flex-direction: column;
    text-align: center;
  }

  .author-photo {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* Card Style */
.news-card {
    background: #fff;
}

.news-card img {
    width: 100%;
    height: 180px;
    
    border-radius: 4px;
}

.news-card h3 {
    font-size: 15px;
    line-height: 1.4;
    margin-top: 8px;
    font-weight: 600;
    color: #000;
}

/* ---------- MOBILE VIEW ---------- */
@media (max-width: 768px) {
  .category-featured-large img {
        height: 200px;
    }
    .news-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
        gap: 12px;
    }

    .news-card img {
        height: 100px;
    }

    .news-card h3 {
        font-size: 11px;
    }
}
figure[id*="attachment"] {
    max-width: 100% !important;
    width: 100% !important;
}

figure[id*="attachment"] img {
    width: 100% !important;
    height: auto !important;
}
.load-more-container {
    text-align: center;
    margin: 30px 0;
}

.load-more-button,
#load-more {
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 500;

    background-color: #f2f2f2;
    color: #333;

    border: 1px solid #ccc;
    border-radius: 4px;

    cursor: pointer;
}

.load-more-button:hover,
#load-more:hover {
    background-color: #e6e6e6;
}

/* Disabled state */
.load-more-button:disabled,
#load-more:disabled {
    background-color: #fafafa;
    color: #999;
    cursor: not-allowed;
}


.entry-footer {
	padding: 20px 0px;
}

.entry-footer a {
	color: #333;
    line-height: 1.6;
	font-weight: bold;
}

.nav-previous a { 
	color: #333;
	line-height: 1.6;
    font-weight: bold;
	float:left;
	padding-top: 25px;
    font-size: 18px;
}


.nav-next a { 
	color: #333;
	line-height: 1.6;
    font-weight: bold;
	float:right;
	padding-top: 25px;
    font-size: 18px;
}