/* TAGS */
.ta-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ta-tags span {
  color: #bf5608;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255, 122, 24, 0.1);
}


/* TITLE */
.ta-blog-title {
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.25;
  font-weight: 600;
  margin-bottom: 28px;
}

.ta-blog-title span {
  color: #ff7a18;
  font-style: italic;
}



/* META */
.ta-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.ta-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ta-author div {
  display: flex;
  flex-direction: column;
}

.ta-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ff7a18;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
}

.ta-author small {
  font-size: 12px;
  color: #777;
}

.ta-info {
  font-size: 13px;
  color: #666;
  display: flex;
  gap: 8px;
}

.ta-info span {
  padding: 0 4px;
}

/* ACTIONS */
.ta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.ta-action-btn {
  border: none;
  background: #f3f4f6;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
}

.ta-action-btn svg,
.ta-action-btn img {
  width: 12px;
}

.ta-action-btn svg path {
  fill: currentColor;
}

.ta-action-btn:hover,
.ta-action-btn:focus-visible {
  background: linear-gradient(135deg, #f97316, #f59e0b);
  color: #fff;
}

.ta-blog-wrapper {
  display: flex;
  gap: 80px;
  padding: 80px 0 40px;
}

/* Container */
.ta-blog-container {
  max-width: 920px;
  padding: 0 24px;
  margin: 0 auto;
}

/* Quote Card */
.ta-quote-card {
  position: relative;
  background: #fdf6f1;
  border-radius: 16px;
  padding: 28px 32px 28px 36px;
  margin: 60px 0 40px;
  border: 1px solid #ee8317;
}

.ta-quote-card:after {
  content: "\1F4AC";
  color: #fff;
  font-size: 14px;
  position: absolute;
  left: 20px;
  bottom: calc(100% - 16px);
  background: linear-gradient(135deg, hsl(15, 90%, 55%), hsl(45, 93%, 47%));
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 32px;
  border: 2px solid #eadfd8;
}

.ta-quote-icon {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 22px;
  height: 22px;
  background: #f97316;
  color: #fff;
  font-size: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ta-quote-card p {
  font-size: clamp(16px, 2.5vw, 22px);
  line-height: 1.4;
  margin: 0 0 12px;
  font-style: italic;
}

.ta-quote-source {
  font-size: 13px;
  color: #ac4e4e;
  font-weight: 500;
}


/* IMAGE */
.ta-blog-hero-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.ta-blog-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* BADGE */
.ta-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 16px 18px;
  border-radius: 12px;
  max-width: 260px;
  text-align: left;
}

.ta-image-badge strong {
  color: #ff7a18;
}

.ta-image-badge p {
  font-size: 13px;
  margin: 4px 0;
}

.ta-image-badge small {
  font-size: 11px;
  color: #777;
}


/* benefit list*/
.ta-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Card */
.ta-benefit-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

/* Active / highlighted card */
.ta-benefit-card.ta-active {
  border-color: #f97316;
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.15);
}

/* Number badge */
.ta-badge {
  min-width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f97316, #f59e0b);
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* Text */
.ta-benefit-text h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #0f172a;
}

.ta-benefit-text p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

/* Cta */
/* CTA CARD */
.ta-cta-card {
  margin: 40px 0 0;
  padding: 40px 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f97316, #f59e0b);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ta-cta-card>* {
  max-width: 480px;
  margin: 0 auto;
}

.ta-cta-card::before,
.ta-cta-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.ta-cta-card::before {
  top: -80px;
  left: -80px;
}

.ta-cta-card::after {
  bottom: -80px;
  right: -80px;
}

.ta-cta-card h3 {
  color: #fff;
}

.ta-cta-card p {
  margin-bottom: 24px;
}

.ta-cta-btn {
  display: inline-block;
  padding: 12px 26px;
  background: #ffffff;
  color: #f97316;
  border-radius: 10px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.ta-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* AUTHOR CARD */
.ta-author-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: #fbfbfb;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  margin: 40px 0 0;
}

.ta-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f97316, #f59e0b);
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  overflow: hidden;
}

.ta-avatar img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.ta-author-info h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.ta-author-info span {
  display: block;
  font-size: 13px;
  color: #f97316;
  margin-bottom: 8px;
}

.ta-author-info p {
  font-size: 14px;
  line-height: 1.6;
}

/* Benefit */
.ta-section-benefit {
  margin: 60px 0;
}

/* Post */
.ta-recent-posts {
  padding: 60px 0;
  background: #F6F6F5;
}

.ta-posts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.ta-eyebrow {
  font-size: 13px;
  color: #ff7a18;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.ta-posts-header h2 em {
  font-style: italic;
  font-weight: 400;
}

.ta-view-all {
  font-size: 14px;
  color: #6b7280;
  text-decoration: none;
}

.ta-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
  gap: 24px;
}

.ta-post-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.ta-post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.ta-post-image {
  position: relative;
  overflow: hidden;
}

.ta-post-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.ta-post-content {
  padding: 24px;
}

.ta-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #fff;
  color: #111827;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 16px;
  font-weight: 500;
}

.ta-tag-dark {
  background: #111827;
  color: #fff;
}

.ta-post-card h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.ta-post-meta {
  font-size: 13px;
  color: #6b7280;
}


/* blog */
html {
  scroll-behavior: smooth;
}

.ta-blog-content h2,
.ta-blog-content h3 {
  scroll-margin-top: 120px;
}

.ta-blog-content h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}

.ta-blog-content h3 {
  font-size: clamp(20px, 4vw, 28px);
  margin-bottom: 12px;
  font-weight: 600;
}

.ta-blog-content h2:not(:first-child) {
  margin-top: 60px;
}

.ta-blog-content h3:not(:first-of-type) {
  margin-top: 48px;
}

.ta-blog-content ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ta-blog-content img {
  border-radius: 16px;
  max-width: 100%;
}

.ta-blog-content figcaption {
  text-align: center;
  font-size: 14px;
  display: block;
  margin-top: 8px;
}

/* Floating sidebar */
/* ================= TOC Floating Box ================= */
/* ================= TOC Floating Box ================= */
.ta-toc {
  position: sticky;
  top: 90px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ta-toc-card {
  width: 280px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #f1f5f9;
  padding: 18px 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.ta-toc-card h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #484A52;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.ta-toc-icon {
  font-size: 16px;
}

.ta-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ta-toc-nav a {
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #484A52;
  transition: all 0.25s ease;
}

.ta-toc-nav a:hover {
  background: #fff1e8;
  color: #f97316;
}

.ta-toc-nav a.active {
  background: #fff1e8;
  color: #f97316;
  font-weight: 600;
}

@media (max-width: 992px) {
  .ta-toc {
    display: none;
  }

  .ta-blog-wrapper {
    padding: 40px 0;
  }

  .ta-section-benefit {
    margin: 40px 0;
  }

  .ta-blog-wrapper h2:not(:first-child) {
    margin-top: 40px;
  }

  .ta-posts-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}