/*
Theme Name: Coinflip Child
Theme URI: https://coinflip.modeltheme.com/
Template: coinflip
Author: ModelTheme
Author URI: http://modeltheme.com/
Description: Casino Affiliate WordPress Theme
Version: 3.9.2
Text Domain: coinflip
Tags: custom-header, custom-menu, featured-images, post-formats, sticky-post
*/
/* Theme customization starts here
------------------------------------------------------- */
/* --- Author page styles (moved from author.php) --- */
.author-wrap {
  max-width: 1140px;
  margin: 48px auto;
  padding: 0 20px 80px;
  box-sizing: border-box;
}

.author-detail {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.author-avatar {
  width: 100%;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

.author-avatar--empty {
  background: #f4f6f8;
  height: 300px;
  border-radius: 10px;
}

/* left column info */
.author-left__info {
  margin-top: 16px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: #444;
}
.author-left__info li {
  margin-bottom: 10px;
}

/* specialties pills */
.author-left__specialties { margin-top: 14px; }
.specialties { margin-top: 8px; }
.ap-specialty-pill {
  display: inline-block;
  margin: 6px 8px 0 0;
  padding: 8px 12px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  font-weight: 600;
  font-size: 13px;
  color: #111;
}

/* right column */
.author-right h1 { font-size: 36px; margin: 0 0 6px; }
.author-right .job-title { color: #6b7280; font-weight: 600; margin: 6px 0 18px; }
.author-right .bio { font-size: 16px; line-height: 1.85; color: #333; }

/* expertise box */
.author-right .expertise { margin-top: 18px; background: #f8fafc; padding: 14px; border-radius: 8px; }
.expertise-content ul { margin: 12px 0 0; padding-left: 20px; }
.expertise-content li { margin-bottom: 10px; line-height: 1.6; }
.expertise-content strong { color: #111; }

/* social links */
.social-links { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,.08);
  text-decoration: none;
  color: #0b6de0;
  background: #fff;
  font-weight: 700;
}

/* posts grid */
.author-posts h2 { margin: 36px 0 16px; font-size: 22px; }
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.post-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.post-card img { width: 100%; height: 160px; object-fit: cover; border-radius: 6px; }
.post-card__placeholder { background: #f4f6f8; height: 160px; border-radius: 6px; }
.post-card h3 { font-size: 16px; margin: 10px 0; }
.post-card p { font-size: 14px; color: #6b7280; }

/* responsive */
@media (max-width: 900px) {
  .author-detail { grid-template-columns: 1fr; }
  .author-avatar--empty { height: 220px; }
}