:root {
    --tn-ink: #142725;
    --tn-muted: #4c6360;
    --tn-deep: #102d2a;
    --tn-green: #14564c;
    --tn-paper: #faf9f4;
    --tn-wash: #eef3ed;
    --tn-line: #d7e2da;
    --tn-gold: #f4ce75;
    --tn-sans: "DM Sans", system-ui, -apple-system, sans-serif;
    --tn-serif: Georgia, "Times New Roman", serif;
}
.tn-page { margin: 0; color: var(--tn-ink); background: var(--tn-paper); font: 16px/1.6 var(--tn-sans); }
.tn-page *, .tn-header *, .tn-footer * { box-sizing: border-box; }
.tn-page h1, .tn-page h2, .tn-page h3 { margin: 0; line-height: 1.15; }
.tn-page p { margin: 0; }
.tn-page a { color: var(--tn-green); }
.tn-wrap { width: min(100% - 48px, 1184px); margin-inline: auto; }
.tn-header, .tn-footer { font: 15px/1.5 var(--tn-sans); }
.tn-header { position: relative; z-index: 20; background: #fff; border-bottom: 1px solid var(--tn-line); }
.tn-header a, .tn-footer a { text-decoration: none; }
.tn-nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.tn-brand { display: inline-flex; align-items: center; color: var(--tn-deep) !important; font: 700 27px/1 var(--tn-sans); letter-spacing: -.06em; white-space: nowrap; }
.tn-brand-domain { font-size: .66em; letter-spacing: -.035em; padding-top: 4px; }
.tn-mark { position: relative; display: inline-block; border-radius: 8px; width: 35px; height: 35px; background: var(--tn-green); margin-right: 9px; }
.tn-mark::before { content: ''; position: absolute; width: 15px; height: 16px; inset: 9px auto auto 10px; border: 1.5px solid #fff; border-radius: 2px; }
.tn-mark::after { content: ''; position: absolute; top: 14px; left: 13px; width: 9px; height: 6px; border-block: 1px solid #fff; }
.tn-nav-links { display: flex; align-items: center; gap: clamp(12px, 2.1vw, 30px); }
.tn-nav-links a, .tn-nav-links summary { color: var(--tn-ink); font-weight: 600; white-space: nowrap; }
.tn-nav-links a:hover, .tn-nav-links summary:hover { color: var(--tn-green); text-decoration: underline; }
.tn-menu { position: relative; }
.tn-menu summary, .tn-all-departments summary { cursor: pointer; }
.tn-menu-panel { position: absolute; left: 0; top: calc(100% + 12px); width: min(335px, 78vw); max-height: 66vh; overflow: auto; border: 1px solid var(--tn-line); background: white; border-radius: 12px; padding: 8px; box-shadow: 0 12px 32px #17382c26; }
.tn-menu-panel a { display: block; padding: 6px 9px; white-space: normal; }
.tn-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--tn-green); color: white !important; border: 1px solid transparent; border-radius: 9px; padding: 11px 16px; font: 700 15px/1.4 var(--tn-sans); white-space: nowrap; text-decoration: none !important; cursor: pointer; }
.tn-button:hover { background: var(--tn-deep); }
.tn-button-gold { background: var(--tn-gold); color: var(--tn-deep) !important; }
.tn-button-gold:hover { background: #ffe29e; }
.tn-skip, .tn-visually-hidden { width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); position: absolute; white-space: nowrap; }
.tn-skip:focus { inset: 10px auto auto 10px; width: auto; height: auto; clip-path: none; background: white; padding: 8px 14px; z-index: 30; }
.tn-page :focus-visible, .tn-header :focus-visible, .tn-footer :focus-visible { outline: 3px solid #ac721d; outline-offset: 4px; }
.tn-home-hero, .tn-inner-hero { background: var(--tn-deep); color: #fff; }
.tn-hero-grid { display: grid; grid-template-columns: 1.24fr .86fr; gap: clamp(30px, 6vw, 90px); align-items: center; padding-block: clamp(52px, 6vw, 93px); }
.tn-kicker { font-size: .76rem; font-weight: 750; text-transform: uppercase; letter-spacing: .115em; color: var(--tn-gold); }
.tn-hero-content h1, .tn-inner-hero h1 { margin-top: 14px; font: 400 clamp(46px, 5.4vw, 80px)/.99 var(--tn-serif); letter-spacing: -.064em; text-wrap: balance; }
.tn-hero-content h1 em { color: var(--tn-gold); font-weight: 400; }
.tn-page .tn-lead { color: #dae8df; margin-top: 22px; max-width: 49ch; font-size: clamp(16px, 1.5vw, 19px); }
.tn-search { display: flex; background: #fff; border-radius: 12px; margin-top: 27px; padding: 5px; max-width: 610px; }
.tn-search input { flex: 1; width: 0; min-width: 0; color: var(--tn-ink); border: 0; background: transparent; border-radius: 8px; padding: 11px 13px; font: inherit; }
.tn-search input::placeholder { color: var(--tn-muted); }
.tn-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 9px; margin-top: 17px; font-size: 13px; color: #c5d5cb; }
.tn-popular a { color: #fff; text-decoration: none; border: 1px solid #69847b; border-radius: 30px; padding: 3px 9px; }
.tn-popular a:hover { background: #244c45; }
.tn-hero-photo { position: relative; margin: 0; border-radius: 20px; min-height: 325px; height: 100%; max-height: 475px; overflow: hidden; background: #335650; }
.tn-hero-photo img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 44% center; }
.tn-hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #102e2c40, transparent 55%); pointer-events: none; }
.tn-section { padding-block: clamp(42px, 5vw, 72px); }
.tn-section-alt { background: var(--tn-wash); border-block: 1px solid var(--tn-line); }
.tn-section-head, .tn-help { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.tn-section-head { margin-bottom: 25px; }
.tn-section-head h2, .tn-help h2 { font: 400 clamp(30px, 3.4vw, 48px)/1.1 var(--tn-serif); letter-spacing: -.045em; }
.tn-section-head p, .tn-help p { color: var(--tn-muted); margin-top: 7px; }
.tn-text-link { color: var(--tn-green); font-weight: 700; text-decoration: none; }
.tn-text-link:hover { text-decoration: underline; }
.tn-grid { display: grid; gap: 13px; }
.tn-department-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tn-topics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tn-card { background: #fff; border: 1px solid var(--tn-line); border-radius: 12px; padding: 20px; }
.tn-department { display: flex; align-items: center; gap: 12px; line-height: 1.25; text-decoration: none; color: var(--tn-ink) !important; }
.tn-department:hover, .tn-topic:focus-within { border-color: var(--tn-green); }
.tn-department small { display: block; color: var(--tn-muted); margin-top: 4px; font-size: .82rem; }
.tn-book { flex: 0 0 32px; align-self: center; height: 35px; border-radius: 8px; background: var(--tn-wash); position: relative; }
.tn-book::before { content: ''; position: absolute; inset: 9px 10px; border: 1px solid var(--tn-green); border-radius: 2px; }
.tn-book::after { content: ''; position: absolute; inset: 14px 13px; border-block: 1px solid var(--tn-green); }
.tn-arrow { margin-left: auto; color: var(--tn-green); }
.tn-all-departments { margin-top: 14px; }
.tn-all-departments summary { color: var(--tn-green); font-weight: 700; padding: 7px 0; }
.tn-all-departments > div { margin-top: 10px; }
.tn-topic { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; }
.tn-topic h2, .tn-topic h3 { font: 600 20px/1.3 var(--tn-sans); }
.tn-topic h2 a, .tn-topic h3 a { color: var(--tn-ink); text-decoration: none; }
.tn-topic h2 a:hover, .tn-topic h3 a:hover { text-decoration: underline; }
.tn-category, .tn-post-date { color: var(--tn-muted); font-weight: 650; font-size: .81rem; }
.tn-card-link { margin-top: auto; padding-top: 8px; font-size: .92rem; }
.tn-excerpt { color: var(--tn-muted); }
.tn-footer { background: var(--tn-deep); color: #d8e7de; }
.tn-footer-content { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 34px; }
.tn-footer .tn-brand, .tn-footer a { color: white !important; }
.tn-footer p { margin: 12px 0 0; }
.tn-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.tn-footer nav a:hover { text-decoration: underline; }
.tn-footer-bottom { padding-block: 13px; border-top: 1px solid #55736b; font-size: 13px; }
.tn-inner-hero { padding-block: clamp(36px, 5vw, 65px); }
.tn-inner-hero h1 { font-size: clamp(40px, 5vw, 65px); max-width: 24ch; }
.tn-inner-hero p { margin-top: 12px; }
.tn-back { display: inline-block; color: #fff !important; margin-bottom: 12px; }
.tn-article { width: min(100%, 760px); font-size: 17px; }
.tn-article p, .tn-article ul, .tn-article ol, .tn-article blockquote { margin: 0 0 1.25em; }
.tn-article h2, .tn-article h3, .tn-article h4 { margin: 1.1em 0 .6em; }
.tn-article a { overflow-wrap: anywhere; text-decoration: underline; }
.tn-pagination { margin-top: 25px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.tn-form-card { max-width: 540px; }
.tn-form-card label { display: block; margin: 12px 0 5px; font-weight: 700; }
.tn-form-card input:not([type=submit]) { width: 100%; min-height: 45px; border: 1px solid #a0b5aa; border-radius: 8px; padding: 8px 12px; font: inherit; }
.tn-form-card button { margin-top: 18px; }
.tn-feedback { padding: 10px 12px; border-radius: 8px; background: var(--tn-wash); }

.tn-legacy { background: var(--tn-paper); color: var(--tn-ink); font-family: var(--tn-sans); }
.tn-legacy .mbr-after-navbar { padding-top: 0; margin-top: 0; }
.tn-legacy .mbr-overlay { background-color: var(--tn-deep) !important; opacity: .88 !important; }
.tn-legacy .mbr-hero__text, .tn-legacy .mbr-header__text { font-family: var(--tn-serif); letter-spacing: -.025em; }
.tn-legacy .mbr-article { overflow-wrap: anywhere; }
.tn-legacy main .mbr-article > a, .tn-legacy main .mbr-article strong > a { color: var(--tn-green); }
.tn-legacy .btn-danger, .tn-legacy .btn-primary, .tn-legacy input.submit { background: var(--tn-green) !important; border-color: var(--tn-green) !important; color: #fff !important; border-radius: 8px; }
.tn-legacy .form-control, .tn-legacy form input[type=text], .tn-legacy form input[type=email], .tn-legacy form textarea { border-radius: 8px; }
.tn-legacy #social-buttons1-5 { background: var(--tn-wash) !important; color: var(--tn-ink); }
.tn-legacy #social-buttons1-5 .mbr-header__text { color: var(--tn-ink); }
.tn-legacy .tn-results { width: min(100% - 48px, 1000px); margin: 30px auto 40px; border-radius: 14px; background: white; border: 1px solid var(--tn-line); padding-inline: clamp(8px, 3vw, 34px); }
.tn-legacy .tn-results .mbr-hero__text a { color: var(--tn-green); }
@media (max-width: 850px) {
    .tn-nav { flex-wrap: wrap; gap: 9px 14px; padding-block: 11px; }
    .tn-nav-links { order: 3; flex-basis: 100%; flex-wrap: wrap; gap: 6px 15px; }
    .tn-department-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tn-hero-grid { gap: 25px; }
    .tn-hero-photo { min-height: 270px; }
}
@media (max-width: 620px) {
    .tn-wrap { width: calc(100% - 32px); }
    .tn-hero-grid { grid-template-columns: 1fr; padding-block: 38px 30px; }
    .tn-hero-photo { min-height: 205px; }
    .tn-section-head, .tn-help, .tn-footer-content { align-items: start; flex-direction: column; }
    .tn-topics-grid { grid-template-columns: 1fr; }
    .tn-card { padding: 13px; }
    .tn-department .tn-book { display: none; }
    .tn-search .tn-button { padding-inline: 8px; font-size: 13px; }
    .tn-search input { padding-inline: 7px; font-size: 14px; }
}
.tn-legacy .tn-research-copy { max-width: 74ch; margin-inline: auto; font-size: clamp(16px, 1.65vw, 19px); line-height: 1.72; }
.tn-legacy main #msg-box4-16, .tn-legacy main #msg-box3-10 { background-color: var(--tn-paper) !important; }
.tn-legacy main #msg-box4-16 table { max-width: 100%; }
.tn-share { display: flex; flex-wrap: wrap; gap: 15px; border-top: 1px solid var(--tn-line); padding-block: 14px 24px; font-size: .9rem; }
.tn-legacy .tn-inner-hero h1, .tn-legacy .tn-inner-hero p { margin-bottom: 0; }
.tn-legacy .tn-inner-hero .tn-search input { font-size: 16px; }
.tn-legacy .tn-catalogue-title { margin-top: 0; font: 400 clamp(29px, 3.5vw, 46px)/1.15 var(--tn-serif); letter-spacing: -.035em; text-align: center; }
.tn-legacy .tn-catalogue-title a { color: inherit; }
.tn-legacy .tn-results:has(.tn-catalogue-title) { padding-block: clamp(25px, 4vw, 50px); }
.tn-form-card textarea { width: 100%; border: 1px solid #a0b5aa; border-radius: 8px; padding: 8px 12px; font: inherit; resize: vertical; }
.tn-contact-grid { display: grid; grid-template-columns: minmax(0, 540px) minmax(0, 310px); align-items: start; gap: 23px; }
.tn-contact-info { display: grid; gap: 8px; }
.tn-contact-info h2 { font: 400 27px/1.15 var(--tn-serif); margin-bottom: 5px; }
@media (max-width: 620px) { .tn-contact-grid { grid-template-columns: 1fr; } }

/* Topics.com.ng editorial directory and reading layout. */
:root {
    --tn-ink: #221934;
    --tn-muted: #5c536a;
    --tn-deep: #281d47;
    --tn-green: #4c3285;
    --tn-paper: #fbf8f0;
    --tn-wash: #f0eaf8;
    --tn-line: #dfd7e8;
    --tn-gold: #ffc89e;
}
.tn-header { background: var(--tn-paper); }
.tn-brand { letter-spacing: -.04em; }
.tn-mark { border-radius: 3px; transform: rotate(-5deg); }
.tn-button { border-radius: 5px; }
.tn-masthead { background: #f0eaf8; border-bottom: 1px solid var(--tn-line); }
.tn-masthead-grid { display:grid; grid-template-columns: minmax(0,1fr) minmax(245px, .46fr); align-items: start; gap: clamp(32px, 7vw, 110px); padding-block: clamp(46px, 7vw, 96px); }
.tn-masthead .tn-kicker { color: var(--tn-green); }
.tn-masthead h1 { margin-top: 14px; font: 400 clamp(47px, 6.8vw, 98px)/.94 var(--tn-serif); letter-spacing: -.059em; }
.tn-page .tn-masthead-lead { margin-top: 23px; max-width: 49ch; font-size: 19px; color: var(--tn-muted); }
.tn-masthead .tn-search { border-radius: 5px; border: 1px solid #9b8bab; }
.tn-browse-all { display: inline-block; margin-top: 17px; }
.tn-field-index { background: #fffdf8; border-top: 5px solid var(--tn-deep); padding: 23px; margin-top: 6px; box-shadow: 8px 8px 0 #dfd2ef; }
.tn-field-index h2 { font: 400 30px/1.1 var(--tn-serif); }
.tn-field-index ul, .tn-directory-links { padding: 0; margin: 13px 0; list-style: none; }
.tn-field-index li, .tn-directory-links li { border-bottom: 1px solid var(--tn-line); }
.tn-field-index li a, .tn-directory-links a { display: flex; justify-content: space-between; gap: 12px; padding-block: 8px; text-decoration: none; color: var(--tn-ink); }
.tn-field-index li a:hover, .tn-directory-links a:hover { color: var(--tn-green); text-decoration: underline; }
.tn-field-index > a { display: inline-block; margin-top: 5px; }
.tn-research-guide article { padding: 16px 17px 10px 0; border-top: 2px solid var(--tn-green); }
.tn-research-guide article h3 { font: 400 24px/1.15 var(--tn-serif); margin-bottom: 8px; }
.tn-research-guide article p { color: var(--tn-muted); }
.tn-home .tn-help { border-top: 1px solid var(--tn-line); }
.tn-inner-hero { background: #f0eaf8; color: var(--tn-ink); border-bottom: 1px solid var(--tn-line); }
.tn-inner-hero .tn-kicker, .tn-inner-hero .tn-back { color: var(--tn-green) !important; }
.tn-letter-nav { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 20px; }
.tn-letter-nav a { border: 1px solid var(--tn-line); background: #fffdf8; padding: 5px 10px; text-decoration: none; font-weight: 700; }
.tn-directory-group { display: grid; grid-template-columns: 55px 1fr; gap: 22px; border-top: 1px solid var(--tn-line); padding: 18px 0; scroll-margin-block: 12px; }
.tn-directory-group h2 { font: 400 36px/1 var(--tn-serif); }
.tn-directory-links { columns: 3; column-gap: 25px; margin: 0; }
.tn-directory-links li { break-inside: avoid; }
.tn-blog-list { max-width: 830px; }
.tn-blog-entry { border-top: 1px solid var(--tn-line); padding-block: 23px; }
.tn-blog-entry h2 { font: 400 clamp(24px, 3.3vw, 37px)/1.13 var(--tn-serif); margin-block: 5px 11px; }
.tn-blog-entry h2 a { color: var(--tn-ink); text-decoration: none; }
.tn-blog-entry h2 a:hover { text-decoration: underline; }
.tn-blog-entry .tn-text-link { display: inline-block; margin-top: 10px; }
.tn-breadcrumb { padding-top: 18px; font-size: .875rem; }
.tn-breadcrumb a, .tn-related a { color: var(--tn-green); }
.tn-related { padding-block: 22px 34px; }
.tn-related h2 { font: 400 28px/1.2 var(--tn-serif); }
.tn-related li { margin-bottom: 6px; }
.tn-ad { display: block; width: min(100% - 48px, 920px); margin: 24px auto; text-align: center; color: var(--tn-muted); }
.tn-ad small { display: block; margin-bottom: 4px; }
.tn-ad-unit { display: block; min-height: 110px; }
@media (max-width: 820px) { .tn-directory-links { columns: 2; } }
@media (max-width: 620px) {
    .tn-masthead-grid { grid-template-columns: 1fr; }
    .tn-masthead h1 { font-size: clamp(38px, 10vw, 59px); }
    .tn-masthead h1 br { display: none; }
    .tn-directory-group { grid-template-columns: 35px 1fr; gap: 10px; }
    .tn-directory-links { columns: 1; }
}

/* The catalogue uses a library workspace, with dedicated navigation and browsing. */
:root {
    --tn-ink: #16241f;
    --tn-muted: #4c6056;
    --tn-deep: #142d29;
    --tn-green: #195941;
    --tn-paper: #f6f7f2;
    --tn-wash: #eaf3ed;
    --tn-line: #d6e2d9;
}
.tn-header { background: var(--tn-deep); border-color: #2e4a43; }
.tn-header .tn-brand, .tn-header .tn-nav-links a { color: #f2faf4 !important; }
.tn-header .tn-mark { background: #bceccd; color: var(--tn-deep); transform: none; border-radius: 7px; }
.tn-header .tn-mark::before, .tn-header .tn-mark::after { border-color: var(--tn-deep); }
.tn-header .tn-nav-download { background: #bceccd; color: var(--tn-deep) !important; }
.tn-header .tn-nav-download:hover { background: #d7f5e1; }
.tn-inner-hero { background: #e5eee8; }
.tn-inner-hero h1 { font-family: var(--tn-sans); font-weight: 750; letter-spacing: -.052em; }
.tn-home { display: grid; grid-template-columns: 228px minmax(0,1fr); }
.tn-home .tn-header { border: 0; }
.tn-home .tn-nav { width: 100%; position: sticky; top: 0; padding: 32px 20px; flex-direction: column; align-items: stretch; gap: 33px; }
.tn-home .tn-brand { font-size: 24px; }
.tn-home .tn-nav-links { order: initial; display: flex; flex-direction: column; gap: 6px; flex-basis: auto; align-items: stretch; }
.tn-home .tn-nav-links a { padding: 10px 12px; border-radius: 7px; }
.tn-home .tn-nav-links a:hover, .tn-home .tn-nav-links a[aria-current] { background: #2b4b42; text-decoration: none; }
.tn-home .tn-nav-download { align-self: start; margin-left: 11px; }
.tn-home .tn-footer { grid-column: 1 / -1; }
.tn-library-main { min-width: 0; }
.tn-library-content { width: min(100%, 1200px); margin-inline: auto; padding: 35px clamp(18px, 5vw, 76px) 20px; }
.tn-library-title { margin-bottom: 30px; }
.tn-library-title h1 { font-size: clamp(33px, 4.8vw, 68px); font-weight: 780; line-height: 1.02; letter-spacing: -.062em; max-width: 15ch; }
.tn-library-title p { margin-top: 11px; color: var(--tn-muted); }
.tn-library-section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 15px; margin-bottom: 11px; }
.tn-library-section-head h2, .tn-library-find h2, .tn-library-guide h2 { font-size: 21px; letter-spacing: -.035em; }
.tn-library-section-head a { color: var(--tn-green); text-decoration: none; font-weight: 700; font-size: 14px; }
.tn-library-categories { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.tn-library-categories a { position: relative; display: flex; flex-direction: column; background: white; border: 1px solid var(--tn-line); border-radius: 11px; padding: 14px 15px; gap: 10px; min-height: 89px; color: var(--tn-ink); text-decoration: none; }
.tn-library-categories a:hover { border-color: var(--tn-green); background: #fbfffc; }
.tn-library-categories a strong { line-height: 1.15; }
.tn-category-mark { position: relative; display: block; width: 26px; height: 25px; border-radius: 6px; background: #d8f0e1; }
.tn-library-categories a:nth-child(3n+2) .tn-category-mark { background: #f9e4c4; }
.tn-library-categories a:nth-child(3n+3) .tn-category-mark { background: #e7e4f4; }
.tn-category-mark::before { content: ""; position: absolute; inset: 5px 8px; border: 1.5px solid #2c5546; border-radius: 2px; }
.tn-category-mark::after { content: ""; position: absolute; inset: 9px 11px; border-block: 1px solid #2c5546; }
.tn-library-arrow { position: absolute; top: 12px; right: 13px; color: var(--tn-green); }
.tn-library-find { margin-block: 19px 26px; padding: 17px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-radius: 10px; background: #e1eee6; }
.tn-library-find p { margin-top: 4px; color: var(--tn-muted); font-size: 14px; }
.tn-library-find .tn-search { flex: 0 1 429px; margin: 0; border-radius: 7px; }
.tn-library-find .tn-search input { font-size: 15px; }
.tn-library-guide { border-top: 1px solid var(--tn-line); padding-block: 21px; }
.tn-library-guide article { display: grid; grid-template-columns: minmax(155px,.4fr) 1fr; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--tn-line); }
.tn-library-guide h3 { font-size: 16px; }
.tn-library-guide article p { color: var(--tn-muted); font-size: 15px; }
@media (max-width: 930px) {
    .tn-home { grid-template-columns: 1fr; }
    .tn-home .tn-nav { position: static; flex-direction: row; justify-content: space-between; align-items: center; padding: 13px 18px; gap: 10px 15px; }
    .tn-home .tn-nav-links { flex-direction: row; flex-wrap: wrap; order: 3; flex-basis: 100%; gap: 2px; }
    .tn-home .tn-nav-links a { padding: 5px 7px; }
    .tn-home .tn-nav-download { align-self: auto; margin-left: 0; }
}
@media (max-width: 540px) {
    .tn-home .tn-nav { flex-wrap: wrap; }
    .tn-library-content { padding-top: 23px; }
    .tn-library-categories { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .tn-library-find { flex-direction: column; align-items: stretch; }
    .tn-library-find .tn-search { flex-basis: auto; }
    .tn-library-guide article { grid-template-columns: 1fr; gap: 4px; }
}

/* Blue public theme */
:root {
    --tn-ink: #142341;
    --tn-muted: #4c607c;
    --tn-deep: #10234a;
    --tn-green: #194db4;
    --tn-paper: #fff;
    --tn-wash: #edf4ff;
    --tn-line: #dce5f3;
    --tn-gold: #b8d4ff;
}
.tn-header { border-color: #dce5f3; background: #fff; }
.tn-header .tn-brand, .tn-header .tn-nav-links a { color: var(--tn-ink) !important; }
.tn-header .tn-mark { background: #194db4; }
.tn-header .tn-mark::before, .tn-header .tn-mark::after { border-color: white; }
.tn-header .tn-nav-download { background: #194db4; color: white !important; }
.tn-header .tn-nav-download:hover { background: #103b93; }
.tn-inner-hero { background: #edf4ff; }
.tn-blue-hero { background: radial-gradient(ellipse at 90% 15%, #244f94, transparent 58%), #10234a; color: white; }
.tn-blue-hero-grid { display: grid; grid-template-columns: minmax(0,1.22fr) minmax(0,.9fr); gap: clamp(26px,5.5vw,82px); align-items: center; padding-block: clamp(44px,6.5vw,95px); }
.tn-blue-intro h1 { margin: 13px 0 17px; font: 750 clamp(40px,6vw,78px)/1.02 var(--tn-sans); letter-spacing: -.061em; }
.tn-blue-intro > p:not(.tn-kicker) { color: #e2edff; max-width: 49ch; font-size: 17px; }
.tn-blue-intro .tn-search { max-width: 560px; border-radius: 9px; }
.tn-blue-intro .tn-search button { border-radius: 6px; }
.tn-blue-catalogue { display: inline-block; color: #d6e7ff !important; margin-top: 14px; font-weight: 650; font-size: 14px; }
.tn-blue-photo { margin: 0; position: relative; overflow: hidden; border: 1px solid #7d9ed3; border-radius: 16px; aspect-ratio: 1.28; background: #244f94; }
.tn-blue-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tn-blue-home .tn-section-head h2, .tn-blue-home .tn-help h2 { font: 740 clamp(27px,3.25vw,41px)/1.12 var(--tn-sans); letter-spacing: -.045em; }
.tn-blue-home .tn-library-categories a { min-height: 92px; border-radius: 9px; }
.tn-blue-home .tn-library-categories a:hover { background: #f4f8ff; }
.tn-blue-home .tn-library-categories a .tn-category-mark { background: #e0ecff; }
.tn-blue-home .tn-category-mark::before, .tn-blue-home .tn-category-mark::after { border-color: #194db4; }
.tn-blue-guide { background: #edf4ff; border-block: 1px solid var(--tn-line); }
.tn-blue-guide article h3 { font: 715 20px/1.2 var(--tn-sans); letter-spacing: -.025em; }
@media (max-width: 700px) {
    .tn-blue-hero-grid { grid-template-columns: 1fr; }
    .tn-blue-photo { width: 100%; aspect-ratio: 1.55; }
}
@media (max-width: 385px) {
    .tn-blue-intro h1 { font-size: 36px; }
}

.tn-project-search { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr) auto; align-items: end; gap: 12px; max-width: 890px; margin-top: 25px; }
.tn-project-search label { display: grid; gap: 5px; font-weight: 650; }
.tn-project-search input, .tn-project-search select { width: 100%; min-width: 0; min-height: 46px; border: 1px solid #a3b8d7; border-radius: 6px; padding: 8px 12px; color: var(--tn-ink); background: white; font: inherit; }
.tn-project-search button { min-height: 46px; }
.tn-page .tn-search-summary { margin-bottom: 22px; color: var(--tn-muted); }
@media (max-width: 620px) { .tn-project-search { grid-template-columns: minmax(0,1fr); } .tn-project-search button { justify-self: start; } }
