:root {
    --tf-green: #173f35;
    --tf-green-light: #245849;
    --tf-gold: #c49a5a;
    --tf-ink: #202823;
    --tf-muted: #69736d;
    --tf-paper: #f7f4ec;
    --tf-white: #fff;
    --tf-line: #e5e1d8;
    --tf-width: 1180px;
    --tf-shadow: 0 14px 40px rgba(25, 49, 39, .08);
}

.tf-header {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 1000;
    background: rgba(247, 244, 236, .96);
    border-bottom: 1px solid var(--tf-line);
    box-shadow: 0 4px 20px rgba(25, 49, 39, .04);
    font-family: "Inter", "Noto Sans Malayalam", "Noto Naskh Arabic", sans-serif;
}

/* Blur lives on a pseudo-element: backdrop-filter on the header itself would make it the
   containing block of the fixed mobile nav panel and collapse that panel to zero height. */
.tf-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    backdrop-filter: blur(16px);
    pointer-events: none;
}

.header.tf-header {
    width: 100%;
    padding: 0;
    backdrop-filter: none;
    background: rgba(247, 244, 236, .96);
}

.tf-header .nav-container {
    width: 100%;
    max-width: var(--tf-width);
    min-height: 78px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.tf-header .logo {
    flex: 0 0 auto;
}

.tf-header .logo img {
    display: block;
    width: auto;
    max-width: 200px;
    max-height: 54px;
    object-fit: contain;
}

.tf-header .nav {
    margin-inline-start: auto;
}

.tf-header .nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tf-header .nav-item {
    position: relative;
    height: auto;
    justify-content: initial;
    padding: 0;
    border: 0;
    background: transparent;
}

.tf-header .nav-item:first-child,
.tf-header .nav-item:last-child {
    min-width: 0;
}

.tf-header .nav-item:hover {
    background: transparent;
}

.tf-header .nav-item .nav-link {
    display: flex;
    min-height: 40px;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border-radius: 999px;
    color: #34413a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.tf-header .nav-item.active .nav-link,
.tf-header .nav-item .nav-link:hover,
.tf-header .nav-item .nav-link:focus-visible {
    color: var(--tf-green);
    background: #e9eee7;
}

.tf-header .dropdown-menu {
    min-width: 190px;
    padding: 8px;
    border: 1px solid var(--tf-line);
    border-radius: 14px;
    background: var(--tf-white);
    box-shadow: var(--tf-shadow);
}

.tf-header .dropdown-link {
    display: block;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--tf-ink);
    font-size: 13px;
    text-decoration: none;
}

.tf-header .dropdown-link:hover,
.tf-header .dropdown-link:focus-visible,
.tf-header .dropdown-link.active {
    color: var(--tf-green);
    background: var(--tf-paper);
}

.tf-header .menu-toggle {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: 1px solid var(--tf-line);
    border-radius: 50%;
    background: transparent;
}

.tf-header .hamburger-svg rect {
    fill: var(--tf-green);
}

.tf-home {
    overflow: clip;
    background: var(--tf-paper);
    color: var(--tf-ink);
    font-family: "Inter", "Noto Sans Malayalam", "Noto Naskh Arabic", sans-serif;
    line-height: 1.65;
}

.tf-home .container,
.tf-footer .container {
    width: 100%;
    max-width: var(--tf-width);
    margin-inline: auto;
    padding-inline: 24px;
}

.tf-home h1,
.tf-home h2,
.tf-home h3 {
    color: var(--tf-ink);
    font-family: Georgia, "Times New Roman", "Noto Naskh Arabic", "Noto Sans Malayalam", serif;
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.tf-home h1 {
    margin: 18px 0;
    font-size: clamp(2.5rem, 4.2vw, 4.35rem);
}

.tf-home h1 > span,
.tf-home h1 em span {
    display: block;
}

.tf-home h1 em {
    color: var(--tf-green-light);
    font-style: normal;
}

.tf-home h2 {
    margin: 10px 0 0;
    font-size: clamp(1.9rem, 3.4vw, 3rem);
}

.tf-home h3 {
    font-size: 1.4rem;
}

.tf-hero {
    padding: 70px 0 58px;
}

.tf-hero-grid {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 54px;
}

.tf-hero-copy {
    min-width: 0;
}

.tf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--tf-green-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tf-eyebrow::before {
    width: 24px;
    height: 1px;
    background: var(--tf-gold);
    content: "";
}

.tf-lead {
    max-width: 620px;
    margin-bottom: 26px;
    color: var(--tf-muted);
    font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.tf-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease;
}

.tf-button:hover {
    transform: translateY(-1px);
}

.tf-button-primary {
    background: var(--tf-green);
    color: var(--tf-white);
}

.tf-button-primary:hover,
.tf-button-primary:focus-visible {
    background: var(--tf-green-light);
    color: var(--tf-white);
}

.tf-button-outline {
    border-color: var(--tf-line);
    background: transparent;
    color: var(--tf-green);
}

.tf-button-outline:hover,
.tf-button-outline:focus-visible {
    border-color: var(--tf-green);
    background: rgba(23, 63, 53, .06);
    color: var(--tf-green);
}

.tf-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tf-hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    color: var(--tf-muted);
    font-size: 12px;
    font-weight: 600;
}

.tf-not-found-copy .tf-button {
    margin-top: 26px;
}

.tf-note-line {
    width: 34px;
    height: 1px;
    flex: 0 0 auto;
    background: var(--tf-gold);
}

.tf-hero-art {
    position: relative;
    display: grid;
    min-height: 480px;
    overflow: hidden;
    place-items: center;
    border-radius: 190px 190px 18px 18px;
    background:
        radial-gradient(ellipse at 50% 25%, rgba(255, 255, 255, .34), transparent 38%),
        linear-gradient(145deg, #1b493c 0%, #276653 48%, #102d26 100%);
    box-shadow: var(--tf-shadow);
}

.tf-hero-art::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(16, 43, 33, .68));
    content: "";
    pointer-events: none;
}

.tf-hero-art > img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tf-hero-art.has-image::after {
    background: linear-gradient(180deg, rgba(16, 43, 33, .26), rgba(16, 43, 33, .64));
}

.tf-hero-lockup {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 16px;
    padding: 24px;
    text-align: center;
}

.tf-hero-mark {
    color: rgba(255, 255, 255, .96);
    font-family: "Noto Naskh Arabic", "Noto Sans Arabic", serif;
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-shadow: 0 4px 24px rgba(16, 43, 33, .3);
    unicode-bidi: isolate;
}

.tf-hero-tagline {
    color: rgba(255, 255, 255, .9);
    font-size: clamp(.9rem, 1.5vw, 1.1rem);
    font-weight: 600;
    letter-spacing: .08em;
    text-shadow: 0 2px 12px rgba(16, 43, 33, .45);
}

.tf-hero-caption {
    position: absolute;
    z-index: 1;
    inset: auto 26px 24px;
    display: grid;
    gap: 8px;
    color: var(--tf-white);
}

.tf-hero-caption .tf-eyebrow {
    color: #f1d5a2;
}

.tf-hero-caption a {
    color: var(--tf-white);
    font-family: Georgia, "Noto Naskh Arabic", "Noto Sans Malayalam", serif;
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    line-height: 1.35;
}

.tf-section {
    padding: 68px 0;
}

.tf-section-light {
    background: rgba(255, 255, 255, .68);
}

.tf-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 26px;
    margin-bottom: 28px;
}

.tf-section-heading > p {
    max-width: 430px;
    margin: 0 0 4px;
    color: var(--tf-muted);
    font-size: 14px;
}

.tf-home .tf-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.tf-home .tf-category-card {
    display: grid;
    min-width: 0;
    min-height: 94px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--tf-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .55);
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.tf-home .tf-category-card:hover,
.tf-home .tf-category-card:focus-visible {
    border-color: rgba(23, 63, 53, .24);
    background: var(--tf-white);
    box-shadow: var(--tf-shadow);
}

.tf-home .tf-category-number {
    align-self: center;
    color: var(--tf-gold);
    font-size: 11px;
    letter-spacing: .1em;
}

.tf-home .tf-category-card h3 {
    min-width: 0;
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
    white-space: nowrap;
}

.tf-home .tf-category-arrow {
    align-self: center;
    color: var(--tf-green);
    line-height: 1;
}

.tf-story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.tf-story-card {
    min-width: 0;
}

.tf-story-card > a {
    display: block;
    height: 100%;
    color: inherit;
}

.tf-story-image {
    position: relative;
    display: grid;
    overflow: hidden;
    aspect-ratio: 1.48;
    margin-bottom: 15px;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #d5d9cd, #829b88);
}

.tf-story-card:nth-child(3n + 2) .tf-story-image {
    background: linear-gradient(135deg, #d8c7ac, #8b9b91);
}

.tf-story-card:nth-child(3n) .tf-story-image {
    background: linear-gradient(135deg, #d7d6c8, #6f8a83);
}

.tf-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.tf-story-image.is-image-missing::after {
    color: rgba(255, 255, 255, .7);
    content: "THEOFORT";
    font-family: Georgia, serif;
    font-size: 1.5rem;
    letter-spacing: .14em;
}

.tf-story-card > a:hover .tf-story-image img {
    transform: scale(1.035);
}

.tf-image-fallback {
    color: rgba(255, 255, 255, .7);
    font-family: Georgia, serif;
    font-size: 1.5rem;
    letter-spacing: .14em;
}

.tf-story-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 16px;
    color: var(--tf-green-light);
    font-size: 11px;
    font-weight: 800;
}

.tf-story-card h3 {
    margin: 8px 0 12px;
    font-size: 1.4rem;
}

.tf-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tf-green);
    font-size: 12px;
    font-weight: 800;
}

.tf-popular-card {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    overflow: hidden;
    border: 1px solid var(--tf-line);
    border-radius: 18px;
    background: var(--tf-white);
    box-shadow: var(--tf-shadow);
}

.tf-popular-image {
    min-height: 350px;
    background: linear-gradient(135deg, #d5d9cd, #829b88);
}

.tf-carousel-image-link,
.tf-popular-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.tf-popular-image img {
    min-height: 350px;
    object-fit: cover;
}

.tf-popular-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 4vw, 52px);
}

.tf-story-date {
    margin-top: 10px;
    color: var(--tf-muted);
    font-size: 12px;
}

.tf-popular-content h3 {
    margin: 18px 0 28px;
    font-size: clamp(1.5rem, 2.7vw, 2.4rem);
}

.tf-popular-content h3 a {
    color: inherit;
}

.tf-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.tf-carousel-next {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--tf-green);
    color: var(--tf-white);
    cursor: pointer;
    font-size: 20px;
}

.tf-carousel-next:hover,
.tf-carousel-next:focus-visible {
    background: var(--tf-green-light);
}

.tf-home .article-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tf-home .article-dots .dot {
    width: 9px;
    height: 9px;
    border: 1px solid var(--tf-green);
    border-radius: 50%;
    cursor: pointer;
}

.tf-home .article-dots .dot.active {
    background: var(--tf-green);
}

.tf-empty-state {
    padding: 24px;
    border: 1px dashed #c9c9ba;
    border-radius: 12px;
    color: var(--tf-muted);
}

.tf-home .popular-videos {
    padding: 58px 0;
    background: var(--tf-white);
}

.tf-home .popular-videos > .container > .section-title {
    margin: 0 0 24px;
    color: var(--tf-ink);
    font-family: Georgia, "Noto Naskh Arabic", "Noto Sans Malayalam", serif;
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    font-weight: 500;
}

.tf-home .videos-content {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 20px;
}

.tf-home .main-video,
.tf-home .small-video {
    overflow: hidden;
    border: 1px solid var(--tf-line);
    border-radius: 16px;
    background: var(--tf-paper);
}

.tf-home .main-video {
    min-height: 350px;
}

.tf-home .video-image,
.tf-home .small-video-image {
    min-height: 220px;
    background: linear-gradient(145deg, #b4c0ad, #2d5144);
}

.tf-home .main-video .video-image {
    min-height: 280px;
}

.tf-home .video-image iframe,
.tf-home .small-video-image iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    border: 0;
}

.tf-home .video-info,
.tf-home .small-video-info {
    padding: 18px;
}

.tf-home .video-title,
.tf-home .small-video-title {
    margin: 0 0 8px;
    color: var(--tf-ink);
    font-family: Georgia, "Noto Naskh Arabic", "Noto Sans Malayalam", serif;
    font-size: 1.25rem;
}

.tf-home .video-description {
    margin: 0;
    color: var(--tf-muted);
    font-size: 13px;
}

.tf-home .small-videos {
    display: grid;
    align-content: start;
    gap: 16px;
}

.tf-home .videos-content-bottom {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.tf-ecosystem-head {
    max-width: 640px;
    margin-bottom: clamp(24px, 4vw, 40px);
}

.tf-ecosystem-head h2 {
    margin: 14px 0 10px;
    color: var(--tf-green);
}

.tf-ecosystem-head p {
    margin: 0;
    color: var(--tf-muted);
}

.tf-ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.5vw, 24px);
}

.tf-eco-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--tf-line);
    border-radius: 20px;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.tf-eco-academy {
    background: var(--tf-green);
    border-color: var(--tf-green);
    color: var(--tf-paper);
}

.tf-eco-publications {
    background: var(--tf-paper);
    color: var(--tf-green);
}

.tf-eco-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 24px;
    fill: var(--tf-gold);
}

.tf-eco-publications .tf-eco-icon {
    fill: #a87f42;
}

.tf-eco-card h3 {
    margin: 0 0 10px;
    color: inherit;
    font-size: clamp(1.3rem, 2.4vw, 1.6rem);
}

.tf-eco-card p {
    max-width: 440px;
    margin: 0 0 28px;
    color: inherit;
    opacity: .8;
}

.tf-eco-cta {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--tf-gold);
    min-height: 44px;
    font-weight: 600;
    color: inherit;
}

.tf-eco-academy .tf-eco-cta {
    color: #e3c28c;
}

.tf-eco-card:hover,
.tf-eco-card:focus-visible {
    transform: translateY(-3px);
    border-color: var(--tf-gold);
    text-shadow: none;
}

.tf-eco-academy:hover,
.tf-eco-academy:focus-visible {
    color: var(--tf-paper);
}

.tf-eco-publications:hover,
.tf-eco-publications:focus-visible {
    color: var(--tf-green);
}

.tf-eco-card:hover h3,
.tf-eco-card:hover p,
.tf-eco-card:hover .tf-eco-cta,
.tf-eco-card:focus-visible h3,
.tf-eco-card:focus-visible p,
.tf-eco-card:focus-visible .tf-eco-cta {
    color: inherit;
    text-shadow: none;
}

.tf-eco-academy:hover .tf-eco-cta,
.tf-eco-academy:focus-visible .tf-eco-cta {
    color: #e3c28c;
}

.tf-eco-card:focus-visible {
    outline: 3px solid var(--tf-gold);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .tf-eco-card {
        transition: none;
    }

    .tf-eco-card:hover,
    .tf-eco-card:focus-visible {
        transform: none;
    }
}

.tf-button-light {
    background: var(--tf-paper);
    color: var(--tf-green);
}

.tf-button-light:hover,
.tf-button-light:focus-visible {
    background: var(--tf-white);
    color: var(--tf-green);
}

.tf-archive,
.tf-article {
    color: var(--tf-ink);
    font-family: "Inter", "Noto Sans Malayalam", "Noto Naskh Arabic", sans-serif;
    line-height: 1.7;
}

.tf-archive .container,
.tf-article .container {
    width: 100%;
    max-width: var(--tf-width);
    margin-inline: auto;
    padding-inline: 24px;
}

.tf-archive-intro,
.tf-article-header {
    padding: 42px 0 56px;
    background: var(--tf-paper);
}

.tf-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 30px;
    color: var(--tf-muted);
    font-size: 12px;
}

.tf-breadcrumbs a {
    color: var(--tf-green);
}

.tf-archive h1,
.tf-article h1,
.tf-archive h2,
.tf-article h2,
.tf-article h3 {
    color: var(--tf-ink);
    font-family: Georgia, "Times New Roman", "Noto Naskh Arabic", "Noto Sans Malayalam", serif;
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.25;
}

.tf-about-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: stretch;
    gap: 28px;
}

.tf-about-art {
    display: grid;
    min-height: 380px;
    place-items: center;
    overflow: hidden;
    border-radius: 180px 180px 18px 18px;
    background:
        radial-gradient(ellipse at 50% 25%, rgba(255, 255, 255, .34), transparent 38%),
        linear-gradient(145deg, #1b493c 0%, #276653 48%, #102d26 100%);
    color: rgba(255, 255, 255, .94);
    font-family: "Noto Naskh Arabic", "Noto Sans Arabic", serif;
    font-size: clamp(4rem, 9vw, 7rem);
    font-weight: 700;
    text-shadow: 0 4px 24px rgba(16, 43, 33, .3);
}

.tf-about-copy,
.tf-author-card {
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--tf-line);
    border-radius: 18px;
    background: var(--tf-white);
    box-shadow: var(--tf-shadow);
}

.tf-about-copy h2,
.tf-author-card h2 {
    margin: 0 0 16px;
    color: var(--tf-ink);
    font-family: Georgia, "Times New Roman", "Noto Naskh Arabic", "Noto Sans Malayalam", serif;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.tf-about-copy p,
.tf-author-bio {
    color: var(--tf-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.tf-about-copy p:last-child,
.tf-author-bio > :last-child {
    margin-bottom: 0;
}

.tf-author-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.tf-author-card h2 {
    margin-top: 10px;
}

.tf-author-category-heading {
    margin-top: 48px;
}

.tf-about-copy h2:not(:first-of-type) {
    margin-top: 30px;
}

.tf-author-bio > :first-child {
    margin-top: 0;
}

.tf-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.tf-video-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--tf-line);
    border-radius: 16px;
    background: var(--tf-white);
    box-shadow: var(--tf-shadow);
}

.tf-video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #102d26;
}

.tf-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.tf-video-unavailable {
    display: grid;
    min-height: 220px;
    place-items: center;
    padding: 24px;
    color: rgba(255, 255, 255, .85);
    text-align: center;
}

.tf-video-copy {
    padding: 22px;
}

.tf-video-copy h2 {
    margin: 0;
    font-size: 1.4rem;
}

.tf-video-category {
    margin: 0 0 8px;
    color: var(--tf-green-light);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

html[dir="rtl"] .tf-home h1 {
    text-align: right;
}

html[dir="rtl"] .tf-home,
html[dir="rtl"] .tf-archive,
html[dir="rtl"] .tf-article {
    font-family: "Noto Naskh Arabic", "Noto Sans Malayalam", "Inter", sans-serif;
}

.tf-archive h1,
.tf-article h1 {
    max-width: 900px;
    margin: 14px 0;
    font-size: clamp(2.3rem, 5.5vw, 4.5rem);
}

.tf-archive-lead {
    max-width: 680px;
    margin: 0;
    color: var(--tf-muted);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.tf-search-page .tf-archive-intro {
    padding-bottom: 50px;
}

.tf-search-form {
    display: flex;
    width: min(100%, 720px);
    gap: 10px;
    margin-top: 28px;
}

.tf-search-form input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 54px;
    padding: 12px 16px;
    border: 1px solid var(--tf-line);
    border-radius: 12px;
    background: var(--tf-white);
    color: var(--tf-ink);
    font: inherit;
}

.tf-search-form button {
    min-width: 110px;
    min-height: 54px;
    padding: 12px 20px;
    border: 0;
    border-radius: 12px;
    background: var(--tf-green);
    color: var(--tf-white);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.tf-search-form button:hover {
    background: var(--tf-green-light);
}

.tf-archive-list {
    min-height: 360px;
    padding: 64px 0 78px;
    background: rgba(255, 255, 255, .68);
}

.tf-archive .tf-section-heading,
.tf-article .tf-section-heading {
    margin-bottom: 28px;
}

.tf-archive .tf-section-heading h2,
.tf-article .tf-section-heading h2 {
    margin: 10px 0 0;
    font-size: clamp(1.8rem, 3.4vw, 2.7rem);
}

.tf-archive .tf-story-grid,
.tf-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.tf-archive .tf-story-card,
.tf-related-grid .tf-story-card {
    min-width: 0;
}

.tf-archive .tf-story-card > a,
.tf-related-grid .tf-story-card > a {
    display: block;
    height: 100%;
    color: inherit;
}

.tf-archive .tf-story-card h3,
.tf-related-grid .tf-story-card h3 {
    margin: 9px 0 12px;
    font-size: 1.35rem;
}

.tf-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 44px;
}

.tf-pagination a,
.tf-pagination span {
    display: grid;
    min-width: 42px;
    min-height: 42px;
    place-items: center;
    padding: 8px 12px;
    border: 1px solid var(--tf-line);
    border-radius: 10px;
    background: var(--tf-white);
    color: var(--tf-ink);
    font-size: 13px;
}

.tf-pagination a:hover,
.tf-pagination .is-current {
    border-color: var(--tf-green);
    background: var(--tf-green);
    color: var(--tf-white);
}

.tf-pagination .is-disabled {
    color: #a7ada8;
}

.tf-archive .tf-empty-state {
    max-width: 760px;
    margin: 0 auto;
    color: var(--tf-muted);
    text-align: center;
}

.tf-article-header {
    padding-bottom: 48px;
}

.tf-article-header h1 {
    max-width: 920px;
}

.tf-article-deck {
    max-width: 800px;
    color: var(--tf-muted);
    font-size: clamp(1rem, 1.65vw, 1.3rem);
}

.tf-article-deck > :first-child {
    margin-top: 0;
}

.tf-article-deck > :last-child {
    margin-bottom: 0;
}

.tf-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 26px;
    color: var(--tf-muted);
    font-size: 13px;
}

.tf-article-meta a {
    color: var(--tf-green);
    font-weight: 700;
}

.tf-article-reading {
    max-width: 900px !important;
    padding-top: 46px !important;
    padding-bottom: 68px !important;
}

.tf-article-cover {
    overflow: hidden;
    margin: 0 0 26px;
    border-radius: 18px;
    background: linear-gradient(135deg, #d5d9cd, #829b88);
}

.tf-article-cover img {
    display: block;
    width: 100%;
    max-height: 600px;
    object-fit: cover;
}

.tf-article-cover.is-image-missing {
    display: grid;
    min-height: 220px;
    place-items: center;
}

.tf-article-cover.is-image-missing::after,
.tf-related-image.is-image-missing .tf-carousel-image-link::after {
    color: rgba(255, 255, 255, .7);
    content: "THEOFORT";
    font-family: Georgia, serif;
    font-size: 1.5rem;
    letter-spacing: .14em;
}

.tf-related-image.is-image-missing .tf-carousel-image-link {
    display: grid;
    min-height: 340px;
    place-items: center;
}

.tf-article-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 32px;
    color: var(--tf-muted);
    font-size: 12px;
}

.tf-article-tools a {
    padding: 7px 11px;
    border: 1px solid var(--tf-line);
    border-radius: 999px;
    color: var(--tf-green);
    font-weight: 700;
}

.tf-article-body {
    color: #303a34;
    font-size: 1.05rem;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.tf-article-body > :first-child {
    margin-top: 0;
}

.tf-article-body h2,
.tf-article-body h3,
.tf-article-body h4 {
    margin: 1.8em 0 .6em;
    color: var(--tf-ink);
    font-family: Georgia, "Noto Naskh Arabic", "Noto Sans Malayalam", serif;
    line-height: 1.35;
}

.tf-article-body img,
.tf-article-body iframe,
.tf-article-body video {
    max-width: 100%;
}

.tf-article-body img {
    height: auto;
}

.tf-article-body iframe,
.tf-article-body video {
    display: block;
    margin-inline: auto;
}

.tf-article-body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.tf-article-body blockquote {
    margin: 1.8em 0;
    padding: 8px 22px;
    border-inline-start: 3px solid var(--tf-gold);
    color: var(--tf-green);
    font-family: Georgia, "Noto Naskh Arabic", "Noto Sans Malayalam", serif;
    font-size: 1.2rem;
}

.tf-related-section,
.tf-comments-section {
    padding: 68px 0;
    background: rgba(255, 255, 255, .68);
}

.tf-related-feature {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    overflow: hidden;
    border: 1px solid var(--tf-line);
    border-radius: 18px;
    background: var(--tf-white);
    box-shadow: var(--tf-shadow);
}

.tf-related-image {
    min-height: 340px;
    background: linear-gradient(135deg, #d5d9cd, #829b88);
}

.tf-related-image .tf-carousel-image-link,
.tf-related-image .carousel-image {
    display: block;
    width: 100%;
    height: 100%;
}

.tf-related-image .carousel-image {
    min-height: 340px;
    object-fit: cover;
}

.tf-related-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 4vw, 52px);
}

.tf-related-content h3 {
    margin: 18px 0 28px;
    font-size: clamp(1.5rem, 2.7vw, 2.3rem);
}

.tf-related-content h3 a {
    color: inherit;
}

.tf-related-content .article-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tf-related-content .article-dots .dot {
    width: 9px;
    height: 9px;
    border: 1px solid var(--tf-green);
    border-radius: 50%;
    cursor: pointer;
}

.tf-related-content .article-dots .dot.active {
    background: var(--tf-green);
}

.tf-related-grid {
    display: none;
    margin-top: 30px;
}

.tf-comments {
    max-width: 820px;
    margin-inline: auto;
}

.tf-comments .comment-form form {
    display: grid;
    gap: 10px;
}

.tf-comments .comment-form input,
.tf-comments .comment-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--tf-line);
    border-radius: 10px;
    background: var(--tf-white);
    color: var(--tf-ink);
    font: inherit;
}

.tf-comments .comment-form textarea {
    resize: vertical;
}

.tf-comments .comment-form label {
    margin-top: 6px;
    color: var(--tf-muted);
    font-size: 13px;
}

.tf-comments .btn-after {
    display: none;
}

.tf-comments .btn-after:not(.hidden) {
    display: inline-flex;
    cursor: wait;
}

.tf-comment-success {
    margin: 14px 0;
    padding: 14px;
    border-radius: 10px;
    background: #e9eee7;
    color: var(--tf-green);
}

.tf-archive a:focus-visible,
.tf-article a:focus-visible,
.tf-article button:focus-visible,
.tf-article input:focus-visible,
.tf-article textarea:focus-visible {
    outline: 3px solid var(--tf-gold);
    outline-offset: 3px;
}

.tf-search-page a:focus-visible,
.tf-search-page button:focus-visible,
.tf-search-page input:focus-visible {
    outline: 3px solid var(--tf-gold);
    outline-offset: 3px;
}

.page-header {
    margin-top: 0;
}

html[dir="rtl"] .tf-archive,
html[dir="rtl"] .tf-article {
    text-align: start;
}

html[dir="rtl"] .tf-article-body {
    direction: rtl;
}

.tf-footer {
    padding: 46px 0 22px;
    background: #122f29;
    color: rgba(255, 255, 255, .78);
}

.tf-footer .footer-header {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    padding-bottom: 22px;
}

.tf-footer .footer-logo img {
    width: auto;
    max-width: 190px;
    max-height: 54px;
    object-fit: contain;
}

.tf-footer .footer-social-icon {
    color: var(--tf-white);
}

.tf-footer .footer-social-icon svg path {
    fill: #e3c28c;
}

.tf-footer .footer-links-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    padding: 24px 0;
}

.tf-footer .footer-tile {
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    color: rgba(255, 255, 255, .86);
}

.tf-footer .footer-tile:hover,
.tf-footer .footer-tile:focus-visible {
    border-color: #e3c28c;
    color: var(--tf-white);
}

.tf-footer .footer-tile span.active {
    color: #e3c28c;
}

.tf-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding-top: 20px;
}

.tf-footer .copyright,
.tf-footer .footer-social-title {
    color: rgba(255, 255, 255, .7);
}

.tf-footer {
    font-family: "Inter", "Noto Sans Malayalam", "Noto Naskh Arabic", sans-serif;
}

.tf-header a:focus-visible,
.tf-footer a:focus-visible,
.tf-home a:focus-visible,
.tf-home button:focus-visible {
    outline: 3px solid var(--tf-gold);
    outline-offset: 3px;
}

html[dir="rtl"] .tf-home,
html[dir="rtl"] .tf-footer {
    font-family: "Noto Naskh Arabic", "Noto Sans Malayalam", sans-serif;
    text-align: start;
}

html[dir="rtl"] .tf-home .tf-category-card h3 {
    margin: 0;
}

html[dir="rtl"] .tf-carousel-next span {
    transform: scaleX(-1);
}

@media (max-width: 1050px) {
    .tf-header .nav-container {
        gap: 12px;
    }

    .tf-header .nav-item .nav-link {
        padding-inline: 8px;
        font-size: 12px;
    }

    .tf-hero-grid {
        gap: 32px;
    }
}

@media (max-width: 820px) {
    .tf-hero {
        padding: 44px 0;
    }

    .tf-hero-grid {
        grid-template-columns: 1fr;
    }

    .tf-hero-art {
        width: min(100%, 620px);
        min-height: 350px;
        margin-inline: auto;
    }

    .tf-home .tf-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tf-story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tf-home .videos-content {
        grid-template-columns: 1fr;
    }

    .tf-home .videos-content-bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tf-archive .tf-story-grid,
    .tf-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tf-related-feature {
        grid-template-columns: 1fr;
    }

    .tf-related-image,
    .tf-related-image .carousel-image {
        min-height: 280px;
    }
}

@media (max-width: 560px) {
    .tf-home .container,
    .tf-footer .container {
        padding-inline: 18px;
    }

    .tf-header .logo img {
        max-width: 155px;
        max-height: 46px;
    }

    .tf-header .nav-collapsible {
        padding: 16px 18px;
    }

    .tf-home h1 {
        font-size: clamp(2.4rem, 12vw, 3.3rem);
    }

    .tf-hero {
        padding: 34px 0;
    }

    .tf-hero-art {
        min-height: 290px;
        border-radius: 125px 125px 14px 14px;
    }

    .tf-section {
        padding: 48px 0;
    }

    .tf-section-heading {
        display: block;
    }

    .tf-section-heading > p {
        margin-top: 14px;
    }

    .tf-home .tf-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .tf-home .tf-category-card {
        min-height: 92px;
        column-gap: 8px;
        padding: 10px 12px;
    }

    .tf-home .tf-category-card h3 {
        font-size: .9rem;
    }

    .tf-story-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .tf-home .videos-content-bottom {
        grid-template-columns: 1fr;
    }

    .tf-story-image {
        aspect-ratio: 1.55;
    }

    .tf-popular-card {
        grid-template-columns: 1fr;
    }

    .tf-popular-image,
    .tf-popular-image img {
        min-height: 250px;
        max-height: 340px;
    }

    .tf-popular-content {
        padding: 24px;
    }

    .tf-ecosystem-grid {
        grid-template-columns: 1fr;
    }

    .tf-archive .container,
    .tf-article .container {
        padding-inline: 18px;
    }

    .tf-archive-intro,
    .tf-article-header {
        padding: 30px 0 38px;
    }

    .tf-breadcrumbs {
        margin-bottom: 22px;
    }

    .tf-archive-list,
    .tf-related-section,
    .tf-comments-section {
        padding: 46px 0 54px;
    }

    .tf-archive .tf-story-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .tf-related-feature {
        display: none;
    }

    .tf-related-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .tf-article-reading {
        padding-top: 28px !important;
        padding-bottom: 46px !important;
    }

    .tf-article-cover img {
        max-height: 360px;
    }

    .tf-article-meta {
        gap: 8px 14px;
    }

    .tf-article-body {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .tf-home .tf-category-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tf-home *,
    .tf-header *,
    .tf-footer * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

.tf-header-spacer {
    height: 78px;
}

.tf-header .nav-container {
    min-height: 78px;
}

.tf-header .nav-close {
    display: none;
}

.tf-header .nav-list {
    flex-wrap: nowrap;
}

.tf-header .nav-item .nav-link {
    white-space: nowrap;
}

.tf-hero-mark {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, .9);
    font-family: "Noto Naskh Arabic", "Noto Sans Arabic", serif;
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-shadow: 0 4px 24px rgba(16, 43, 33, .3);
    unicode-bidi: isolate;
}

body.tf-menu-open {
    overflow: hidden;
}

@media (max-width: 1050px) and (min-width: 821px) {
    .tf-header .nav-item .nav-link {
        padding-inline: 6px;
        font-size: 11px;
    }

    .tf-header .nav-list {
        gap: 0;
    }
}

@media (max-width: 820px) {
    .tf-header-spacer {
        height: 70px;
        min-height: 70px;
    }

    .tf-header .nav-container {
        height: 70px;
        min-height: 70px;
        padding-inline: 18px;
    }

    .tf-header .menu-toggle {
        position: relative;
        z-index: 1002;
    }

    .tf-header .nav {
        position: fixed;
        inset-block: 70px 0;
        inset-inline: 0;
        z-index: 1001;
        width: 100%;
        max-height: calc(100dvh - 70px);
        overflow-y: auto;
        overscroll-behavior: contain;
        background: var(--tf-paper);
        transform: translateX(-100%);
        visibility: hidden;
        transition: transform .25s ease, visibility .25s ease;
    }

    .tf-header .nav.open {
        transform: translateX(0);
        visibility: visible;
    }

    html[dir="rtl"] .tf-header .nav {
        transform: translateX(100%);
    }

    html[dir="rtl"] .tf-header .nav.open {
        transform: translateX(0);
    }

    .tf-header .nav-collapsible {
        min-height: 100%;
        height: auto;
        padding: 66px 22px 24px;
    }

    .tf-header .nav-close {
        position: absolute;
        inset-block-start: 12px;
        inset-inline-end: 18px;
        z-index: 2;
        display: grid;
        width: 42px;
        height: 42px;
        place-items: center;
        border: 1px solid var(--tf-line);
        border-radius: 50%;
        background: var(--tf-white);
        color: var(--tf-green);
        font-size: 28px;
        cursor: pointer;
    }

    .tf-header .nav-list {
        width: min(100%, 520px);
        margin-inline: auto;
        padding: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .tf-header .nav-item .nav-link {
        justify-content: flex-start;
        min-height: 48px;
        white-space: normal;
    }

    .tf-header .menu-toggle {
        display: inline-flex !important;
    }

    .tf-header .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        display: none;
    }

    .tf-header .dropdown.open > .dropdown-menu {
        display: block;
    }

    .tf-header .dropdown-menu .dropdown-link {
        min-height: 44px;
    }

    .tf-header a:focus-visible,
    .tf-header button:focus-visible {
        outline: 3px solid var(--tf-gold);
        outline-offset: 2px;
    }

    .tf-search-form {
        flex-wrap: wrap;
    }

    .tf-search-form input,
    .tf-search-form button {
        min-height: 50px;
    }

    .tf-about-layout {
        grid-template-columns: 1fr;
    }

    .tf-about-art {
        min-height: 300px;
        max-width: 480px;
        width: 100%;
        margin-inline: auto;
    }

    .tf-video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .tf-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .tf-hero-actions .tf-button {
        width: 100%;
    }

    .tf-about-copy,
    .tf-author-card {
        padding: 22px;
    }

    .tf-about-art {
        min-height: 260px;
        border-radius: 125px 125px 14px 14px;
    }
}
