/* =============================================================
   Talentis — single.css
   Article single post template
   ============================================================= */

/* ── Hero ── */
.ta-hero {
  background: #0f1941;
  padding: 64px 0 0;
  position: relative;
  overflow: hidden;
}

.ta-hero::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 35%;
  background: linear-gradient(90deg, #0f1941 0%, rgba(15, 25, 65, 0.6) 100%);
  z-index: 1;
}

.ta-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

/* ── Breadcrumb ── */
.ta-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px;
  font-family: "Inter", sans-serif;
}

.ta-breadcrumb a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.15s;
}

.ta-breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.ta-breadcrumb span {
  color: rgba(255, 255, 255, 0.2);
}

/* ── Category tag ── */
.ta-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  font-family: "Inter", sans-serif;
}

.ta-cat-tag::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
}

/* ── Heading ── */
.ta-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 28px;
  max-width: 760px;
  font-family: "Inter", sans-serif;
}

/* ── Meta ── */
.ta-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-family: "Inter", sans-serif;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.ta-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── Body layout ── */
.ta-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 80px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}

/* ── Main content ── */
.ta-main {
  padding-top: 52px;
}

.ta-main p {
  font-size: 17px;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 20px;
  font-family: "Inter", sans-serif;
}

.ta-main h2 {
  font-size: 24px;
  font-weight: 600;
  color: #0f1941;
  margin: 40px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #2175d9;
  display: inline-block;
  letter-spacing: -0.02em;
  font-family: "Inter", sans-serif;
}

.ta-main h3 {
  font-size: 20px;
  font-weight: 500;
  color: #0f1941;
  margin: 32px 0 12px;
  letter-spacing: -0.02em;
  font-family: "Inter", sans-serif;
}

.ta-main ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.ta-main ul li {
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
  padding: 7px 0 7px 22px;
  border-bottom: 0.5px solid #f3f4f6;
  position: relative;
  font-family: "Inter", sans-serif;
}

.ta-main ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #2175d9;
  font-size: 12px;
  top: 10px;
}

.ta-main ol {
  padding-left: 22px;
  margin: 0 0 20px;
}

.ta-main ol li {
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 8px;
  font-family: "Inter", sans-serif;
}

.ta-main strong {
  color: #0f1941;
  font-weight: 600;
}

.ta-main blockquote {
  border-left: 3px solid #2175d9;
  margin: 28px 0;
  padding: 16px 24px;
  background: #f0f6ff;
  font-size: 17px;
  font-style: italic;
  color: #374151;
  font-family: "Inter", sans-serif;
}

/* ── Article footer ── */
.ta-article-footer {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.ta-back-link {
  font-size: 14px;
  color: #2175d9;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ta-back-link:hover {
  text-decoration: underline;
}

.ta-share {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #9ca3af;
  font-family: "Inter", sans-serif;
}

.ta-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.15s;
}

.ta-share a:hover {
  background: #0f1941;
  color: #fff;
  border-color: #0f1941;
}

/* ── Talentis CTA box ── */
.ta-cta-box {
  margin-top: 40px;
  padding: 28px 32px;
  background: #0f1941;
  position: relative;
  overflow: hidden;
}

.ta-cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #2175d9;
}

.ta-cta-box-title {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  font-family: "Inter", sans-serif;
}

.ta-cta-box-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 20px;
  font-family: "Inter", sans-serif;
}

.ta-cta-box a.btn {
  display: inline-flex;
  padding: 11px 24px;
  background: #2175d9;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  margin-right: 10px;
  margin-bottom: 8px;
  transition: background 0.2s;
}

.ta-cta-box a.btn:hover {
  background: #1560bb;
}

.ta-cta-box a.btn-ghost {
  display: inline-flex;
  padding: 11px 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  margin-bottom: 8px;
  transition: border-color 0.2s;
}

.ta-cta-box a.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

/* ── Sidebar ── */
.ta-sidebar {
  padding-top: 52px;
  position: sticky;
  top: 90px;
}

.ta-sidebar-section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e5e7eb;
}

.ta-sidebar-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.ta-sidebar-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-bottom: 16px;
  font-family: "Inter", sans-serif;
}

/* ── Related articles ── */
.ta-related-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 0.5px solid #f3f4f6;
  gap: 4px;
}

.ta-related-item:last-child {
  border-bottom: none;
}

.ta-related-cat {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2175d9;
  font-family: "Inter", sans-serif;
}

.ta-related-title {
  font-size: 14px;
  color: #0f1941;
  line-height: 1.35;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}

.ta-related-item:hover .ta-related-title {
  color: #2175d9;
}

/* ── Contact sidebar box ── */
.ta-contact-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-top: 2px solid #2175d9;
  padding: 20px;
}

.ta-contact-box-title {
  font-size: 14px;
  font-weight: 500;
  color: #0f1941;
  margin-bottom: 6px;
  font-family: "Inter", sans-serif;
  letter-spacing: -0.01em;
}

.ta-contact-box-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 14px;
  font-family: "Inter", sans-serif;
}

.ta-contact-box a {
  display: block;
  padding: 10px 16px;
  background: #0f1941;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  text-align: center;
  transition: background 0.2s;
  margin-bottom: 8px;
}

.ta-contact-box a:hover {
  background: #2175d9;
}

.ta-contact-box a.ghost {
  background: transparent;
  border: 1px solid #e5e7eb;
  color: #374151;
  margin-bottom: 0;
}

.ta-contact-box a.ghost:hover {
  border-color: #0f1941;
  background: #0f1941;
  color: #fff;
}

/* ── Topics ── */
.ta-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ta-topic {
  padding: 5px 12px;
  border: 1px solid #e5e7eb;
  font-size: 12px;
  color: #374151;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  transition: all 0.15s;
}

.ta-topic:hover {
  background: #0f1941;
  color: #fff;
  border-color: #0f1941;
}

/* ── Newsletter sidebar ── */
.ta-nl-input {
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  font-size: 13px;
  font-family: "Inter", sans-serif;
  outline: none;
  width: 100%;
  transition: border-color 0.15s;
}

.ta-nl-input:focus {
  border-color: #2175d9;
}

.ta-nl-btn {
  padding: 10px 16px;
  background: #0f1941;
  color: #fff;
  border: none;
  font-size: 13px;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  width: 100%;
  font-weight: 500;
  transition: background 0.2s;
  margin-top: 6px;
}

.ta-nl-btn:hover {
  background: #2175d9;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .ta-hero {
    padding-top: 40px;
  }

  .ta-hero::before {
    display: none;
  }

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

  .ta-body {
    grid-template-columns: 1fr;
    padding: 0 24px 60px;
    gap: 0;
  }

  .ta-main {
    padding-top: 32px;
  }

  .ta-sidebar {
    padding-top: 0;
    position: static;
    border-top: 1px solid #e5e7eb;
    margin-top: 40px;
  }

  .ta-hero-inner {
    padding: 0 24px;
  }
}
