/* ========================= AUTHOR PAGE – CORE RESET ========================= */
.author-template { background: #f6f8fb; overflow-x: hidden; }
.author-template .container-md { max-width: 980px; }
/* ========================= HERO SECTION ========================= */

.author-template .author-hero { background: linear-gradient(180deg, #dff1ff 0%, #eef7ff 100%); padding: 30px; position: relative; }
.author-template .author-section { display: flex; justify-content: center; }
.author-template .author { background: #ffffff; border-radius: 16px; padding: 20px 24px; display: flex; gap: 20px; align-items: center; width: 100%; max-width: 720px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08); }
/* ========================= AUTHOR IMAGE (LCP) ========================= */

.author-template .author-profile { flex-shrink: 0; }
.author-template .author-profile img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; background: #f0f0f0; }
/* ========================= AUTHOR INFO ========================= */

.author-template .about-author { display: flex; flex-direction: column; gap: 6px; }
.author-template .author-name { font-size: 20px; font-weight: 700; margin: 0; }
.author-position { font-size: 14px; color: #475569; margin: 0; }
/* ========================= SOCIAL ICONS ========================= */

.author-template .author-follow { margin-top: 10px; }
.author-template .social-media-list { display: flex; gap: 12px; padding: 0; margin: 0; list-style: none; }
.author-template .social-media-list a { width: 36px; height: 36px; background: #f1f5f9; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s ease, transform 0.2s ease; }
.author-template .social-media-list a:hover { background: var(--hr-primary-color); color: #ffffff; transform: translateY(-2px); }
.author-template .social-media-list svg { width: 18px; height: 18px; }
/* ========================= CONTENT SECTION ========================= */

.author-template .author-content { padding: 30px 0; background: #ffffff; }
.author-template .author-content .content { max-width: 820px; margin: auto; }
.author-template .author-content h2 { font-size: 24px; margin-bottom: 12px;  }
.author-template .author-content p { font-size: 16px; line-height: 1.65; color: #334155; margin-bottom: 14px; text-align: left; }
/* ========================= SECTION HEADING ========================= */

.author-template .author-content h3,
.author-template .author-content .title { font-size: 22px; font-weight: 700; margin-top: 32px; margin-bottom: 12px; }
/* ========================= BLOG SECTION ========================= */

.blog-container { background: #f8fafc; padding: 48px 0; }
.blog-container .elementor-heading-title { font-size: 26px; font-weight: 700; text-align: center; margin-bottom: 32px; }
/* ========================= PERFORMANCE BOOSTS ========================= */

@media (max-width: 768px) {
  .author-template .author { flex-direction: row; padding: 16px; gap: 16px; }
  .author-template .author-profile img { width: 80px; height: 80px; }
  .author-template .author-name { font-size: 18px; }
  .author-template .author-content { padding: 32px 0; }
  .author-template .author-content p { font-size: 15px; }
  /* Reduce paint cost */
  .blog-container { content-visibility: auto; contain-intrinsic-size: 800px; }
}


@media (max-width: 450px) {
	.author-template .author{ flex-direction: column; justify-content: center; align-items: center; }
	.author-template .about-author{ align-items: center; }
}

@media (min-width: 1024px) {
  .author-template .author { padding: 28px 32px; }
  .author-template .author-profile img { width: 120px; height: 120px; }
  .author-template .author-name { font-size: 22px; }
}
