/*
 Theme Name:   Simple Blog
 Theme URI:    https://roshkart.com
 Description:  A smooth, fast, and SEO-friendly child theme for GeneratePress.
 Author:       Roshkart
 Author URI:   https://www.roshkart.com
 Template:     generatepress
 Version:      1.0
 Text Domain:  roshbyte
*/

/*Social Share*/
.roshkart-social-wrapper {
    margin: 5px;
    font-size: 0;
    text-align: center;
	display: flex;
    flex-wrap: wrap;
}
.roshkart-social-sharing {
	padding: 8px;
	margin: 4px;
	border-radius: 3px;
    flex: 1;
    transition: background-color 0.3s, transform 0.3s, color 0.3s;
}

}
@media only screen and (max-width: 600px) {
    .roshkart-social-sharing {
		display: inline-block;
    }
}
.roshkart-social-sharing svg {
    position: relative;
    top: 0.15em;
    display: inline-block;
}
.roshkart-social-facebook {
    fill: #fff;
    background-color: rgba(59, 89, 152, 1);
}
.roshkart-social-twitter {
    fill: #fff;
    background-color: rgba(0, 0, 0);
}
.roshkart-social-whatsapp {
    fill: #fff;
    background-color: rgba(37, 211, 102, 1);
}
.roshkart-social-telegram {
    fill: #fff;
    background-color: rgb(2, 126, 189);
}
.roshkart-social-more {
    fill: #fff;
    background-color: rgba(0, 0, 0);
}

/* WhatsApp Button */
.gp-follow-btn.whatsapp {
  border-color: #25D366;
  color: #25D366;
}

.gp-follow-btn.whatsapp:hover {
  background: #25D366;
  color: #fff;
}

/* Telegram Button */
.gp-follow-btn.telegram {
  border-color: #0088cc;
  color: #0088cc;
}

.gp-follow-btn.telegram:hover {
  background: #0088cc;
  color: #fff;
}

/* Thoda aur modern look */
.gp-social-follow {
  margin-top: 25px;
}


/* 1. Google Follow Buttons */
.gp-follow-wrap {
  margin: 15px 0;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.gp-follow-btn {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.2s ease;
  border: 2px solid #1a73e8;
  color: #1a73e8;
  background: #fff;
  white-space: nowrap;
}

.gp-follow-btn.add {
  border-color: #34a853;
  color: #34a853;
}

.gp-follow-btn:hover {
  background: #9390fc;
  color: #fff;
}

.gp-follow-btn.add:hover {
  background: #34a853;
  color: #fff;
}

/* Google colors */
.gp-follow-btn span { font-weight: 700; }
.gp-follow-btn .g   { color: #4285F4; }
.gp-follow-btn .o1  { color: #DB4437; }
.gp-follow-btn .o2  { color: #F4B400; }
.gp-follow-btn .l   { color: #4285F4; }
.gp-follow-btn .e   { color: #DB4437; }
.gp-follow-btn .n   { color: #0F9D58; }

/* 2. Mobile Navigation (Horizontal Scroll) */
@media (max-width: 768px) {
  .menu-toggle {
    display: none !important;
  }

  .main-navigation {
    display: block !important;
  }

  .main-navigation .main-nav {
    overflow-x: auto;
  }

  .main-navigation .main-nav > ul {
    display: inline-flex !important;
    flex-wrap: nowrap;
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 8px;
    -webkit-overflow-scrolling: touch;
  }

  .main-navigation .main-nav > ul::-webkit-scrollbar {
    display: none;
  }

  .main-navigation .main-nav > ul > li {
    flex: 0 0 auto;
  }    
  
  .site-header .header-widget {
        margin-top: 0;
    }
}

/* 3. Typography & Spacing */
.inside-right-sidebar ol {
  padding-left: 20px;
}

#nav-below {
  display: none;
}

.main-navigation .main-nav ul li a {
  line-height: 40px;
}

.inside-header {
  padding: 15px 20px;
}

.entry-meta {
  font-size: 13px;
  margin-bottom: 10px;
}

.cat-links,
.tags-links {
  font-size: 15px;
  margin-bottom: 0;
}

.creds p {
  margin-bottom: 0;
}

ol,
ul {
  margin: 0 0 1em 1em;
}

.widget-area .widget,
.separate-containers .comments-area,
.separate-containers .inside-article {
  padding: 20px;
}

/* Mobile Follow Buttons Polish */
@media (max-width: 768px) {
  .gp-follow-wrap {
    flex-direction: column;
    align-items: center;
  }

  .gp-follow-btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}

/* 4. Animations & Badges */
.roshkart-nb::after {
  content: " NEW";
  display: inline-block;
  background: red;
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 0 6px;
  border-radius: 3px;
  margin-left: 5px;
}

.roshkart-up::before {
  content: "UPDATE";
  color: #0065c5;
  font-size: 18px;
  font-weight: 500;
  background-color: #e6e8ed;
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  margin-right: 8px;
}

/* 5. Article Layout */
.separate-containers .inside-article > .featured-image {
  margin-bottom: 1em;
}

/* 6. Related Articles */
.related-articles ul {
  list-style: none;
  padding: 0;
}

.related-articles li {
  margin: 8px 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}

.related-number {
  background: #0073e6;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: bold;
  margin-right: 8px;
}

.related-articles h3 {
  display: flex;
  align-items: center;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin: 20px 0;
}

.related-articles h3::before,
.related-articles h3::after {
  content: "";
  flex: 1;
  border-bottom: 2px solid #ccc;
  margin: 0 10px;
}

.related-articles ol,
.related-articles ul {
  margin: 0;
}