.adsense-banner-ad {
  max-width: 100%;
  padding: 10px 0;
}

/*Shortcut btns */
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  margin-top: 50px;
}

.shortcut-card {
  background-color: #0d1b2a; /* Dark Navy Blue */
  color: #38bdf8;
  text-align: center;
  padding: 20px 15px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
  border: 1px solid #1e3a5f;
}

.shortcut-card:hover {
  background-color: #112d4e;
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.4);
}

.shortcut-card .icon {
  font-size: 32px;
  margin-bottom: 10px;
  color: #38bdf8;
}

.shortcut-card .label {
  font-size: 14px;
  font-weight: 600;
  color: #dbeafe;
}





.search-area {
  text-align: center;
  margin: 2rem 0;
}
.search-form {
  display: inline-flex;
  max-width: 500px;
  width: 100%;
  background: #060e1c;
  border-radius: 30px;
  overflow: hidden;
}
.search-field {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1rem;
}
.search-field::placeholder {
  color: #bbb;
}
.search-submit {
  background: #07c0d7;
  color: #121212;
  padding: 0.75rem 1rem;
  border: none;
  font-weight: bold;
  cursor: pointer;
}
.search-submit:hover {
  background: #08b515;
  color: #fff;
}

.search-form-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 500px;
  margin: auto;
}

#live-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #060e1c;
  color: #fff;
  border: none;
  z-index: 1000;
  max-height: 300px;
  margin-top: 5px !important;
  overflow-y: auto;
  border-radius: 0 0 8px 8px;
  list-style: none; /* ✅ Remove default bullets */
  padding: 0;
  margin: 0;
}

#live-search-results li {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #333;
}
#live-search-results li a {
  color: #07c0d7;
  display: block;
}
#live-search-results li:hover {
  background: #08b515;
}

/* Circular Spinner */
.spinner {
  border: 4px solid #c70a0a;
  border-top: 4px solid #07c0d7;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
@keyframes spin {
  0% { transform: translateY(-50%) rotate(0deg); }
  100% { transform: translateY(-50%) rotate(360deg); }
}



/* Header Layout */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1140px;
    margin: auto;
    padding: 0.6rem;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-top: 5px;
    z-index: 99;
}

.logo img {
  max-height: 70px;
    max-width: 306px;
}
.main-nav {
  flex: 1;
  text-align: left;
}
.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu li {
  display: inline-block;
  margin-left: 1.5rem;
}
.nav-menu li a {
  color: #07c0d7;
  font-weight: bold;
}

/* Hamburger Icon */
.hamburger {
  display: none;
  font-size: 28px;
  color: #07c0d7;
  cursor: pointer;
}

/* Mobile Responsive Menu */
#menu-toggle {
  display: none;
}
@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .main-nav {
   position: absolute;
        top: 100%;
        /* left: 20px; */
        background: #011c59;
        width: 85%;
        display: none;
        /* text-align: left; */
        padding: 1rem;
        border-radius: 8px;
  }
  #menu-toggle:checked + .hamburger + .main-nav {
    display: block;
  }
  .nav-menu li {
    display: block;
    margin: 0.9rem 0;
  }
  .logo img {
    max-height: 50px;
    max-width: 220px;
  }
  .nav-menu li ul.sub-menu {
  position: static;
  margin-left: 1rem;
  margin-top: 0.3rem;
  padding: 0.3rem 0;
  border-radius: 5px;
  display: none;
}
.nav-menu li:hover > ul.sub-menu {
  display: block;
}
.nav-menu li ul.sub-menu li a {
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
}
}

.nav-menu li a {
  position: relative;
  display: inline-block;
  padding: 5px 5px;
  font-weight: 500;
  color: #ddd;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background-color: #ffcc00; /* premium golden-yellow color */
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav-menu li a:hover {
  color: #ffcc00;
}

.nav-menu li a:hover::after {
  width: 80%;
}


body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background-color: #0D1A33;
  color: #ffffff;
}
a {
  color: #07c0d7;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
  color: #08b515;
}
footer {
  background-color: #0D1A33;
  padding: 1rem;
  text-align: center;
}
header h1 a, footer p {
  color: #07c0d7;
  font-weight: bold;
}
.container {
  max-width: 1140px;
  margin: auto;
}
.content-with-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.main-content {
  flex: 3;
}
.sidebar {
  flex: 1;
  background: #060e1c;
  padding: 1rem;
}
.current_page_item{
    list-style: none;
}
.post, .page, .single-post, .archive-entry {
  background: #0D1A33;
  padding: 1rem;
  margin-bottom: 1rem;
  border-left: 4px solid #07c0d7;
  border-radius: 4px;
}
.download-btn, button {
background-color: #434242;
    color: #949494;
    padding: 0.5rem 1rem;
    font-weight: bold;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}
.download-btn:hover, button:hover {
  background-color: #0058a4;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
th, td {
  padding: 0.75rem;
  border: 1px solid #444;
  text-align: left;
}
th {
  background-color: #08b515;
  color: #07c0d7;
}
@media screen and (max-width: 768px) {
  .content-with-sidebar {
    flex-direction: column;
  }
  table, thead, tbody, th, td, tr {
    display: block;
  }
  td {
    position: relative;
    padding-left: 50%;
  }
  td::before {
    position: absolute;
    top: 0;
    left: 0;
    padding-left: 10px;
    font-weight: bold;
    color: #07c0d7;
  }
  .post, .page, .single-post, .archive-entry {
  border-left: none!important;
  padding: 0px !important;
}
}
.narrow-content {
  max-width: 1140px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* main page */

.load-more-wrap {
  text-align: center;
  margin: 2rem 0;
}
#load-more {
  font-size: 1rem;
  padding: 0.7rem 1.4rem;
  background: #FFB300;
  color: #121212;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
#load-more:hover {
  background: #ffa000;
}

/* 🔄 Total Posts + Last Update */
.post-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  background: #060e1c;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #c58c07;
}
@media screen and (max-width: 768px) {
  .post-summary {
    flex-direction: column;
    align-items: flex-start;
  }
  .container {
 padding: 0.5rem;
}
.post-meta-center{
    position: relative;
    top: 0px !important;
}
}

    .post-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #0D1A33;
  border-left: 4px solid #9d6e00;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
  position: relative;
  cursor: pointer;
}


.post-thumb img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
}

/* Title + Meta block */
.post-info-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.post-title {
  position: relative;
    bottom: 15px;
  font-size: 1rem;
  font-weight: bold;
}

.post-title a:hover {
  color: #FFB300;
}

/* Centered date under title */
.post-meta-center {
  font-size: 0.8rem;
  color: #bbb;
  margin-top: 0.4rem;
}

/* NEW sticker absolute */
.new-sticker-abs {
  position: absolute;
  bottom: 10px;
  right: 15px;
  background: #FFB300;
  color: #121212;
  font-size: 0.65rem;
  padding: 3px 7px;
  border-radius: 4px;
  font-weight: bold;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .post-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .post-thumb {
    display: none;
  }
  .desktop-only {
    display: none !important;
  }
}

/* All Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.category-card {
  background: #060e1c;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #1a1a1a;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.category-card:hover {
  background: #0D1A33;
  border-color: #FFB300;
  transform: translateY(-3px);
}
.category-card h3 {
  margin: 0 0 0.5rem;
  color: #FFB300;
  font-size: 1.1rem;
}
.category-card span {
  font-size: 0.9rem;
  color: #ccc;
}
/* Archive page */
.archive-wrapper {
  margin-top: 1rem;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.load-more-wrap {
  text-align: center;
  margin-top: 2rem;
  grid-column: 1 / -1; /* Ensure it spans full width in grid if used inside */
}


@media screen and (max-width: 768px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}

/* Single post */
.top-card {
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  height: 200px;
  margin: 2rem auto;
  overflow: hidden;
}

.top-card .title-area {
  flex: 1;
  min-width: 240px;
  padding-right: 1rem;
}

.top-card h1 {
  font-size: 1.2rem;
  margin: 0;
  padding-left: 10px;
  color: #ffffff;
  font-weight: 600;
  border-left: 4px solid #1abc9c;
  line-height: 1.4;
  text-shadow:
    1px 1px 0 #0f0f0f,
    2px 2px 3px rgba(0, 0, 0, 0.4),
    0 0 10px rgba(26, 188, 156, 0.3);
}

.top-card .image-area {
  flex-shrink: 0;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
}

.top-card .image-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(255,255,255,0.05);
}


  .post-content {
    max-width: 1140px;
    margin: 2rem auto;
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  }

  .post-content p {
    line-height: 1.8;
    color: #cdd3e0;
  }

  @media (max-width: 600px) {
  .top-card {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
  }

  .top-card .title-area {
    padding: 0 0 0.8rem 0;
    width: 100%;
    margin-bottom: 20px;
  }

  .top-card h1 {
    font-size: 1.1rem;
  }

  .top-card .image-area {
    width: 100%;
    height: auto;
    text-align: center;
  }

  .top-card .image-area img {
    width: 80%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
  }
}