/* =====================================================
   Post Meta & Share Button
===================================================== */
.post-meta {
  font-size: 14px;
  color: #4d4d4d;
  margin: 5px 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  top: 0;
}

.post-meta span {
  margin: 0px 2px;
}

#shareBtn {
  position: absolute;
  right: 0;
  height: 20px;
  width: 20px;
  padding: 4px;
  font-size: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid gray;
  border-radius: 5px;
  color: black;
  background-color: rgb(240, 240, 240);
  transition: all 0.2s ease;
}

#shareBtn:hover {
  color: rgba(255, 255, 255, 0.945);
  background-color: #2563eb;
  border: none;
}


/* =====================================================
   Share Modal & Buttons
===================================================== */
.share-btn {
  padding: 6px 12px;
  border: 0;
  background: #2563eb;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.share-btn {
  padding: 3px;
  border: 1px solid gray;
  color: black;
  background-color: rgb(240, 240, 240);
  transition: all 0.2s ease;
}

.share-btn:hover {
  color: white;
  background-color: #2563eb;
  border-color: rgba(255, 255, 255, 0.945);
}

.share-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.share-box {
  background: #fff;
  width: 90%;
  max-width: 420px;
  border-radius: 10px;
  padding: 20px;
  position: relative;
}

.share-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 22px;
  cursor: pointer;
}


/* =====================================================
   Share Grid & Social Icons
===================================================== */
.share-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 15px 0;
}

.share-grid a {
  text-align: center;
  padding: 8px;
  background: #f3f4f6;
  border-radius: 50px;
  font-size: 15px;
  border: 2px solid;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
}

/* Social Colors */
.share-facebook  { color: #1877F2; border-color: #1877F2; }
.share-x         { color: #000000; border-color: #000000; }
.share-whatsapp  { color: #25D366; border-color: #25D366; }
.share-telegram  { color: #0088CC; border-color: #0088CC; }
.share-pinterest { color: #E60023; border-color: #E60023; }
.share-linkedin  { color: #0A66C2; border-color: #0A66C2; }
.share-reddit    { color: #FF4500; border-color: #FF4500; }
.share-email     { color: #6B7280; border-color: #6B7280; }

/* Hover States */
.share-facebook:hover  { color: #fff; background: #1877F2; }
.share-x:hover         { color: #fff; background: #000000; }
.share-whatsapp:hover  { color: #fff; background: #25D366; }
.share-telegram:hover  { color: #fff; background: #0088CC; }
.share-pinterest:hover { color: #fff; background: #E60023; }
.share-linkedin:hover  { color: #fff; background: #0A66C2; }
.share-reddit:hover    { color: #fff; background: #FF4500; }
.share-email:hover     { color: #fff; background: #6B7280; }


/* =====================================================
   Share Copy Input
===================================================== */
.share-copy {
  display: flex;
  gap: 6px;
}

.share-copy input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.share-copy button {
  padding: 8px 12px;
  border: 0;
  background: #010203;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}


/* =====================================================
   Breadcrumb
===================================================== */

/* =====================================================
   Category Section
===================================================== */
.wsf-category-wrapper {
  background: #ffffff;
  font-family: Arial, sans-serif;
  margin-top: 20px;
}

.wsf-category-title {
  font-size: 17px;
  border-bottom: 2px solid #00aaff;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.wsf-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wsf-category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
}

.wsf-category-link {
  text-decoration: none;
  color: #222;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wsf-category-arrow,
.wsf-category-count {
  color: #1e88e5;
}

.wsf-category-count {
  font-size: 14px;
}


/* =====================================================
   Download Section
===================================================== */
.wsf-download-section {
  padding: 20px;
  margin-bottom: 30px;
}

.wsf-download-section h2 {
  font-size: 28px;
  margin-bottom: 6px;
}

.wsf-subtext {
  color: #555;
  margin-bottom: 24px;
  font-size: 15px;
}

.wsf-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.wsf-download-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 14px;
  text-decoration: none;
  background: #f8f9fb;
  color: #111;
  border: 1px solid #eee;
  transition: all 0.2s ease;
}

.wsf-download-card span {
  font-size: 24px;
}

.wsf-download-card strong {
  display: block;
  font-size: 16px;
}

.wsf-download-card small {
  font-size: 13px;
  color: #666;
}

.wsf-download-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

/* Card Themes */
.wsf-download-card.primary    { background: #eef3ff; }
.wsf-download-card.github     { background: #f5f5f5; }
.wsf-download-card.drive      { background: #ecfdf3; }
.wsf-download-card.mega       { background: #fff0f0; }
.wsf-download-card.mediafire  { background: #eef7ff; }


/* =====================================================
   Recent Posts
===================================================== */
.recent-posts {
  margin: 2px;
}

.recent-posts-title {
  font-size: 17px;
  border-bottom: 2px solid #00aaff;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.recent-posts-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.recent-post {
  margin-top: 20px;
  background: #f9fafb;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 1px 1px 4px gray;
  transition: transform 0.2s ease;
}

.recent-post:hover {
  transform: translateY(-2px);
}

.recent-post a {
  flex-direction: column;
  padding: 0;
}

.recent-post img {
  width: 100%;
  height: 140px;
  border-radius: 0;
}

.recent-post-content {
  padding: 12px;
}

.recent-post-heading {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 4px;
}

.recent-post-meta {
  font-size: 0.75rem;
  opacity: 0.7;
}


/* =====================================================
   Search Section
===================================================== */
.wsf-search-wrapper {
  background: #ffffff;
  padding: 8px 0px;
  font-family: Arial, sans-serif;
}

.wsf-search-title {
  font-size: 17px;
  border-bottom: 2px solid #00aaff;
  padding-bottom: 5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.wsf-search-input {
  width: 90%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
}

.wsf-search-input:focus {
  border-color: #1e88e5;
}

.wsf-search-results {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.wsf-search-item {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.wsf-search-link {
  text-decoration: none;
  font-size: 14px;
  color: #222;
}

.wsf-search-link:hover {
  color: #1e88e5;
}


/* =====================================================
   Social Buttons
===================================================== */
.fb  { background: #1877f2; }
.tw  { background: #333; }
.tik { background: #000; }
.gp  { background: #e60023; }
.yt  { background: linear-gradient(45deg, #ff0000, #c4302b); }
.in  { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.social {
  width: 100%;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}

.social-inner {
  width: 100%;
  display: flex;
  flex-direction: row;
}

.social a {
  display: flex;
  padding: 10px;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 14px;
  margin: 4px 5px;
  width: 46%;
  border-radius: 2px;
}
