
/* ==========================================
   BCPLAYPOKER — AUTHOR PROFILE
   Full stylesheet
========================================== */

/* GENERAL */

.author-page {
  --author-bg: #292d2e;
  --author-inner: #222627;
  --author-hover: #343a3b;
  --author-green: #24ee89;
  --author-text: #d7dddd;
  --author-border: rgba(255, 255, 255, 0.08);

  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px 70px;
  color: #ffffff;
}

.author-page,
.author-page * {
  box-sizing: border-box;
}

.author-page section {
  margin-bottom: 28px;
}

/* ==========================================
   AUTHOR HERO
========================================== */

.author-page .author-hero {
  display: flex;
  align-items: center;
  gap: 44px;
  margin-bottom: 28px;
  padding: 40px;

  background: linear-gradient(
    135deg,
    #303536 0%,
    #292d2e 60%,
    #25292a 100%
  );

  border: 1px solid rgba(36, 238, 137, 0.28);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.author-page .author-hero__photo {
  flex-shrink: 0;
}

.author-page .author-hero__photo img {
  display: block;
  width: 280px;
  height: 340px;
  max-width: none;
  object-fit: cover;
  object-position: center top;

  border-radius: 16px;
  border: 3px solid var(--author-green);
  box-shadow: 0 0 0 5px rgba(36, 238, 137, 0.08);
}

.author-page .author-hero__body {
  min-width: 0;
  flex: 1;
}

.author-page .author-hero h1 {
  margin: 0 0 14px;
  padding: 0;

  font-size: 46px;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
}

/* JOB TITLE */

.author-page .author-job {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 16px;

  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;

  color: var(--author-green);
  background: rgba(36, 238, 137, 0.08);
  border: 1px solid rgba(36, 238, 137, 0.24);
  border-radius: 999px;
}

/* SHORT BIO */

.author-page .author-lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--author-text);
}

/* ==========================================
   MAIN SECTION CARDS
========================================== */

.author-page .author-about,
.author-page .author-career,
.author-page .author-expertise,
.author-page .author-credentials,
.author-page .author-method,
.author-page .author-posts,
.author-page .author-contacts {
  background: var(--author-bg);
  padding: 30px 34px;

  border: 1px solid var(--author-border);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* SECTION HEADINGS */

.author-page h2 {
  display: flex;
  align-items: center;
  gap: 12px;

  margin: 0 0 22px;
  padding: 0;

  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

.author-page h2::before {
  content: "";
  display: block;
  flex-shrink: 0;

  width: 5px;
  height: 26px;

  background: var(--author-green);
  border-radius: 3px;
}

/* GENERAL TEXT */

.author-page p,
.author-page li {
  font-size: 17px;
  line-height: 1.8;
  color: var(--author-text);
}

.author-page ul {
  margin: 0;
  padding-left: 20px;
}

.author-page a {
  color: var(--author-green);
  text-decoration: none;
}

.author-page a:hover {
  text-decoration: underline;
}

/* ==========================================
   ABOUT
========================================== */

.author-page .author-about p {
  margin: 0 0 16px;
}

.author-page .author-about p:last-child {
  margin-bottom: 0;
}

/* ==========================================
   PROFESSIONAL BACKGROUND
   Timeline
========================================== */

.author-page .author-career ul {
  position: relative;
  list-style: none;
  padding: 0;
}

.author-page .author-career ul::before {
  content: "";
  position: absolute;

  left: 7px;
  top: 10px;
  bottom: 10px;

  width: 2px;
  background: rgba(36, 238, 137, 0.28);
}

.author-page .author-career li {
  position: relative;
  display: grid;

  grid-template-columns: 140px 1fr;
  gap: 20px;

  padding: 0 0 22px 38px;
}

.author-page .author-career li:last-child {
  padding-bottom: 0;
}

.author-page .author-career li::before {
  content: "";
  position: absolute;

  left: 0;
  top: 8px;

  width: 16px;
  height: 16px;

  background: var(--author-bg);
  border: 3px solid var(--author-green);
  border-radius: 50%;
}

.author-page .author-career__period {
  font-weight: 700;
  color: var(--author-green);
}

.author-page .author-career__role strong {
  display: block;
  color: #ffffff;
}

.author-page .author-career__role span {
  display: block;
  color: var(--author-text);
}

/* ==========================================
   AREAS OF EXPERTISE
========================================== */

.author-page .author-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  list-style: none;
  padding: 0;
}

.author-page .author-tags li {
  padding: 8px 18px;

  font-size: 15px;
  line-height: 1.4;
  color: #e8f2ed;

  background: rgba(36, 238, 137, 0.07);
  border: 1px solid rgba(36, 238, 137, 0.30);
  border-radius: 999px;

  transition: background 0.2s ease;
}

.author-page .author-tags li:hover {
  background: rgba(36, 238, 137, 0.12);
}

/* ==========================================
   EDUCATION AND CREDENTIALS
========================================== */

.author-page .author-credentials p {
  margin: 0 0 12px;
  padding: 16px 20px;

  background: var(--author-inner);
  border-left: 4px solid var(--author-green);
  border-radius: 10px;

  color: var(--author-text);
}

.author-page .author-credentials p:last-child {
  margin-bottom: 0;
}

/* ==========================================
   CONTENT APPROACH
========================================== */

.author-page .author-method p {
  margin: 0 0 16px;
}

.author-page .author-method ul {
  display: grid;
  gap: 12px;

  list-style: none;
  padding: 0;
}

.author-page .author-method li {
  position: relative;
  padding: 14px 18px 14px 56px;

  background: var(--author-inner);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 10px;

  color: var(--author-text);
}

.author-page .author-method li::before {
  content: "\2713";
  position: absolute;

  left: 18px;
  top: 50%;

  width: 24px;
  height: 24px;
  margin-top: -12px;

  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;

  color: #1b2220;
  background: var(--author-green);
  border-radius: 50%;
}

/* ==========================================
   PUBLISHED MATERIALS
========================================== */

.author-page .author-list {
  display: grid;
  gap: 10px;

  list-style: none;
  padding: 0;
}

.author-page .author-list li {
  margin: 0;
  padding: 0;
}

.author-page .author-list a {
  display: block;
  padding: 14px 18px;

  background: var(--author-inner);
  border: 1px solid transparent;
  border-radius: 10px;

  font-size: 16px;
  color: var(--author-green);
  text-decoration: none;

  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.author-page .author-list a::after {
  content: " \2192";
  color: var(--author-green);
}

.author-page .author-list a:hover {
  background: var(--author-hover);
  border-color: rgba(36, 238, 137, 0.20);
  color: var(--author-green);
  text-decoration: none;
}

/* ==========================================
   CONTACT
========================================== */

.author-page .author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  list-style: none;
  padding: 0;
}

.author-page .author-links li {
  margin: 0;
  padding: 0;
}

.author-page .author-links a {
  display: inline-block;
  padding: 10px 22px;

  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;

  color: var(--author-green);
  background: transparent;
  border: 1px solid var(--author-green);
  border-radius: 10px;

  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.author-page .author-links a:hover {
  color: #1b2220;
  background: var(--author-green);
  text-decoration: none;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 768px) {

  .author-page {
    padding: 30px 16px 50px;
  }

  .author-page .author-hero {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 28px 22px;
    text-align: center;
  }

  .author-page .author-hero__photo img {
    width: 220px;
    height: 270px;
  }

  .author-page .author-hero h1 {
    font-size: 32px;
  }

  .author-page .author-lead {
    font-size: 16px;
  }

  .author-page .author-about,
  .author-page .author-career,
  .author-page .author-expertise,
  .author-page .author-credentials,
  .author-page .author-method,
  .author-page .author-posts,
  .author-page .author-contacts {
    padding: 24px 20px;
  }

  .author-page h2 {
    font-size: 22px;
  }

  .author-page p,
  .author-page li {
    font-size: 16px;
  }

  .author-page .author-career li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .author-page .author-tags {
    justify-content: center;
  }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 480px) {

  .author-page {
    padding: 24px 12px 40px;
  }

  .author-page .author-hero {
    padding: 24px 18px;
    gap: 20px;
    border-radius: 14px;
  }

  .author-page .author-hero__photo img {
    width: 180px;
    height: 220px;
    border-radius: 12px;
  }

  .author-page .author-hero h1 {
    font-size: 28px;
  }

  .author-page .author-job {
    font-size: 13px;
    padding: 6px 12px;
  }

  .author-page .author-lead {
    font-size: 15px;
    line-height: 1.65;
  }

  .author-page .author-about,
  .author-page .author-career,
  .author-page .author-expertise,
  .author-page .author-credentials,
  .author-page .author-method,
  .author-page .author-posts,
  .author-page .author-contacts {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .author-page h2 {
    font-size: 20px;
    gap: 10px;
  }

  .author-page h2::before {
    height: 22px;
    width: 4px;
  }

  .author-page .author-career li {
    padding-left: 30px;
  }

  .author-page .author-tags {
    gap: 8px;
  }

  .author-page .author-tags li {
    padding: 7px 12px;
    font-size: 13px;
  }

  .author-page .author-method li {
    padding: 12px 12px 12px 44px;
    font-size: 14px;
  }

  .author-page .author-method li::before {
    left: 12px;
  }

  .author-page .author-list a {
    padding: 12px 14px;
    font-size: 14px;
  }

  .author-page .author-links a {
    padding: 9px 16px;
    font-size: 13px;
  }
}

