
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  background-color: #ffffff;
}

.breadcrumb {
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
  color: #666;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  align-items: center;
}
.breadcrumb a {
  color: #0073e6;
  text-decoration: none;
  font-weight: 300 !important;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb span {
  color: #333;
  margin: 0 5px;
}
/* TITLE */
.post-view h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.post-view h1{
  line-height: 1;
}
/* META INFO */
.post-view .meta {
  font-size: 0.7rem;
  color: #666;
  font-family: "Roboto", sans-serif;
  margin: 0.5rem 0 1rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.post-view .meta .meta-item {
  display: inline-flex;
  align-items: center;
}

.post-view .meta .meta-icon {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  display: inline-block;
  margin-right: 2px;
}


.post-view .meta .separator {
  margin: 0 0.5rem;
}

.post-view .tags a {
  display: inline-block;
  text-decoration: none;
  background: #000000;
  color: #ffffff;
  padding: 0.2rem 0.4rem;
  font-size: 0.75rem;
  margin: 0 0.4rem 0.4rem 0;
  transition: background 0.3s ease;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
}

.post-view .tags a:hover {
  background: #3d3d3d;
}

/* CONTENT */
.post-view .content{
  user-select: none;         
  -webkit-user-select: none; 
  -moz-user-select: none;    
  -ms-user-select: none;     
}
.post-view .content p {
  margin: 1rem 0;
  font-size: 1rem;
  font-family: 'Lora', serif;
  color: black;
  line-height: 1.5rem;
  color: #222;
  position: static;
}

.post-view .content ul,
.post-view .content ol {
  margin: 0.3rem 0 0.3rem 1.5rem;
  padding-left: 1rem;
}

.post-view .content li {
  margin-bottom: 0.8rem;
  line-height: 1.5rem;
}

.img-wrapper {
  position: relative;
  display: block; /* ensure full width responsiveness */
  width: 100%;
  margin: 10px 0;
  overflow: hidden; /* ensure badge doesn't overflow image area */
}

.post-view .content img {
  width: 100% !important;
  height: 220px;
  object-fit: contain;
  background-color: #eeeeee;
  cursor: pointer;
  display: block; /* remove bottom whitespace inside inline elements */
}

/* Badge styling */
.image-viewable-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 6px;
  border-radius: 4px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-viewable-badge svg{
  width: 20px;
}
/* Modal Overlay */
#imageModal {
  display: none;
  position: fixed;
  z-index: 9999999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.932);
  justify-content: center;
  align-items: center;
}

#imageModal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

#imageModal .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

#imageModal .close-btn:hover{
  color: #ccc;
}

.post-view .content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  font-family: 'Lora', serif;
  margin: 5px 0;
}

.post-view .content table thead {
  background-color: #f4f4f4;
}

.post-view .content table thead th {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
  font-weight: 600;
  color: #333;
}

.post-view .content table tbody td {
  padding: 12px;
  border: 1px solid #ddd;
  color: #444;
}

.post-view .content table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.post-view .content table tbody tr:hover {
  background-color: #f0f8ff;
}

.post-view .content a{
  text-decoration: none;
  color: #0073e6;
  font-weight: bold;
}

.post-view .content a:hover{
  text-decoration: underline;
}

hr {
  border: none;
  height: 1px;
  background-color: #ccc;
  margin: 1rem 0;
}

blockquote {
  border-left: 4px solid #ccc;
  padding: 0.1rem 0.5rem;
  margin: 0.5rem 0;
  background-color: #f9f9f9;
  font-style: italic;
  color: #555;
}

/* Card Containers */
.related-box, .latest-box {
  background-color: #fff;
  margin-bottom: 20px;
}

/* Section Headings */
.related-box h3, .latest-box h3 {
  font-size: 1.5em;
  color: #fff;
  background-color: #555;
  padding: 5px;
  margin-bottom: 5px;
  border-bottom: 2px solid #0073e6;
}

/* Shared Post Style Base */
.post-item,
.post-suggest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #ececec;
  transition: all 0.5s ease-in-out;
}

.post-item img{
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-right: 10px;
  transition: all 0.5s ease-in-out;
  background-color: #fafafa;
}
.post-suggest img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  margin-right: 10px;
  transition: all 0.5s ease-in-out;
  background-color: #0038700a;
}

.post-suggest img {
  border-radius: 5px;
}

/* Shared Text Container */
.post-item div,
.post-suggest div {
  flex: 1;
}

/* Shared Heading Styling */
.post-item h4,
.post-suggest h4 {
  display: inline-block;
  line-height: 1 !important;
  font-family: "Poppins", sans-serif;
  font-weight: 600 !important;
  margin: 0 !important;  
  padding: 0 !important;    
  transition: all 0.5s ease-in-out;
}

/* Specific Heading Colors and Effects */
.post-item h4 {
  color: #333;
  font-size: 0.85rem;
}

.post-item:hover h4 {
  color: #0073e6;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.post-suggest h4 {
  font-size: 0.95rem;
  color: #0073e6;
  text-decoration: none;
}

.post-suggest:hover h4 {
  color: #000000;
  background-color: #d3d3d3;
}

/* Small text in posts */
.post-item small,
.post-suggest small {
  font-size: 0.7em;
  color: #666;
  font-family: "Roboto", sans-serif;
  display: inline-flex; 
  align-items: center;
}

.post-item small i,
.post-suggest small i {
  display: inline-flex;
  align-items: center;
}

.post-item svg,
.post-suggest svg {
  width: 12px;
  height: 12px;
  display: block;         /* Remove inline spacing */
  margin-right: 2px;
}

/* Suggested Section Box */
.you-may-also-like {
  background-color: #eeeeee;
  padding: 10px;
  border-left: 3px solid #0073e6;
  margin: 20px 0;
}

.suggested-post h3 {
  font-size: 1.2em !important;
  margin-bottom: 5px;
}

/* Small Devices */
@media (max-width: 576px) {
  main {
    padding: 15px;
  }

  .post-view h1 { font-size: 1.2rem; }
  .post-view h2 { font-size: 1.1rem; }
  .post-view h3 { font-size: 1rem; }
  .post-view h4 { font-size: 0.9rem; }
  .post-view h5 { font-size: 0.8rem; }
  .post-view h6 { font-size: 0.75rem; }
  .post-suggest img{
    width: 65px !important;
    height: 65px !important; 
    margin-right: 5px !important; 
  }
   .post-item img {
    width: 60px !important;
    height: 60px !important; 
    margin-right: 5px !important; 
  }
}

@media (min-width: 768px) {
  main {
    display: flex;
    margin: auto;
    justify-content: center;
    max-width: 2048px;
    padding: 10px 30px;
  }

  main > div:first-child {
    width: 70%;
    padding: 10px;
  }

  main > div:last-child {
    width: 30%;
    padding: 10px;
  }

  .post-view h1 { font-size: 1.5rem; }
  .post-view h2 { font-size: 1.4rem; }
  .post-view h3 { font-size: 1.1rem; }
  .post-view h4 { font-size: 1rem; }
  .post-view h5 { font-size: 0.9rem; }
  .post-view h6 { font-size: 0.8rem; }
  .post-suggest h4,
  .post-item h4 {
    font-size: 0.8rem;
  }
  .post-view .content img {
    height: 240px;
  }
}

/* Large Devices (≥992px) */
@media (min-width: 992px) {
  .post-view h1 { font-size: 1.8rem; }
  .post-view h2 { font-size: 1.6rem; }
  .post-view h3 { font-size: 1.4rem; }
  .post-view h4 { font-size: 1.2rem; }
  .post-view h5 { font-size: 1rem; }
  .post-view h6 { font-size: 0.9rem; }
  .post-suggest h4,
  .post-item h4 {
    font-size: 0.9rem;
  }
  .post-view .content img {
    height: 260px;
  }
}

/* Extra Large Devices (≥1200px) */
@media (min-width: 1200px) {
  .post-view h1 { font-size: 2rem; }
  .post-view h2 { font-size: 1.8rem; }
  .post-view h3 { font-size: 1.6rem; }
  .post-view h4 { font-size: 1.4rem; }
  .post-view h5 { font-size: 1.2rem; }
  .post-view h6 { font-size: 1rem; }
  .post-suggest h4,
  .post-item h4 {
    font-size: 1rem;
  }
  .post-view .content img {
    height: 300px;
  }
}

/* Extra Extra Large Devices (≥1400px) – optional */
@media (min-width: 1400px) {
  .post-view h1 { font-size: 2.25rem; }
  .post-view h2 { font-size: 2rem; }
  .post-view h3 { font-size: 1.75rem; }
  .post-view h4 { font-size: 1.5rem; }
  .post-view h5 { font-size: 1.25rem; }
  .post-view h6 { font-size: 1.1rem; }
}


.a2a_kit {
  display: flex;
  justify-content: start;
  flex-wrap: wrap;
  gap: 5px !important;
  margin: 10px 0;
  align-items: center;
}

.a2a_kit a{
  transition: all 0.5s ease-in-out !important;
}

/* SVG icon inside each button */
.a2a_kit .a2a_svg,
.a2a_kit .a2a_svg svg {
  display: block;
  margin: 0;
  padding: 0;
  width: 24px !important;  /* Size of the icon */
  height: 24px !important;
  border-radius: 50% !important;

}

.a2a_kit a:hover {
  transform: scale(1.1);
}
.bottom55{
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 8px;
  margin: 10px 0;
  width: fit-content;
}

.content iframe{
  width: 560px !important;
  height: 500px !important;
  margin: auto;
}

@media (max-width: 600px){
  .content iframe{
    width: 100% !important;
  }
}

.btn-primary {
    background: #0059b2;
    border: none;
    color: #fff !important;
    transition: background 0.5s ease-in-out;
    text-decoration: none !important;
    font-size: 12px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    padding: 5px 10px;
}
.btn-primary:hover {
    background: linear-gradient(90deg, #0059b2 0%, #2d91ff 100%);
    color: #fff !important;
    text-decoration: none;
}

/* Wrapper */
.recommendations-box {
    margin-top: 20px;
}

/* Section titles */
.docs-heading {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #2169ac;
    padding: 10px;
    background-color: #2169ac23;
    font-weight: 600;
    border-left: 4px solid #2169ac;
    font-family: "Poppins", sans-serif;
}

.posts-heading {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #2169ac;
    padding: 10px;
    background-color: #2169ac23;
    font-weight: 600;
    border-left: 4px solid #2169ac;
}

.empty-heading {
    font-size: 0.9em;
    font-weight: 600;
    color: #444;
    margin-bottom: 5px;
}

/* Lists */
.docs-list,
.posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* List items */
.docs-item,
.posts-item {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Titles */
.docs-title,
.posts-title {
    font-weight: 600;
    font-size: 14px;
    color: #222;
    font-family: "Poppins", sans-serif;
    line-height: 1;
}

/* Links */
.docs-link,
.posts-link {
    text-decoration: none;
    color: #007BFF;
    font-size: 0.8em;
    width: fit-content;
    padding: 1px;
    font-family: "Poppins", sans-serif;
}

.docs-link:hover,
.posts-link:hover {
    background-color: #007BFF;
    color: #fff;
}

/* Dates */
.docs-date,
.posts-date {
    font-size: 0.7em;
    color: #666;
    font-family: "Roboto", sans-serif;
}

/* Empty state */
.empty-message {
    font-size: 0.75em;
    color: #777;
}

.addon45 {
    max-width: 700px;
    margin: 0 15px;
    font-family: Arial, sans-serif;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px;
}

.topheas {
   border-left: 4px solid #0059b2;
   padding-left: 5px;
   margin-bottom: 20px;
}
/* Form Fieldsets */
#comment-form fieldset {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 10px;
}

/* Legends */
#comment-form legend {
    font-weight: bold;
    font-size: 1em;
}

/* Inputs and Textarea */
#comment-form input[type="text"],
#comment-form input[type="email"],
#comment-form textarea {
    width: 100%;
    border: none;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

#comment-form input:focus,
#comment-form textarea:focus {
    border-color: #007BFF;
    outline: none;
}

/* Submit Button */
#comment-form button[type="submit"] {
    padding: 10px 20px;
    background-color: #007BFF;
    border: none;
    color: white;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: bold
}

#comment-form button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Response message */
#comment-response {
    margin-top: 15px;
    font-weight: bold;
    font-family: "Roboto", sans-serif;
}

/* Comments Section */
#comments-section {
    margin-top: 20px;
    background-color: #f3f3f3;
    padding: 20px;
    border-radius: 8px;
}

#comments-section h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
    padding-bottom: 5px;
}

/* Comment List */
#comments-section ul {
    list-style: none;
    padding: 0;
}

#comments-section li {
    border-bottom: 1px solid #ffffff;
    padding: 5px 0;
}

/* Flex container for author + date */
#comments-section li .comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Date on the left */
#comments-section li .comment-header small {
    order: 1; /* first item */
    color: #777;
    font-family: "Roboto", sans-serif;
    font-size: 10px;
}

/* Author on the right */
#comments-section li .comment-header strong {
    order: 0; /* second item */
    color: #007BFF;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    text-transform: uppercase;
}

#comments-section p {
    margin: 8px 0 0 0;
    line-height: 1;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
}

#show-more-comments {
    display: inline-block;
    border: 1px solid #666666;
    cursor: pointer;
    color: #666;
    background-color: inherit;
    font-size: 0.8em;
    transition: all 0.3s ease;
    margin-top: 15px;
    padding: 5px;
    border-radius: 8px;
}

/* Hover effect */
#show-more-comments:hover {
    transform: translateY(-2px);
}

.saved-user {
  margin-bottom: 10px;
}

/* --- Base Label Styling for Alignment --- */
.remember {
    display: flex;
    align-items: center; 
    cursor: pointer;
    padding: 5px 0;
}

/* --- Paragraph/Text Styling --- */
.remember p {
    /* Remove default margin from the paragraph */
    margin: 0; 
    margin-left: 8px; 
    font-size: 0.9em;
    color: #444; /* Example color */
}
.remember input[type="checkbox"] {
    width: 14px; 
    height: 14px;
    margin: 0; 
    accent-color: #007bff; /* Example: Blue */
}

#clear-saved-info {
  font-family: "Roboto", sans-serif;
  color: rgb(231, 0, 0);
  background-color: inherit;
  border: none;
  margin-left: 10px;
  font-size: 12px;
  cursor: pointer;
}