/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.share-options-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.share-options-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  position: relative;
  max-width: 400px;
  width: 90%;
}

.share-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.share-buttons a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  border: 1px solid #eee;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

.share-buttons a:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
}

.share-buttons img {
  width: 24px;
  height: 24px;
  margin-bottom: 0.5rem;
}

.close-share {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

.restricted-message {
  text-align: center;
  padding: 3rem 1rem;
  background: #f8f9fa;
  border-radius: 10px;
  margin: 2rem 0;
}

.cta-buttons {
  margin-top: 2rem;
}

.cta-buttons .btn {
  margin: 0 0.5rem;
  display: inline-block;
}

.like-btn.liked {
  background: #e3f2fd;
  color: #1976d2;
}

.like-btn.liked img {
  filter: hue-rotate(200deg);
}

.share-btn.shared {
  background: #e8f5e8;
  color: #2e7d32;
}

.share-btn.shared img {
  filter: hue-rotate(120deg);
}

.share-options-popup {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.real-card .info .fav img {
  opacity: unset !important;
}

/* Comments Section Styles */
.comments-section {
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid #e9ecef;
}

.comments-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #161616;
  margin-bottom: 2rem;
  position: relative;
}

.comments-section h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #7c205f;
  border-radius: 2px;
}

/* WordPress Comments Area */
.comments-area {
  margin-top: 2rem;
}

.comments-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #161616;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #7c205f;
}

.comments-title span {
  color: #7c205f;
  font-style: italic;
}

/* Comment List Styles */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment-list .comment {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.comment-list .comment:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: #7c205f;
}

.comment-list .comment.odd {
  background: #f8f9fa;
}

.comment-list .comment.even {
  background: #ffffff;
}

/* Comment Body */
.comment-body {
  position: relative;
}

/* Comment Meta */
.comment-meta {
  margin-bottom: 1rem;
}

.comment-author {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.comment-author .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 1rem;
  border: 2px solid #7c205f;
}

.comment-author .fn {
  font-weight: 600;
  color: #7c205f;
  font-size: 1rem;
}

.comment-author .fn a {
  color: #7c205f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.comment-author .fn a:hover {
  color: #006a71;
  text-decoration: underline;
}

.comment-author .says {
  color: #6c757d;
  font-weight: normal;
  margin-left: 0.5rem;
}

/* Comment Metadata */
.comment-metadata {
  margin-left: 3rem;
  font-size: 0.875rem;
  color: #6c757d;
}

.comment-metadata a {
  color: #7c205f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.comment-metadata a:hover {
  color: #006a71;
  text-decoration: underline;
}

.comment-metadata .edit-link {
  margin-left: 1rem;
}

.comment-metadata .edit-link a {
  color: #6c757d;
  font-size: 0.8rem;
}

.comment-metadata .edit-link a:hover {
  color: #7c205f;
}

/* Comment Content */
.comment-content {
  margin: 1rem 0;
  color: #161616;
  line-height: 1.6;
  padding-left: 3rem;
}

.comment-content p {
  margin: 0 0 1rem 0;
}

.comment-content p:last-child {
  margin-bottom: 0;
}

/* Reply Link */
.reply {
  margin-top: 1rem;
  padding-left: 3rem;
}

.comment-reply-link {
  color: #7c205f;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid #7c205f;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: inline-block;
}

.comment-reply-link:hover {
  background: #7c205f;
  color: #ffffff;
  text-decoration: none;
}

/* Nested Comments */
.comment-list .children {
  list-style: none;
  padding-left: 2rem;
  margin-top: 1rem;
  border-left: 2px solid #e9ecef;
}

.comment-list .children .comment {
  background: #f8f9fa;
  border-color: #e9ecef;
}

.comment-list .children .comment:hover {
  border-color: #7c205f;
}

.comment-list .children .children .comment {
  background: #ffffff;
}

/* Comment Respond Form */
.comment-respond {
  margin-top: 3rem;
  padding: 2rem;
  background: #ffffff;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comment-reply-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #161616;
  margin-bottom: 1.5rem;
  position: relative;
}

.comment-reply-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #7c205f;
  border-radius: 1px;
}

.comment-reply-title small {
  font-size: 0.875rem;
  font-weight: normal;
}

.comment-reply-title small a {
  color: #7c205f;
  text-decoration: none;
  margin-left: 1rem;
}

.comment-reply-title small a:hover {
  color: #006a71;
  text-decoration: underline;
}

/* Comment Form */
.comment-form {
  display: grid;
  gap: 1.5rem;
}

.comment-form p {
  margin: 0;
}

.comment-form label {
  display: block;
  font-weight: 500;
  color: #161616;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.comment-form .required {
  color: #7c205f;
  font-weight: bold;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #161616;
  background: #ffffff;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: #7c205f;
  box-shadow: 0 0 0 3px rgba(124, 32, 95, 0.1);
}

.comment-form textarea {
  min-height: 120px;
  resize: vertical;
}

.comment-form .form-submit {
  text-align: right;
}

.comment-form .submit {
  background: #7c205f;
  color: #ffffff;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
  text-transform: capitalize;
}

.comment-form .submit:hover {
  background: #006a71;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 32, 95, 0.3);
}

/* Logged in user info */
.logged-in-as {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #7c205f;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.logged-in-as a {
  color: #7c205f;
  text-decoration: none;
  margin: 0 0.5rem;
}

.logged-in-as a:hover {
  color: #006a71;
  text-decoration: underline;
}

.required-field-message {
  color: #6c757d;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* Comment Navigation */
.comment-navigation {
  margin: 2rem 0;
  padding: 1rem 0;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.comment-navigation .nav-previous,
.comment-navigation .nav-next {
  display: inline-block;
}

.comment-navigation .nav-previous {
  float: left;
}

.comment-navigation .nav-next {
  float: right;
}

.comment-navigation a {
  color: #7c205f;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.comment-navigation a:hover {
  color: #006a71;
  text-decoration: underline;
}

/* Comments Closed Message */
.comments-closed {
  text-align: center;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 12px;
  color: #6c757d;
  font-style: italic;
}

/* Comment Moderation */
.comment-awaiting-moderation {
  background: #fff3cd;
  color: #856404;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  border-left: 4px solid #ffc107;
}

/* Responsive Design */
@media (max-width: 768px) {
  .comment-list .children {
    padding-left: 1rem;
  }

  .comment-list .comment {
    padding: 1rem;
  }

  .comment-respond {
    padding: 1.5rem;
  }

  .comment-navigation .nav-previous,
  .comment-navigation .nav-next {
    float: none;
    display: block;
    text-align: center;
    margin: 0.5rem 0;
  }

  .comment-author .avatar {
    width: 32px;
    height: 32px;
  }

  .comment-content,
  .reply,
  .comment-metadata {
    padding-left: 2rem;
  }
}
.resources-single .info .share .fav img {
  filter: unset !important;
}

/* User Listing Widget Styles */

.members-list .view_type {
  display: flex;
  gap: 8px;
  margin: 20px 0;
  justify-content: flex-start;
  align-items: center;
}

.members-list .view_type button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid #e9ecef;
  background-color: #f8f9fa;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
}

.members-list .view_type button:hover {
  background-color: #e9ecef;
  border-color: #dee2e6;
  color: #495057;
  transform: none;
  box-shadow: none;
}

.members-list .view_type button.active {
  background-color: #e3f2fd;
  color: #1976d2;
  border-color: #bbdefb;
  box-shadow: none;
}

.members-list .view_type button.active:hover {
  background-color: #e3f2fd;
  border-color: #bbdefb;
  transform: none;
}

.members-list .view_type button::before {
  content: "";
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.members-list .view_type button[data-view="table"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M3 3h18v2H3V3zm0 4h18v2H3V7zm0 4h18v2H3v-2zm0 4h18v2H3v-2z'/%3E%3C/svg%3E");
}

.members-list .view_type button[data-view="map"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
}

.members-list .shortcode-content > div {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.members-list .shortcode-content > div.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .members-list .g-head h3 {
    font-size: 1.5rem;
  }

  .members-list .view_type {
    flex-direction: column;
    gap: 8px;
  }

  .members-list .view_type button {
    width: 100%;
    max-width: 200px;
    justify-content: center;
  }
}

/*.abs-link{*/
/*    position: absolute;*/
/*    top: 0px;*/
/*    left: 0px;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*}*/

/* Members Directory Back Button */
.lcn-members-back {
  margin: 20px 0;
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
}

.lcn-members-back .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: #6c757d;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.lcn-members-back .btn:hover {
  background-color: #5a6268;
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lcn-error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 15px;
  border: 1px solid #f5c6cb;
  border-radius: 6px;
  margin: 20px 0;
}

/* News Archive Styles */
.news-categories-filter {
  margin: 30px 0;
  text-align: center;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.filter-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #f8f9fa;
  color: #333;
  text-decoration: none;
  border-radius: 25px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: #007cba;
  color: #fff;
  border-color: #007cba;
}

.news-pagination {
  margin: 40px 0;
  text-align: center;
}

.pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.pagination-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #f8f9fa;
  color: #333;
  text-decoration: none;
  border-radius: 25px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  font-weight: 500;
}

.pagination-btn:hover {
  background: #007cba;
  color: #fff;
  border-color: #007cba;
  text-decoration: none;
}

.pagination-btn img {
  width: 16px;
  height: 16px;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-dots {
  color: #6c757d;
  font-weight: bold;
  padding: 0 5px;
}

.pagination-info {
  color: #6c757d;
  font-size: 14px;
}

.pagination-info .current-info {
  font-weight: 600;
  color: #333;
}

.pagination-info .total-posts {
  margin-left: 10px;
}

.no-news-found {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.no-news-found p {
  font-size: 18px;
  margin: 0;
}

/* Minimal WordPress Pagination Styles */
.navigation.pagination {
  margin: 40px auto 0;
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navigation.pagination .screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.navigation.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  background: #ffffff;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  max-width: fit-content;
  margin: 0 auto;
}

.navigation.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #ffffff;
  color: #6c757d;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.navigation.pagination .page-numbers .page-number {
  transition: color 0.2s ease;
  background: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline !important;
  width: auto !important;
  height: auto !important;
  min-width: auto !important;
}

.navigation.pagination .page-numbers:hover {
  color: #7c205f;
  background: #f8f9fa;
  border-color: #7c205f;
  text-decoration: none;
}

.navigation.pagination .page-numbers.current {
  background: #7c205f;
  color: #ffffff;
  border-color: #7c205f;
  font-weight: 600;
}

.navigation.pagination .next.page-numbers,
.navigation.pagination .prev.page-numbers {
  background: #7c205f;
  color: #ffffff;
  border-color: #7c205f;
  font-weight: 500;
  gap: 6px;
  min-width: auto;
  padding: 0 16px;
}

.navigation.pagination .next.page-numbers:hover,
.navigation.pagination .prev.page-numbers:hover {
  background: #5a1a47;
  border-color: #5a1a47;
  color: #ffffff;
  text-decoration: none;
}

.navigation.pagination .next.page-numbers img,
.navigation.pagination .prev.page-numbers img {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
  filter: brightness(0) invert(1);
}

.navigation.pagination .next.page-numbers:hover img {
  transform: translateX(2px);
}

.navigation.pagination .prev.page-numbers:hover img {
  transform: translateX(-2px);
}

/* Dots styling */
.navigation.pagination .page-numbers.dots {
  background: transparent;
  color: #adb5bd;
  cursor: default;
  font-weight: bold;
  font-size: 16px;
  min-width: auto;
  padding: 0 6px;
}

.navigation.pagination .page-numbers.dots:hover {
  transform: none;
  box-shadow: none;
  background: transparent;
  color: #adb5bd;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }

  .filter-btn {
    width: 100%;
    max-width: 300px;
  }

  .pagination-wrapper {
    flex-direction: column;
    gap: 10px;
  }

  .navigation.pagination .nav-links {
    padding: 12px 16px;
    gap: 3px;
  }

  .navigation.pagination .page-numbers {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
    padding: 0 8px;
  }

  .navigation.pagination .next.page-numbers,
  .navigation.pagination .prev.page-numbers {
    padding: 0 12px;
    font-size: 13px;
  }

  .navigation.pagination .next.page-numbers img,
  .navigation.pagination .prev.page-numbers img {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .navigation.pagination .nav-links {
    padding: 10px 12px;
    gap: 2px;
  }

  .navigation.pagination .page-numbers {
    min-width: 32px;
    height: 32px;
    font-size: 12px;
    padding: 0 6px;
  }

  .navigation.pagination .next.page-numbers,
  .navigation.pagination .prev.page-numbers {
    padding: 0 10px;
    font-size: 12px;
  }
}

/* Find Your People Widget Styles */
.people-link {
  color: #000000 !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.people-link:hover {
  color: #333333 !important;
  text-decoration: none;
}

.people-link img {
  transition: opacity 0.3s ease;
}

.people-link:hover img {
  opacity: 0.8;
}

/* Resources Taxonomy Archive Styles */
.resources-archive {
  margin-top: 2rem;
}

.page-header {
  margin-bottom: 20px;
  margin-top: 80px;
  @media (max-width: 768px) {
    margin-block: 10px 0;
  }
}

.page-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  display: flex;
  flex-direction: column;
  gap: 5px;
  @media (max-width: 768px) {
    font-size: 16px;
  }
}

.tag-name {
  color: #7d205e;
}

.page-description {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 0;
}

.resource-list {
  margin-bottom: 3rem;
}

/* Pagination styles are handled by the existing .navigation.pagination styles above */

.no-results {
  text-align: center;
  padding: 3rem 0;
  color: #666;
}

.no-results p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.no-results .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #007cba;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.no-results .btn:hover {
  background-color: #005a87;
  color: white;
}
