/* blogoralite theme complete responsive CSS */

/* Base styles */
* {
  box-sizing: border-box;
}



body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}
a {
  color: #050505;
  transition: color 0.3s ease;
}
a:hover {
  color: #0056b3;
}

.post h2{
  text-decoration: underline;
}
/* Links in content, excerpts, comments, widgets */
.entry-content a,
.entry-summary a,
.comment-content a,
.widget a,
.custom-text a {
    text-decoration: underline;
    color: inherit;  /* Keep default text color */
}
.entry-content a:hover,
.entry-summary a:hover,
.comment-content a:hover,
.widget a:hover,
.custom-text a:hover {
    color: #0073aa;
    text-decoration: underline;
}
/* Professional Skip to Content link */
.blogoralite-skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    z-index: 100;
    text-decoration: none;
    font-size: 14px;
}
.blogoralite-skip-to-content:focus {
    top: 0;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
}
#wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1rem;
}
/* Custom Header Image */
#custom-header-image {
  width: 100%;
  margin-bottom: 1rem;
}
#custom-header-image img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  display: block;
}
#header {
  border-radius: 8px 8px 0 0;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 123, 255, 0.2);
}
#header .buffer .buffer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.header-left {
  display: flex;
  align-items: center;
}
.header-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-right {
  display: flex;
  align-items: center;
}
#header ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
}
#header ul li {
  
  text-transform: uppercase;
  font-weight: 400;
}
#header ul li a {
  color: rgb(1, 1, 1);
  padding: 0.5rem 0;
  display: block;
  transition: opacity 0.3s ease;
  font-size: 13px;
  
}
#header ul li a:hover {
  opacity: 0.8;
  text-decoration: none;
}
#header form {
  display: flex;
  margin-left: auto;
  margin-top: 0.5rem;
  flex: 1;
  max-width: 300px;
}
#header form input {
  flex: 1;
  padding: 0.75rem;
  border: 2px solid rgb(77, 77, 77);
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
}
#header form button {
  padding: 5px;
  margin-left: -50px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
#header form button:hover {
  background-color: #218838;
}
/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  border: none;
  padding: 0.5rem;
  margin-right: 1rem;
}
.bar {
  width: 25px;
  height: 3px;
  background-color: rgb(3, 3, 3);
  margin: 3px 0;
  transition: 1s;
  border-radius: 2px;
}
.hamburger.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}
/* Dropdown Menu */
#header ul li {
  position: relative;
}
#header ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  min-width: 200px;
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
  border-radius: 0 0 8px 8px;
  z-index: 1001;
  padding: 0.5rem 0;
  list-style: none;
  margin: 0;
}
#header ul li:hover ul,
#header ul li.active ul {
  display: block;
}
#header ul li ul li {
  margin: 0;
  text-align: left;
  position: relative;
}
#header ul li ul li a {
  padding: 0.75rem 1rem;
  display: block;
  color: #333;
  font-size: 14px;
  transition: background-color 0.3s ease;
}
#header ul li ul li a:hover {
  background-color: rgba(0, 123, 255, 0.1);
  color: #007bff;
}
/* Third-level submenu */
#header ul li ul li ul {
  display: none !important;
  position: absolute;
  top: 0;
  left: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  min-width: 200px;
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
  border-radius: 0 8px 8px 0;
  z-index: 1002;
  padding: 0.5rem 0;
  list-style: none;
  margin: 0;
}
#header ul li ul li.active ul {
  display: block !important;
}
@media screen and (min-width: 1201px) {
  #header ul li ul li:hover ul {
    display: block !important;
  }
}
@media screen and (max-width: 1200px) {
  #header ul li ul li:hover ul {
    display: block !important;
  }
}
/* Fourth-level submenu */
#header ul li ul li ul li ul {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  min-width: 200px;
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
  border-radius: 0 8px 8px 0;
  z-index: 1003;
  padding: 0.5rem 0;
  list-style: none;
  margin: 0;
}
#header ul li ul li ul li:hover ul,
#header ul li ul li ul li.active ul {
  display: block;
}
#header ul li ul li ul li ul li a {
  padding: 0.75rem 1rem;
  display: block;
  color: #333;
  font-size: 14px;
  transition: background-color 0.3s ease;
}
#header ul li ul li ul li ul li a:hover {
  background-color: rgba(0, 123, 255, 0.1);
  color: #007bff;
}
#header ul li ul li ul li a {
  padding: 0.75rem 1rem;
  display: block;
  color: #333;
  font-size: 14px;
  transition: background-color 0.3s ease;
}
#header ul li ul li ul li a:hover {
  background-color: rgba(0, 123, 255, 0.1);
  color: #007bff;
}
#body {
  background-color: white;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  overflow: hidden;
}
#content .buffer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 2rem;
  width: 100%;
}
.post {
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  padding: 1rem;
}
.post:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.post h2 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  font-weight: 700;
  line-height: 1.2;
}
.post h2 a {
  color: #333;
}
.post h2 a:hover {
  color: #007bff;
}
.post .date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}
.post .date a {
  color: #28a745;
  font-weight: 500;
}
.post .thumb {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}
.post .thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.post p {
  margin-bottom: 1rem;
  text-align: justify;
}
.post .readmore {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}
.post .readmore:hover {
  background-color: #0056b3;
  text-decoration: none;
}
#footer {
  text-align: center;
  padding: 2rem;
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
  color: #666;
  font-size: 0.9rem;
}
#footer a {
  color: #007bff;
}
#footer a:hover {
  color: #0056b3;
}
.single-post .post {
width: 1000px !important;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-size: 1.2rem;
}
.single-post .post img {
  width: 100%;
  height: 550px;
  border-radius: 8px;
  margin-bottom: 1rem;
  object-fit: cover;
}
/* Responsive Media Queries */

/* Tablet Landscape (992px and below) */
@media screen and (max-width: 992px) {
  #content .buffer {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    justify-items: center;
  }
  #header .buffer .buffer {
    padding: 0.5rem;
  }
  #header ul li {
    margin-right: 1rem;
    font-size: 0.9rem;
  }
  #header form {
    max-width: 250px;
  }
  .post .thumb img {
    height: 180px;
  }
 .single-post .post {
    width: 800px !important;
    padding: 0.5rem;
    font-size: 0.9rem;
  }
  .single-post .post img {
    height: 350px;
  }
}
@media screen and (max-width: 1040px) {
  .single-post .post {
    width: 800px !important;
    padding: 1.5rem;
    font-size: 0.9rem;
  }
  .single-post .post img {
    height: 450px;
  }
}
@media screen and (max-width: 934px) {
  #content p {
    width: 850px !important;
  }
  #content .buffer {
    width: 600px !important;
    padding: 1rem;
  }
  #content .buffer .thumb img {
    width: 800px !important;
    height: 400px;
  }
}
@media screen and (max-width: 850px) {
  .single-post .post {
    width: 580px !important;
    padding: 1.5rem;
    font-size: 0.9rem;
  }
  .single-post .post img {
    height:450px;
  }
   #content p {
    width: 500px !important;
  }
}
/* Tablet Portrait (1200px and below) */
@media screen and (max-width: 1200px) {
  .hamburger {
    display: flex;
    transition: transform 0.3s ease;
  }
  .hamburger:hover {
    transform: scale(1.1);
  }
  #header form {
    display: none;
  }
  #header ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
    z-index: 1000;
    border-radius: 0 0 8px 8px;
    animation: slideDown 1s ease;
    transition: opacity 1s ease, transform 1s ease;
  }
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  #header ul.active {
    display: flex;
  }
  #header ul li ul {
    position: static;
  }
  #header ul li.active ul {
    display: block;
  }
  #header ul li ul li ul {
    position: static;
    display: none !important;
  }
  #header ul li ul li.active ul {
    display: block !important;
  }
  #header ul li ul li ul li ul {
    position: static;
    display: none !important;
  }
  #header ul li ul li ul li.active ul {
    display: block !important;
  }
  #header ul li {
    margin: 0.5rem 0;
    text-align: center;
    transition: background-color 3 ease;
  }
  #header ul li:hover {
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 4px;
  }
  #header .buffer .buffer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  #content .buffer {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1.5rem;
  }
  .post {
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }
  .post h2 {
    font-size: 1.25rem;
  }
  .post .thumb img {
    height: auto;
    max-height: 250px;
    object-fit: cover;
  }
  .single-post .post {
    max-width: 100%;
    width: 100%;
    padding: 1.5rem;
    font-size: 1rem;
    margin: 0 auto;
  }
  .single-post .post img {
    height: auto;
    max-height: 400px;
  }
  #footer {
    padding: 1.5rem;
  }
}
/* Mobile (576px and below) */
@media screen and (max-width: 576px) {
  #wrapper {
    padding: 0 0.৫rem;
  }
  #header form {
    display: none;
  }
  #header {
    margin-bottom: 0.5rem;
  }
  #header .buffer .buffer {
    padding: 0.5rem;
  }
  #header ul li {
    margin-left: 10px;
    font-size: 15px;
  }
  #content .buffer {
    width: 510px !important;
    padding: 1rem;
  }
  #content .buffer .thumb img {
    width: 500px !important;
    height: 300px;
  }
  #header form input {
    font-size: 0.9rem;
    margin-left: -20px;
  }
  #content .buffer {
    padding: 1rem 0.5rem;
  }
  .post h2 {
    font-size: 1.1rem;
  }
  .post .readmore {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  .single-post .post {
    width: 450px !important;
    padding: 1rem;
    font-size: 0.9rem;
    margin-left: 10px;
  }
  .single-post .post img {
    height: 350px;
  }
  #content p {
    width: 400px !important;
  }
  #footer {
    padding: 1rem 0.5rem;
    font-size: 0.8rem;
  }
  .comments-area {
    padding: 10px;
  }
  .comments-title {
    font-size: 20px;
  }
  .comment-content {
    font-size: 14px;
  }
  .comment-respond input,
  .comment-respond textarea {
    padding: 8px;
  }
  .comment-respond button {
    padding: 8px 16px;
  }
}
/* Comments Section */
.comments-area {
  margin-top: 50px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
}
.comments-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}
.comment-list {
  list-style: none;
  padding-left: 0;
}
.comment-list li {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
}
.comment-author,
.comment-meta {
  font-size: 14px;
  color: #555;
}
.comment-content {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 5px;
}
.comment-respond {
  margin-top: 30px;
}
.comment-respond input,
.comment-respond textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.comment-respond button {
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.comment-respond button:hover {
  background-color: #555;
}
.comment-list img.avatar {
  border-radius: 50%;
  width: 20px;
  height: 20px;
}