.ti-home-extra {
    --ti-green: #15803d;
    --ti-green-dark: #0f6b35;
    --ti-border-fallback: rgba(148, 163, 184, 0.34);
    --ti-card-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    max-width: 1360px;
    margin: 0 auto;
    padding: 30px 24px;
    color: inherit;
  }

  .ti-home-extra--compact {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .ti-home-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
  }

  .ti-home-section-kicker {
    display: block;
    margin-bottom: 5px;
    color: var(--ti-green);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .ti-home-section-title {
    margin: 0;
    color: inherit;
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
    font-weight: 850;
  }

  .ti-home-section-desc {
    max-width: 760px;
    margin: 8px 0 0;
    color: inherit;
    opacity: .72;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .ti-see-all {
    flex: 0 0 auto;
    color: var(--ti-green);
    font-weight: 850;
    font-size: 0.92rem;
    text-decoration: none;
    white-space: nowrap;
  }

  .ti-see-all:hover {
    color: var(--ti-green-dark);
    text-decoration: underline;
  }

  .ti-topic-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .ti-topic-grid--featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ti-topic-more {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: inherit;
    font-size: 0.9rem;
  }

  .ti-topic-more-label {
    color: inherit;
    opacity: .62;
    font-weight: 750;
    margin-right: 2px;
  }

  .ti-topic-more a {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--ti-border-fallback);
    border-radius: 999px;
    padding: 7px 11px;
    color: inherit !important;
    text-decoration: none;
    line-height: 1;
    opacity: .82;
    transition: border-color .18s ease, color .18s ease, transform .18s ease;
  }

  .ti-topic-more a:hover {
    color: var(--ti-green) !important;
    border-color: rgba(21, 128, 61, .5);
    transform: translateY(-1px);
  }

  .ti-topic-card {
    display: block;
    padding: 18px 18px 16px;
    border: 1px solid var(--ti-border-fallback);
    border-radius: 18px;
    background: transparent !important;
    color: inherit !important;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  }

  .ti-topic-card:hover {
    transform: translateY(-2px);
    border-color: rgba(21, 128, 61, 0.55);
    box-shadow: var(--ti-card-shadow);
  }

  .ti-topic-card strong {
    display: block;
    margin-bottom: 6px;
    color: inherit;
    font-size: 1.02rem;
    font-weight: 850;
    line-height: 1.25;
  }

  .ti-topic-card span {
    display: block;
    color: inherit;
    opacity: .68;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .ti-post-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .ti-category-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ti-border-fallback);
    border-radius: 18px;
    background: transparent !important;
    color: inherit !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
  }

  .ti-category-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: transparent !important;
  }

  .ti-category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .22s ease;
  }

  .ti-category-card:hover .ti-category-card-image img {
    transform: scale(1.035);
  }

  .ti-category-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 15px 15px 17px;
    color: inherit;
  }

  .ti-category-card-tag {
    display: inline-block;
    width: fit-content;
    margin-bottom: 9px;
    color: var(--ti-green) !important;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
  }

  .ti-category-card h3 {
    margin: 0 0 9px;
    color: inherit !important;
    font-size: 1.05rem;
    line-height: 1.25;
    letter-spacing: -0.025em;
    font-weight: 850;
  }

  .ti-category-card h3 a {
    color: inherit !important;
    text-decoration: none;
    font-weight: inherit;
  }

  .ti-category-card h3 a:hover {
    color: var(--ti-green) !important;
  }

  .ti-category-card p {
    margin: 0 0 12px;
    color: inherit !important;
    opacity: .74;
    font-size: 0.86rem;
    line-height: 1.48;
  }

  .ti-category-card h3,
  .ti-category-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .ti-category-card h3 {
    -webkit-line-clamp: 3;
  }

  .ti-category-card p {
    -webkit-line-clamp: 4;
  }

  .ti-category-card time {
    margin-top: auto;
    color: inherit !important;
    opacity: .76;
    font-size: 0.76rem;
    font-weight: 800;
  }

  .ti-category-empty {
    grid-column: 1 / -1;
    padding: 18px;
    border-radius: 16px;
    background: transparent !important;
    border: 1px solid var(--ti-border-fallback);
    color: inherit;
    opacity: .72;
  }
  @supports (background: color-mix(in srgb, currentColor 4%, transparent)) {
    .ti-topic-card,
    .ti-category-card {
      border-color: color-mix(in srgb, currentColor 18%, transparent);
      background: color-mix(in srgb, currentColor 3%, transparent) !important;
    }

    .ti-topic-card:hover,
    .ti-category-card:hover {
      border-color: color-mix(in srgb, var(--ti-green) 55%, currentColor 10%);
      background: color-mix(in srgb, currentColor 5%, transparent) !important;
    }

    .ti-category-card-image {
      background: color-mix(in srgb, currentColor 7%, transparent) !important;
    }
  }

  .post-card-title,
  .post-card-title a,
  [class*="post-card"] h2,
  [class*="post-card"] h2 a,
  [class*="post-card"] h3,
  [class*="post-card"] h3 a,
  [class*="posts-list"] h2,
  [class*="posts-list"] h2 a,
  [class*="posts-list"] h3,
  [class*="posts-list"] h3 a,
  main article h2,
  main article h2 a,
  main article h3,
  main article h3 a {
    font-weight: 850 !important;
  }

  .ti-home-share-box {
    margin-top: 14px;
    padding: 14px 14px 13px;
    border: 1px solid var(--ti-border-fallback);
    border-radius: 18px;
    background: transparent !important;
    color: inherit !important;
    text-align: center;
  }

  .ti-home-share-box h3 {
    margin: 0 0 5px;
    color: inherit;
    font-size: .9rem;
    line-height: 1.25;
    font-weight: 850;
    letter-spacing: -0.01em;
  }

  .ti-home-share-box p {
    margin: 0 0 11px;
    color: inherit;
    opacity: .70;
    font-size: .8rem;
    line-height: 1.38;
  }

  .ti-home-share-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 9px;
  }

  .ti-home-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0 !important;
    border-radius: 999px;
    color: inherit !important;
    background: transparent !important;
    opacity: .82;
    font-size: 1.05rem;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
    transition: color .18s ease, opacity .18s ease, transform .18s ease;
  }

  .ti-home-share-btn i {
    display: inline-flex;
    line-height: 1;
  }

  .ti-home-share-btn:hover {
    color: var(--ti-green) !important;
    opacity: 1;
    transform: translateY(-1px);
  }

  .ti-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  @supports (border-color: color-mix(in srgb, currentColor 4%, transparent)) {
    .ti-home-share-box {
      border-color: color-mix(in srgb, currentColor 15%, transparent);
    }
  }



  @media (max-width: 980px) {
    .ti-topic-grid,
    .ti-post-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 760px) {
    .ti-home-extra {
      width: 100%;
      padding: 22px 16px;
    }

    .ti-home-extra--compact {
      padding-top: 18px;
      padding-bottom: 14px;
    }

    .ti-home-section-head {
      display: block;
      margin-bottom: 12px;
    }

    .ti-home-section-kicker {
      margin-bottom: 4px;
      font-size: 0.68rem;
      letter-spacing: .085em;
    }

    .ti-home-section-title {
      font-size: clamp(1.35rem, 8vw, 1.85rem);
      line-height: 1.05;
      letter-spacing: -0.045em;
    }

    .ti-home-section-desc {
      margin-top: 7px;
      font-size: .93rem;
      line-height: 1.42;
      opacity: .72;
    }

    .ti-see-all {
      display: inline-flex;
      align-items: center;
      margin-top: 10px;
      font-size: .86rem;
    }

    .ti-home-extra--topics .ti-home-section-desc {
      max-width: 95%;
    }

    .ti-topic-grid {
      display: flex;
      gap: 10px;
      overflow-x: auto;
      padding: 2px 16px 12px;
      margin-left: -16px;
      margin-right: -16px;
      scroll-snap-type: x proximity;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }

    .ti-topic-grid::-webkit-scrollbar {
      display: none;
    }

    .ti-topic-more {
      margin-top: 8px;
      gap: 7px;
      font-size: .82rem;
    }

    .ti-topic-more a {
      padding: 7px 10px;
    }

    .ti-topic-card {
      position: relative;
      min-width: 128px;
      max-width: none;
      min-height: auto;
      padding: 11px 34px 11px 14px;
      border-radius: 999px;
      scroll-snap-align: start;
      white-space: nowrap;
    }

    .ti-topic-card::after {
      content: "›";
      position: absolute;
      top: 50%;
      right: 13px;
      transform: translateY(-50%);
      color: var(--ti-green);
      font-size: 1.15rem;
      font-weight: 900;
      line-height: 1;
    }

    .ti-topic-card strong {
      margin-bottom: 0;
      font-size: .92rem;
      line-height: 1.05;
    }

    .ti-topic-card span {
      display: none;
    }

    .ti-post-grid {
      grid-template-columns: 1fr;
      gap: 10px;
    }

    .ti-category-card {
      flex-direction: row;
      align-items: stretch;
      min-height: 104px;
      border-radius: 16px;
      box-shadow: none;
    }

    .ti-category-card-image {
      width: 118px;
      min-width: 118px;
      aspect-ratio: auto;
    }

    .ti-category-card-body {
      min-width: 0;
      padding: 11px 12px 12px;
    }

    .ti-category-card-tag {
      margin-bottom: 5px;
      font-size: .61rem;
      letter-spacing: .055em;
    }

    .ti-category-card h3 {
      margin-bottom: 6px;
      font-size: .98rem;
      line-height: 1.16;
      -webkit-line-clamp: 3;
    }

    .ti-category-card p {
      display: none;
    }

    .ti-category-card time {
      font-size: .68rem;
      opacity: .72;
    }

    .ti-post-grid .ti-category-card:first-child {
      flex-direction: column;
      min-height: 0;
      border-radius: 18px;
    }

    .ti-post-grid .ti-category-card:first-child .ti-category-card-image {
      width: 100%;
      min-width: 0;
      aspect-ratio: 16 / 9;
    }

    .ti-post-grid .ti-category-card:first-child .ti-category-card-body {
      padding: 13px 14px 15px;
    }

    .ti-post-grid .ti-category-card:first-child h3 {
      font-size: 1.08rem;
      line-height: 1.18;
      -webkit-line-clamp: 3;
    }

    .ti-post-grid .ti-category-card:first-child p {
      display: -webkit-box;
      margin-top: 2px;
      font-size: .86rem;
      line-height: 1.42;
      -webkit-line-clamp: 2;
    }

    .ti-topic-more {
      flex-wrap: nowrap;
      overflow-x: auto;
      padding: 2px 16px 10px;
      margin-left: -16px;
      margin-right: -16px;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }

    .ti-topic-more::-webkit-scrollbar {
      display: none;
    }

    .ti-topic-more-label {
      flex: 0 0 auto;
    }

    .ti-topic-more a {
      flex: 0 0 auto;
      white-space: nowrap;
    }

    .ti-home-share-box {
      margin-top: 12px;
      padding: 13px 12px 12px;
    }

    .ti-home-share-box h3 {
      font-size: .86rem;
    }

    .ti-home-share-box p {
      font-size: .78rem;
      margin-bottom: 9px;
    }

    .ti-home-extra + .ti-home-extra {
      padding-top: 14px;
    }
  }

  @media (max-width: 420px) {
    .ti-topic-card {
      min-width: 120px;
      max-width: none;
    }

    .ti-category-card-image {
      width: 108px;
      min-width: 108px;
    }

    .ti-category-card h3 {
      font-size: .94rem;
    }
  }

/* Sidebar widget styling is handled globally in main.css. */
.ti-home-sidebar-extra {
  margin-top: 14px;
}
