.tt-page-shell {
    --tt-primary: #4f6dff;
    --tt-accent: #7c5cff;
    --tt-green: #22c55e;
    --tt-orange: #f97316;
    --tt-text: var(--text-color, #111827);
    --tt-muted: var(--text-muted, #64748b);
    --tt-bg: var(--bg-color, #f8faff);
    --tt-card: var(--surface-color, #ffffff);
    --tt-card-soft: var(--surface-soft, #f7f8ff);
    --tt-border: rgba(15, 23, 42, 0.10);
    padding: 32px 0 96px;
}

.tt-page-shell .container {
    width: min(100% - 32px, 1320px);
}

.tt-breadcrumbs {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 100%;
    margin-bottom: 28px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--tt-border);
    color: var(--tt-muted);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(12px);
}

.tt-breadcrumbs a,
.tt-breadcrumbs .current {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-size: 0.95rem;
    line-height: 1.2;
}

.tt-breadcrumbs a {
    color: var(--tt-muted);
}

.tt-breadcrumbs a:hover {
    color: var(--tt-primary);
}

.tt-breadcrumbs .current {
    color: var(--tt-text);
}

.tt-breadcrumbs .current span:last-child,
.tt-breadcrumbs a span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tt-breadcrumbs svg {
    width: 15px;
    height: 15px;
}

.tt-breadcrumbs .separator {
    opacity: 0.4;
}

.tt-page-hero {
    display: grid;
    gap: 28px;
    padding: 36px;
    border: 1px solid var(--tt-border);
    border-radius: 34px;
    background:
        radial-gradient(circle at top left, rgba(79, 109, 255, 0.10), transparent 28%),
        radial-gradient(circle at bottom right, rgba(124, 92, 255, 0.08), transparent 32%),
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.88));
    box-shadow: 0 28px 72px rgba(15, 23, 42, 0.08);
}

.tt-page-hero-split {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: center;
}

.tt-page-hero-copy h1 {
    margin: 14px 0 14px;
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.tt-page-hero-copy p {
    margin: 0;
    max-width: 70ch;
    color: var(--tt-muted);
    font-size: 1.08rem;
    line-height: 1.85;
}

.tt-soft-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(79, 109, 255, 0.10);
    color: var(--tt-primary);
    font-size: 0.92rem;
    font-weight: 700;
}

.tt-soft-badge-inline {
    margin-bottom: 12px;
}

.tt-stat-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.tt-stat-card {
    padding: 18px 16px;
    border: 1px solid var(--tt-border);
    border-radius: 22px;
    background: rgba(255,255,255,0.86);
}

.tt-stat-card strong {
    display: block;
    font-size: 1.08rem;
    line-height: 1.2;
    color: var(--tt-text);
}

.tt-stat-card span {
    display: block;
    margin-top: 6px;
    color: var(--tt-muted);
    font-size: 0.92rem;
}

.tt-section-intro {
    margin: 56px 0 26px;
    text-align: center;
}

.tt-section-intro-inline {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    text-align: left;
}

.tt-section-intro h2 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.tt-section-intro p {
    margin: 0;
    color: var(--tt-muted);
    font-size: 1.02rem;
}

.tt-team-visual-card,
.tt-signpost-card,
.tt-author-hero-visual {
    position: relative;
    min-height: 420px;
    border: 1px solid var(--tt-border);
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(124, 92, 255, 0.16), transparent 30%),
        linear-gradient(180deg, rgba(247,248,255,0.96), rgba(242,246,255,0.86));
    overflow: hidden;
}

.tt-team-visual-orbit {
    position: absolute;
    inset: 12% 16%;
    border: 2px dashed rgba(79, 109, 255, 0.18);
    border-radius: 50%;
}

.tt-team-visual-avatar {
    position: absolute;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    border: 6px solid rgba(255,255,255,0.96);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    object-fit: cover;
}

.tt-team-visual-avatar.avatar-1 { top: 12%; left: 18%; }
.tt-team-visual-avatar.avatar-2 { top: 18%; right: 15%; }
.tt-team-visual-avatar.avatar-3 { bottom: 16%; left: 22%; }
.tt-team-visual-avatar.avatar-4 { bottom: 12%; right: 18%; }

.tt-team-visual-badge,
.tt-signpost-float {
    position: absolute;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.94);
    color: var(--tt-primary);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.tt-team-visual-badge svg,
.tt-signpost-float svg,
.tt-topic-card-icon svg,
.tt-trust-band-icon svg,
.tt-info-card-icon svg,
.tt-helper-callout-icon svg,
.tt-author-socials svg {
    width: 22px;
    height: 22px;
}

.tt-team-visual-badge.badge-1 { top: 24%; left: 10%; }
.tt-team-visual-badge.badge-2 { top: 44%; right: 25%; }
.tt-team-visual-badge.badge-3 { bottom: 18%; right: 10%; }

.tt-author-grid,
.tt-info-card-grid,
.tt-topic-grid,
.tt-article-grid {
    display: grid;
    gap: 24px;
}

.tt-author-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tt-author-card,
.tt-info-card,
.tt-topic-card,
.tt-article-card,
.tt-trust-band,
.tt-newsletter-band,
.tt-cta-band {
    border: 1px solid var(--tt-border);
    border-radius: 28px;
    background: rgba(255,255,255,0.88);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.tt-author-card {
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tt-author-card:hover,
.tt-info-card:hover,
.tt-topic-card:hover,
.tt-article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 56px rgba(15, 23, 42, 0.1);
    border-color: rgba(79, 109, 255, 0.2);
}

.tt-author-avatar-link {
    display: inline-flex;
}

.tt-author-avatar {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 18px;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
}

.tt-author-name,
.tt-topic-card h3,
.tt-info-card h3,
.tt-trust-band-item h3,
.tt-article-card-title {
    margin: 0;
    color: var(--tt-text);
}

.tt-author-name {
    font-size: 1.45rem;
    line-height: 1.18;
}

.tt-author-role {
    display: inline-flex;
    margin: 12px 0 10px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(79, 109, 255, 0.09);
    color: var(--tt-primary);
    font-size: 0.92rem;
    font-weight: 700;
}

.tt-author-count {
    margin: 0 0 18px;
    color: var(--tt-muted);
    font-size: 0.98rem;
}

.tt-outline-button,
.tt-primary-button,
.tt-topic-card a,
.tt-info-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.tt-outline-button {
    border: 1px solid rgba(79, 109, 255, 0.25);
    color: var(--tt-primary);
    background: transparent;
}

.tt-primary-button {
    color: #fff;
    background: linear-gradient(135deg, var(--tt-primary), var(--tt-accent));
    box-shadow: 0 16px 34px rgba(79, 109, 255, 0.2);
}

.tt-outline-button:hover,
.tt-primary-button:hover,
.tt-topic-card a:hover,
.tt-info-card a:hover {
    transform: translateY(-1px);
}

.tt-info-card-grid {
    margin-top: 28px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tt-info-card {
    padding: 24px;
}

.tt-info-card-icon,
.tt-topic-card-icon,
.tt-trust-band-icon,
.tt-helper-callout-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(79, 109, 255, 0.09);
    color: var(--tt-primary);
}

.tt-info-card h3 {
    margin-top: 18px;
    font-size: 1.28rem;
    line-height: 1.2;
}

.tt-info-card p,
.tt-topic-card p,
.tt-trust-band-item p,
.tt-article-card-excerpt,
.tt-newsletter-band p,
.tt-cta-band p {
    color: var(--tt-muted);
}

.tt-info-card p {
    margin: 12px 0 18px;
}

.tt-cta-band,
.tt-newsletter-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 38px;
    padding: 28px 30px;
    background:
        radial-gradient(circle at right center, rgba(124, 92, 255, 0.08), transparent 22%),
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(247,248,255,0.9));
}

.tt-cta-band h2,
.tt-newsletter-band h2 {
    margin: 0 0 8px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.05;
}

.tt-cta-band p,
.tt-newsletter-band p {
    margin: 0;
    max-width: 62ch;
}

.tt-cta-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tt-helper-callout {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding: 18px 20px;
    border: 1px solid var(--tt-border);
    border-radius: 24px;
    background: rgba(255,255,255,0.82);
}

.tt-helper-callout strong,
.tt-helper-callout span:last-child {
    display: block;
}

.tt-helper-callout span:last-child {
    color: var(--tt-muted);
    margin-top: 2px;
}

.tt-signpost-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tt-signpost-post {
    position: absolute;
    top: 18%;
    bottom: 14%;
    width: 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #9b6b3a, #6f4a24);
}

.tt-signpost-arm {
    position: absolute;
    right: 18%;
    display: inline-flex;
    align-items: center;
    min-width: 250px;
    padding: 18px 28px;
    border-radius: 18px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
}

.tt-signpost-arm::after {
    content: "";
    position: absolute;
    right: -22px;
    top: 50%;
    width: 28px;
    height: 28px;
    background: inherit;
    transform: translateY(-50%) rotate(45deg);
    border-radius: 7px;
}

.tt-signpost-arm-blue { top: 18%; background: linear-gradient(135deg, #3f7cff, #4f6dff); }
.tt-signpost-arm-green { top: 41%; background: linear-gradient(135deg, #5cc98c, #3aae68); }
.tt-signpost-arm-orange { top: 64%; background: linear-gradient(135deg, #ffb155, #f88720); }

.tt-signpost-float.float-1 { top: 12%; left: 10%; }
.tt-signpost-float.float-2 { top: 16%; right: 10%; }
.tt-signpost-float.float-3 { bottom: 18%; left: 12%; }
.tt-signpost-float.float-4 { bottom: 14%; right: 14%; }

.tt-topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tt-topic-card {
    padding: 24px;
    min-height: 100%;
}

.tt-topic-card-icon {
    margin-bottom: 20px;
}

.tt-topic-card h3 {
    font-size: 1.34rem;
    line-height: 1.2;
}

.tt-topic-card p {
    margin: 12px 0 18px;
    line-height: 1.75;
}

.tt-topic-card a,
.tt-info-card a {
    color: inherit;
    padding: 0;
    min-height: auto;
    border-radius: 0;
}

.tt-topic-card.is-blue a,
.tt-author-card.is-blue .tt-author-role,
.tt-info-card.is-blue a { color: var(--tt-primary); }
.tt-topic-card.is-green a,
.tt-author-card.is-green .tt-author-role,
.tt-info-card.is-green a { color: var(--tt-green); }
.tt-topic-card.is-orange a,
.tt-author-card.is-orange .tt-author-role,
.tt-info-card.is-orange a { color: var(--tt-orange); }
.tt-topic-card.is-purple a,
.tt-author-card.is-purple .tt-author-role,
.tt-info-card.is-purple a { color: var(--tt-accent); }

.tt-trust-band {
    margin-top: 38px;
    padding: 28px;
}

.tt-trust-band-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.tt-trust-band-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.tt-trust-band-item h3 {
    margin: 0 0 8px;
    font-size: 1.06rem;
}

.tt-trust-band-item p {
    margin: 0;
    line-height: 1.7;
}

.tt-special-posts {
    margin-top: 38px;
}

.tt-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
}

.tt-article-card {
    overflow: hidden;
}

.tt-article-card-media {
    display: block;
}

.tt-article-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 26px 26px 0 0;
}

.tt-article-card-body {
    padding: 22px;
}

.tt-article-card-title {
    margin-top: 0;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.2;
}

.tt-article-card-title a:hover {
    color: var(--tt-primary);
}

.tt-article-card-excerpt {
    margin: 12px 0 0;
    line-height: 1.75;
}

.tt-article-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
    color: var(--tt-muted);
    font-size: 0.94rem;
}

.tt-article-card-meta span {
    position: relative;
}

.tt-article-card-meta span:not(:last-child)::after {
    content: "•";
    margin-left: 12px;
    opacity: 0.45;
}

.tt-special-posts-action {
    margin-top: 24px;
    text-align: center;
}

.tt-author-hero-role {
    display: inline-flex;
    margin: 6px 0 18px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(79, 109, 255, 0.10);
    color: var(--tt-primary);
    font-weight: 700;
}

.tt-author-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.tt-author-socials a {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--tt-border);
    background: rgba(255,255,255,0.84);
    color: var(--tt-text);
}

.tt-author-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tt-newsletter-band-form {
    min-width: min(100%, 440px);
}

.tt-newsletter-band-form form,
.tt-newsletter-band-form .newsletter-form,
.tt-newsletter-band-form .mc4wp-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.tt-newsletter-band-form input[type="email"],
.tt-newsletter-band-form input[type="text"] {
    flex: 1 1 220px;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid var(--tt-border);
    border-radius: 16px;
    background: rgba(255,255,255,0.9);
    color: var(--tt-text);
}

.tt-newsletter-band-form button,
.tt-newsletter-band-form input[type="submit"] {
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--tt-primary), var(--tt-accent));
    color: #fff;
    font-weight: 700;
}

.tt-pagination-wrap {
    margin-top: 30px;
}

.tt-pagination-wrap .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tt-pagination-wrap .page-numbers {
    min-width: 46px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid var(--tt-border);
    border-radius: 14px;
    background: rgba(255,255,255,0.86);
    color: var(--tt-text);
}

.tt-pagination-wrap .page-numbers.current {
    background: linear-gradient(135deg, var(--tt-primary), var(--tt-accent));
    color: #fff;
    border-color: transparent;
}

[data-theme='dark'] .tt-page-shell {
    --tt-border: rgba(148, 163, 184, 0.18);
}

[data-theme='dark'] .tt-breadcrumbs,
[data-theme='dark'] .tt-page-hero,
[data-theme='dark'] .tt-author-card,
[data-theme='dark'] .tt-info-card,
[data-theme='dark'] .tt-topic-card,
[data-theme='dark'] .tt-article-card,
[data-theme='dark'] .tt-trust-band,
[data-theme='dark'] .tt-newsletter-band,
[data-theme='dark'] .tt-cta-band,
[data-theme='dark'] .tt-stat-card,
[data-theme='dark'] .tt-helper-callout,
[data-theme='dark'] .tt-author-socials a,
[data-theme='dark'] .tt-newsletter-band-form input[type="email"],
[data-theme='dark'] .tt-newsletter-band-form input[type="text"] {
    background: rgba(17, 28, 45, 0.9);
    border-color: rgba(148, 163, 184, 0.18);
}

[data-theme='dark'] .tt-page-hero,
[data-theme='dark'] .tt-team-visual-card,
[data-theme='dark'] .tt-signpost-card,
[data-theme='dark'] .tt-author-hero-visual {
    background:
        radial-gradient(circle at top left, rgba(79,109,255,0.16), transparent 28%),
        radial-gradient(circle at bottom right, rgba(124,92,255,0.12), transparent 30%),
        linear-gradient(180deg, rgba(17,28,45,0.96), rgba(13,20,34,0.92));
}

[data-theme='dark'] .tt-breadcrumbs a,
[data-theme='dark'] .tt-page-shell p,
[data-theme='dark'] .tt-author-count,
[data-theme='dark'] .tt-stat-card span,
[data-theme='dark'] .tt-article-card-meta,
[data-theme='dark'] .tt-helper-callout span:last-child,
[data-theme='dark'] .tt-info-card p,
[data-theme='dark'] .tt-topic-card p,
[data-theme='dark'] .tt-trust-band-item p,
[data-theme='dark'] .tt-newsletter-band p,
[data-theme='dark'] .tt-cta-band p {
    color: var(--text-muted);
}

[data-theme='dark'] .tt-page-shell h1,
[data-theme='dark'] .tt-page-shell h2,
[data-theme='dark'] .tt-page-shell h3,
[data-theme='dark'] .tt-breadcrumbs .current {
    color: var(--text-color);
}

[data-theme='dark'] .tt-team-visual-avatar,
[data-theme='dark'] .tt-team-visual-badge,
[data-theme='dark'] .tt-signpost-float {
    border-color: rgba(17, 28, 45, 0.96);
}

@media (max-width: 1180px) {
    .tt-author-grid,
    .tt-info-card-grid,
    .tt-topic-grid,
    .tt-trust-band-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tt-page-hero-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .tt-page-shell {
        padding-top: 24px;
    }

    .tt-page-hero,
    .tt-trust-band,
    .tt-newsletter-band,
    .tt-cta-band {
        padding: 24px;
    }

    .tt-stat-strip,
    .tt-article-grid {
        grid-template-columns: 1fr;
    }

    .tt-cta-band,
    .tt-newsletter-band,
    .tt-section-intro-inline {
        flex-direction: column;
        align-items: stretch;
    }

    .tt-team-visual-card,
    .tt-signpost-card,
    .tt-author-hero-visual {
        min-height: 340px;
    }
}

@media (max-width: 640px) {
    .tt-breadcrumbs {
        width: 100%;
        border-radius: 20px;
        padding: 12px 14px;
    }

    .tt-author-grid,
    .tt-info-card-grid,
    .tt-topic-grid,
    .tt-trust-band-grid {
        grid-template-columns: 1fr;
    }

    .tt-signpost-arm {
        min-width: 210px;
        right: 12%;
        padding: 14px 20px;
        font-size: 0.98rem;
    }

    .tt-team-visual-card,
    .tt-signpost-card,
    .tt-author-hero-visual {
        min-height: 300px;
    }

    .tt-team-visual-avatar {
        width: 88px;
        height: 88px;
    }
}
