.blog-post-wrapper {
  max-width: 1200px;
  margin: 100px auto;
  padding: 20px;
  background: #a8e6cf;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.single-blog-post h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.post-meta {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
}

.featured-image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 25px;
}

.post-content {
  max-width: 800px;
  padding-left: 250px;
  line-height: 1.8;
  font-size: 1.05rem;
  color: #222;
}

.post-tags {
  margin-top: 30px;
  font-size: 0.95rem;
  color: #777;
}


@media (max-width: 768px) {

  .blog-post-wrapper {
    max-width: 360px;
  }  
  .post-content {
    padding-left: 20px;
  }
}
 


/* additionals */



.wp-block-table, table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 1rem;
}

table th, table td {
  padding: 12px 16px;
  border: 1px solid #000;
  text-align: left;
}

table thead {
  background-color: #000;
  font-weight: 600;
}

.wp-block-table {
  width: 100%;
  overflow-x: auto;
  display: block;
}

.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td {
  border: 1px solid #000;
  padding: 10px;
  text-align: left;
}

/* Social Media icons and links */
.wp-block-social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 0;
  margin: 2rem auto;
  list-style: none;
  flex-wrap: wrap;
}

.wp-block-social-link {
  list-style: none;
}

.wp-block-social-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #f4f4f4;
  transition: background 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}

.wp-block-social-link a:hover {
  background-color: #fe0099;
  transform: scale(1.1);
}

.wp-block-social-link svg {
  width: 20px;
  height: 20px;
  fill: #111;
  transition: fill 0.3s ease;
}

.wp-block-social-link a:hover svg {
  fill: #fff;
}

.wp-block-social-link-label {
  display: none; /* Hide label text */
}

@media (max-width: 600px) {
  .wp-block-social-links {
    justify-content: center;
  }
}

.wp-block-social-link a {
  background-color: #f4f4f4;
  color: #333;
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Default hover */
.wp-block-social-link a:hover {
  background-color: #111;
  color: #fff;
}



.wp-block-social-link a[href*="youtube"] { background-color: #FF0000; color: white; }
.wp-block-social-link a[href*="linkedin"] { background-color: #0077B5; color: white; }
.wp-block-social-link a[href*="whatsapp"] { background-color: #38a094; color: white; }
.wp-block-social-link a[href*="instagram"] {
  background: radial-gradient(
    circle at 5% 100%,
    #ffdb8b 0%,
    #ee653d 25%,
    #d42e81 50%,
    #a237b6 75%,
    #3e57bc 100%
  );
  color: white;
}
/* Add more if needed */

/* Embeded form styling */
.wp-block-embed,
form.embedded-form {
  background: #f9f9f9;
  padding: 20px;
  border-left: 4px solid #fe0099;
  margin: 2rem 0;
  border-radius: 6px;
}

form.embedded-form input,
form.embedded-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form.embedded-form button {
  margin-top: 12px;
  background: #fe0099;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 4px;
}





/* Footer Section Wrapper */
.wp-block-group.alignfull {
  background-color: #fff; /* dark slate tone */
  color: #000; /* soft contrast text */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 3rem 1.5rem;
  min-height: 40vh;
  gap: 1rem;
}

/* Logo Container */
.wp-block-site-logo {
  margin-bottom: 10px;
}

.wp-block-site-logo img.custom-logo {
  max-width: 200px;
  height: auto;
  transition: transform 0.3s ease;
}

.wp-block-site-logo img.custom-logo:hover {
  transform: scale(1.05);
}

/* Attribution Text */
.wp-block-group.alignfull p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #000000;
}

.wp-block-group.alignfull p a {
  color: #38bdf8; /* light blue link */
  text-decoration: none;
  font-weight: 600;
}

.wp-block-group.alignfull p a:hover {
  text-decoration: underline;
}

@media (max-width: 500px) {
  .wp-block-site-logo img.custom-logo {
    max-width: 140px;
  }

  .wp-block-group.alignfull p {
    font-size: 0.95rem;
  }
}

/* Login Form Container */
form#loginform {
  background: #f8fafc;
  max-width: 400px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  font-family: 'Montserrat', sans-serif;
}

/* Input Labels */
form#loginform label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1e293b;
}

/* Inputs */
form#loginform input.input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  margin-bottom: 1.2rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.3s ease;
  background: #fff;
  color: #111827;
}

form#loginform input.input:focus {
  border-color: #3b82f6;
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Remember Me Checkbox */
.login-remember {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.login-remember input[type="checkbox"] {
  margin-right: 0.5rem;
}

/* Submit Button */
#wp-submit.button {
  width: 100%;
  padding: 0.75rem;
  font-weight: 600;
  background-color: #0ea5e9;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#wp-submit.button:hover {
  background-color: #0284c7;
}

/* Google Login Button Placeholder */
.googlesitekit-sign-in-with-google__frontend-output-button {
  margin-bottom: 1.5rem;
}


/* Default WP Separator */
.wp-block-separator {
  border: none;
  border-top: 2px dashed rgba(0, 0, 0, 0.2);
  height: 0;
  margin: 2rem auto;
  max-width: 120px;
}

.has-alpha-channel-opacity {
  border-top: 2px dashed rgba(0, 0, 0, 0.3);
  height: 0;
  background: none;
  border-radius: 0;
  max-width: 120px;
  margin: 2.5rem auto;
}

.has-alpha-channel-opacity {
  border-top: 2px dashed rgba(254, 0, 153, 0.4);
}

/* Author Name style */
.wp-block-post-author-name {
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1.4;
  margin: 1.5rem 0 0.5rem;
  color: #333;
  text-align: left;
}

.has-larger-font-size {
  font-size: 2.2rem;
}

@media (max-width: 768px) {
  .wp-block-post-author-name {
    font-size: 1.5rem;
  }

  .has-larger-font-size {
    font-size: 1.8rem;
  }
}

.wp-block-post-author-name {
  color: #fe0099;
}

/* Tags */

.tags-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: #555;
  align-items: center;
}

.tags-links::before {
  content: "Tags:";
  font-weight: 600;
  color: #111;
  margin-right: 10px;
}

.tags-links a {
  background-color: #f4f4f4;
  color: #333;
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.tags-links a:hover {
  background-color: #fe0099;
  color: #fff;
}


/* post navigation */
.post-navigation {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin: 60px auto 40px;
  max-width: 1000px;
  padding: 0 20px;
}

.nav-card {
  flex: 1 1 45%;
  background: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.nav-card img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.nav-card .nav-text {
  flex: 1;
}

.nav-card .nav-text span {
  font-size: 0.8rem;
  color: #777;
}

.nav-card .nav-text a {
  display: block;
  color: #111;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  margin: 6px 0;
}

.nav-card .nav-text p {
  font-size: 0.9rem;
  color: #444;
  margin: 0;
  line-height: 1.4;
}



/* Skeleton loading effect */
.loading-skeleton {
  position: relative;
  min-height: 400px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e2e2e2 37%, #f0f0f0 63%);
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

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


/* comments */

#custom-comment-form {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  margin-top: 40px;
}

#custom-comment-form form p {
  margin-bottom: 15px;
}

#custom-comment-form input,
#custom-comment-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

#custom-comment-form button {
  background: #fe0099;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

#custom-comment-form button:hover {
  background: #e60084;
}

/* Entire Comments Block Wrapper */
#comments-section {
  margin-top: 60px;
  padding: 40px 20px;
  background: #fefefe;
  border-top: 2px dashed #ddd;
  border-radius: 10px;
}

/* Loading Indicator */
#comment-loader {
  font-style: italic;
  color: #555;
  font-size: 1rem;
  margin-bottom: 20px;
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* Where comments will appear */
#comments-output {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Each Comment */
.comment-box {
  background: #fafafa;
  border-left: 4px solid #fe0099;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.comment-box .comment-author {
  font-weight: bold;
  margin-bottom: 5px;
  color: #111;
}

.comment-box .comment-meta {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 10px;
}

.comment-box .comment-content {
  line-height: 1.6;
  color: #333;
  font-size: 1rem;
}

/* Placeholder where the custom form will be injected */
#comment-form-placeholder {
  margin-top: 40px;
}


/*comment */
.comment {
  background: #f9f9f9;
  border-left: 3px solid #ccc;
  padding: 10px;
  margin: 10px 0;
  border-radius: 6px;
}

.comment strong {
  color: #333;
  font-size: 1rem;
}

.comment-content {
  margin-top: 6px;
  color: #555;
}

.comment .comment {
  background: #f0f0f0;
  border-left: 3px dashed #bbb;
}


/* wordpress comment form */
#comment-form-placeholder {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  margin-top: 40px;
}

#comment-form-placeholder form p {
  margin-bottom: 15px;
}

#comment-form-placeholder input,
#comment-form-placeholder textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

#comment-form-placeholder button {
  background: #fe0099;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

#comment-form-placeholder button:hover {
  background: #e60084;
}


/*comments styling 2 */

/* Avatar */
.comment img.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}



/* Reply link */
.comment .reply-button {
  font-size: 13px;
  color: #0073aa;
  cursor: pointer;
  margin-top: 6px;
  display: inline-block;
}

.comment .reply-button:hover {
  text-decoration: underline;
}

/* Nested replies */
.comment .child-comments {
  margin-left: 20px;
  border-left: 1px dashed #ccc;
  padding-left: 16px;
  margin-top: 15px;
}



/* Figure container */
.wp-block-image {
  text-align: center;
  margin: 2rem auto;
}

/* Center-aligned image block */
figure.aligncenter {
  margin: 0 auto;
  display: inline-block;
}

/* Responsive image */
figure.aligncenter img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* On hover: lift image slightly */
figure.aligncenter a:hover img {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Optional: emphasize that it's a PDF/download */


/* Maintain fluid image resizing in narrower viewports */
@media (max-width: 600px) {
  figure.aligncenter {
    width: 100%;
  }

  figure.aligncenter img {
    width: 100% !important;
    height: auto !important;
  }
}

/* reply comment form*/

#commentForm {
  max-width: 600px;
  margin: 2rem auto;
  background-color: #fdfdfd;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
  font-family: 'Inter', sans-serif;
}

#commentForm input[type="text"],
#commentForm input[type="email"],
#commentForm textarea {
  width: 90%;
  padding: 12px 16px;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

#commentForm input:focus,
#commentForm textarea:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 0 2px rgba(0,115,170,0.1);
}

#commentForm button[type="submit"] {
  background-color: #0073aa;
  color: white;
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  margin-right: 10px;
  transition: background-color 0.3s ease;
}

#commentForm button[type="submit"]:hover {
  background-color: #005f8d;
}

#cancelReply {
  background: transparent;
  color: #777;
  border: 1px solid #ccc;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#cancelReply:hover {
  color: #444;
  border-color: #999;
}

#commentStatus {
  margin-top: 10px;
  font-style: italic;
  color: #444;
}


/* Like */
.like-btn {
  font-size: 1rem;
  padding: 0.5em 1em;
  background: none;
  border: 2px solid #888;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}
.like-btn.liked {
  color: #e74c3c;
  border-color: #e74c3c;
}

.like-btn-bottom {
  display: block;        /* Make it a block element so margin auto works */
  margin: 1em auto;      /* Center horizontally and add vertical spacing */
  max-width: 200px;      /* Optional: limit max width */
  text-align: center;    /* Center text inside button */
}
