/*
Theme Name: Tessera
Description: Charcoal and gold consulting theme with data tiles.
Version: 1.6.1
Requires at least: 6.2
Requires PHP: 7.0
Text Domain: tessera
*/

.wp-site-blocks>* {
    margin-block-start: 0 !important;
}

.wp-site-blocks main>*:first-child {
    margin-block-start: 0;
}

.ts_board>li,
.ts_sequence>li {
    margin: 0 !important;
}

.ts_lay {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 44px;
    align-items: flex-start;
}

.ts_lay>* {
    margin-block-start: 0 !important;
}

.ts_lay_flow {
    flex: 999 1 620px;
    min-width: 0;
}

.ts_lay_flow>* {
    margin-block-start: 0;
}

.ts_lay_flow>.ts_item,
.ts_lay_flow>.ts_contrib,
.ts_lay_flow>.ts_invite {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.ts_lay>.ts_sidecol {
    flex: 1 1 290px;
    max-width: 100%;
    padding-top: 48px;
    padding-bottom: 48px;
}

@media (max-width:1000px) {
    .ts_lay>.ts_sidecol {
        padding-top: 0;
    }
}

:root {
    --tx-ch: #1C2331;
    --tx-ch2: #2E3850;
    --tx-gold: #C9A227;
    --tx-gold-t: #8A6D10;
    --tx-teal: #2BB3A3;
    --tx-teal-t: #1F7F74;
    --tx-violet: #7B5CE0;
    --tx-coral: #E06A4A;
    --tx-line: #E3E6EC;
    --tx-muted: #4A566E;
}

body {
    margin: 0;
    background: #fff;
    color: var(--tx-ch);
}

.ts_outer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.ts_go_main {
    position: absolute;
    left: -9999px;
}

.ts_go_main:focus {
    left: 16px;
    top: 16px;
    background: #fff;
    padding: 8px 12px;
    z-index: 99;
}

.ts_top {
    background: var(--tx-ch);
    color: #fff;
}

.ts_cap2_mid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--tx-ch2);
}

.ts_sig {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.ts_sig span {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.ts_sig b {
    font-weight: 800;
    font-size: 18px;
}

.ts_sig small {
    font-size: 12px;
    color: #A9B3C6;
}

.ts_tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
    font-size: 15px;
    font-weight: 500;
}

.ts_tabs a {
    color: #fff;
    text-decoration: none;
    padding: 6px 0;
}

.ts_tabs a:hover {
    color: var(--tx-gold);
}

.ts_knob {
    display: inline-block;
    background: var(--tx-gold);
    color: var(--tx-ch) !important;
    padding: 14px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    line-height: 1.3;
}

.ts_knob:hover {
    background: #D9B33C;
}

.ts_knob_line {
    background: transparent;
    color: #fff !important;
    border: 1.5px solid #5C6B85;
}

.ts_knob_line:hover {
    border-color: #fff;
    background: transparent;
}

.ts_knob_ch {
    background: var(--tx-ch);
    color: #fff !important;
}

.ts_knob_ch:hover {
    background: var(--tx-ch2);
}

.ts_spot {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
    padding: 60px 0 68px;
}

.ts_spot_txt {
    flex: 1 1 500px;
    min-width: 0;
}

.ts_spot_art {
    flex: 1 1 380px;
    min-width: 0;
}

.ts_spot_art svg {
    width: 100%;
    height: auto;
    display: block;
}

.ts_kicker {
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--tx-gold);
}

.ts_spot h1 {
    margin: 0 0 22px;
    font-size: clamp(36px,5vw,52px);
    line-height: 1.08;
    letter-spacing: -.02em;
    color: #fff;
}

.ts_lead {
    margin: 0 0 30px;
    font-size: 19px;
    line-height: 1.65;
    color: #C3CBDA;
    max-width: 540px;
}

.ts_actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ts_topics {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 16px;
    padding: 32px 0 0;
}

.ts_topics a {
    display: block;
    padding: 22px;
    border-radius: 8px;
    border-top: 5px solid;
    text-decoration: none;
    color: var(--tx-ch);
}

.ts_topics b {
    display: block;
    font-size: 17px;
    margin-bottom: 4px;
}

.ts_topics span {
    font-size: 14px;
    color: #3A4660;
}

.ts_x1 {
    background: #DDF4F0;
    border-color: var(--tx-teal) !important;
}

.ts_x2 {
    background: #F7EFD2;
    border-color: var(--tx-gold) !important;
}

.ts_x3 {
    background: #ECE6FB;
    border-color: var(--tx-violet) !important;
}

.ts_x4 {
    background: #FDE6DF;
    border-color: var(--tx-coral) !important;
}

.ts_deck {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 48px 0 64px;
}

.ts_flow {
    flex: 999 1 560px;
    min-width: 0;
}

.ts_sidecol {
    flex: 1 1 280px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ts_sidecol>* {
    margin: 0 !important;
}

.ts_h2 {
    margin: 0 0 22px;
    font-size: 14px !important;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--tx-muted);
}

.ts_board {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(min(100%,300px),1fr));
    gap: 24px;
}

.ts_brief {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-left: 5px solid var(--tx-teal);
    background: #fff;
    box-shadow: 0 1px 0 var(--tx-line),0 0 0 1px var(--tx-line);
}

.ts_board>li:nth-child(4n+2) .ts_brief {
    border-left-color: var(--tx-gold);
}

.ts_board>li:nth-child(4n+3) .ts_brief {
    border-left-color: var(--tx-violet);
}

.ts_board>li:nth-child(4n+4) .ts_brief {
    border-left-color: var(--tx-coral);
}

.ts_brief>* {
    margin-block: 0 !important;
}

.ts_brief .wp-block-post-featured-image img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.ts_brief_bl {
    padding: 18px 20px 22px;
}

.ts_brief_bl>*+* {
    margin-block-start: 8px;
}

.ts_brief .taxonomy-category,
.ts_item .taxonomy-category {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ts_brief .taxonomy-category a,
.ts_item .taxonomy-category a {
    color: var(--tx-teal-t);
    text-decoration: none;
}

.ts_board>li:nth-child(4n+2) .taxonomy-category a {
    color: var(--tx-gold-t);
}

.ts_board>li:nth-child(4n+3) .taxonomy-category a {
    color: #5B3FB0;
}

.ts_board>li:nth-child(4n+4) .taxonomy-category a {
    color: #B5452B;
}

.ts_brief .wp-block-post-title {
    font-size: 19px;
    line-height: 1.35;
    font-weight: 800;
}

.ts_brief .wp-block-post-title a {
    color: var(--tx-ch);
    text-decoration: none;
}

.ts_brief .wp-block-post-title a:hover {
    color: var(--tx-teal-t);
}

.ts_brief .wp-block-post-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: var(--tx-muted);
}

.wp-block-query-pagination {
    margin-top: 32px;
    gap: 8px;
    font-weight: 700;
}

.wp-block-query-pagination a,
.wp-block-query-pagination .page-numbers {
    padding: 9px 15px;
    border-radius: 6px;
    border: 1px solid var(--tx-line);
    color: var(--tx-ch);
    text-decoration: none;
}

.wp-block-query-pagination .page-numbers.current {
    background: var(--tx-ch);
    color: #fff;
}

.ts_module {
    border-radius: 10px;
    padding: 24px;
    background: #F7EFD2;
}

.ts_module h2 {
    margin: 0 0 10px;
    font-size: 20px;
}

.ts_module p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--tx-muted);
}

.ts_module_ch {
    background: var(--tx-ch);
}

.ts_module_ch h2 {
    color: #fff;
}

.ts_module_ch p {
    color: #C3CBDA;
}

.ts_hed {
    margin: 0 0 12px;
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--tx-muted);
}

.ts_section {
    background: #fff;
    border: 1px solid var(--tx-line);
}

.ts_section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ts_section li {
    margin: 0;
    padding: 9px 0;
    border-bottom: 1px solid var(--tx-line);
    font-size: 15px;
    line-height: 1.45;
}

.ts_section li:last-child {
    border-bottom: 0;
}

.ts_section li a {
    color: var(--tx-ch);
    text-decoration: none;
    font-weight: 600;
}

.ts_section li a:hover {
    color: var(--tx-teal-t);
}

.ts_section .wp-block-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.ts_section .wp-block-tag-cloud a {
    font-size: 13px !important;
    font-weight: 600;
    color: var(--tx-ch);
    background: #DDF4F0;
    padding: 6px 11px;
    border-radius: 6px;
    text-decoration: none;
}

.ts_section .wp-block-tag-cloud a:nth-child(4n+2) {
    background: #F7EFD2;
}

.ts_section .wp-block-tag-cloud a:nth-child(4n+3) {
    background: #ECE6FB;
}

.ts_section .wp-block-tag-cloud a:nth-child(4n+4) {
    background: #FDE6DF;
}

.ts_section .wp-block-tag-cloud a:hover {
    background: var(--tx-ch);
    color: #fff;
}

.ts_catv .ts_deck {
    padding-top: 0;
}

.ts_catalog_hd2 {
    padding: 44px 0 28px;
    border-bottom: 1px solid var(--tx-line);
    margin-bottom: 36px;
}

.ts_catalog_hd2 h1 {
    margin: 0;
}

.ts_item {
    max-width: 780px;
    margin: 0 auto;
    padding: 44px 24px 24px;
    box-sizing: border-box;
}

.ts_item h1.wp-block-post-title {
    margin: 10px 0 16px;
    font-size: clamp(32px,5vw,44px);
    line-height: 1.12;
    letter-spacing: -.02em;
}

.ts_data {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 18px;
    font-size: 15px;
    color: var(--tx-muted);
    margin-bottom: 24px;
}

.ts_data .wp-block-post-author__avatar img {
    border-radius: 50%;
}

.ts_data .wp-block-post-author__byline {
    font-size: 12px;
}

.ts_item .wp-block-post-featured-image img {
    border-radius: 10px;
    width: 100%;
    height: auto;
}

.ts_story_body h2 {
    margin-top: 1.8em;
}

.ts_story_body h3 {
    margin-top: 1.5em;
}

.ts_story_body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.ts_story_body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    display: block;
    overflow-x: auto;
}

.ts_story_body th,
.ts_story_body td {
    border: 1px solid var(--tx-line);
    padding: 10px 12px;
    text-align: left;
}

.ts_story_body th {
    background: var(--tx-ch);
    color: #fff;
}

.ts_story_body tr:nth-child(even) td {
    background: #F7F8FB;
}

.ts_story_body blockquote {
    border-left: 5px solid var(--tx-gold);
    background: #FBF7E8;
    margin: 1.5em 0;
    padding: 14px 20px;
}

.ts_story_body a {
    text-underline-offset: 3px;
}

.ts_contrib {
    max-width: 780px;
    margin: 32px auto 0;
    padding: 0 24px;
    box-sizing: border-box;
}

.ts_contrib_mid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    background: var(--tx-ch);
    color: #fff;
    border-radius: 10px;
    padding: 28px;
    border-top: 5px solid var(--tx-gold);
}

.ts_contrib .wp-block-avatar img {
    border-radius: 50%;
    display: block;
}

.ts_contrib_body4 {
    flex: 1 1 300px;
    min-width: 0;
}

.ts_super {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--tx-gold);
    margin: 0 0 4px;
    text-transform: uppercase;
}

.ts_contrib .wp-block-post-author-name {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 8px;
}

.ts_contrib .wp-block-post-author-name a {
    color: #fff;
    text-decoration: none;
}

.ts_contrib .wp-block-post-author-biography {
    color: #C3CBDA;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.ts_invite {
    max-width: 780px;
    margin: 0 auto;
    padding: 28px 24px 72px;
    box-sizing: border-box;
}

.ts_invite .ts_module {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.ts_invite .ts_module p {
    margin: 0;
}

.ts_plain_hd2 {
    background: var(--tx-ch);
}

.ts_plain_hd2 .ts_outer {
    padding-top: 52px;
    padding-bottom: 52px;
}

.ts_plain_hd2 h1 {
    margin: 0;
    color: #fff;
}

.ts_plain_body {
    max-width: 1000px;
    margin: 0 auto;
    padding: 44px 24px 64px;
    box-sizing: border-box;
}

.ts_halves {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.ts_halves>.ts_flow {
    flex: 999 1 480px;
}

.ts_four {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 14px;
    margin: 24px 0;
}

.ts_four div {
    border-radius: 8px;
    border-top: 5px solid;
    padding: 20px;
}

.ts_four b {
    display: block;
    font-size: 17px;
    margin-bottom: 4px;
}

.ts_chief {
    border: 1px solid var(--tx-line);
    border-radius: 10px;
    padding: 26px;
}

.ts_chief img {
    border-radius: 50%;
    width: 88px;
    height: 88px;
    display: block;
    margin-bottom: 14px;
}

.ts_chief .name {
    font-weight: 800;
    font-size: 18px;
    margin: 0 0 4px;
}

.ts_chief .job {
    font-size: 14px;
    color: var(--tx-teal-t);
    font-weight: 700;
    margin: 0 0 10px;
}

.ts_chief p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--tx-muted);
    margin: 0;
}

.ts_guide {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr));
    gap: 18px;
}

.ts_guide section {
    border-radius: 8px;
    border-top: 5px solid var(--tx-teal);
    background: #DDF4F0;
    padding: 26px;
}

.ts_guide section:nth-child(2) {
    border-color: var(--tx-gold);
    background: #F7EFD2;
}

.ts_guide section:nth-child(3) {
    border-color: var(--tx-violet);
    background: #ECE6FB;
}

.ts_guide section:nth-child(4) {
    border-color: var(--tx-coral);
    background: #FDE6DF;
}

.ts_guide section:nth-child(5) {
    border-color: #3A6FB0;
    background: #E6EEF8;
}

.ts_guide h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.ts_guide p {
    margin: 0;
    color: #3A4660;
    line-height: 1.7;
}

.ts_guide .ts_guide_dk {
    background: var(--tx-ch);
    border-color: var(--tx-gold);
}

.ts_guide .ts_guide_dk h2 {
    color: #fff;
}

.ts_guide .ts_guide_dk p {
    color: #C3CBDA;
}

.ts_guide .ts_guide_dk a {
    color: var(--tx-gold);
}

.ts_closer {
    background: var(--tx-ch);
    color: #A9B3C6;
}

.ts_closer_mid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: space-between;
    padding: 40px 0;
}

.ts_closer_note {
    flex: 1 1 360px;
    min-width: 0;
}

.ts_closer_note b {
    display: block;
    font-weight: 800;
    color: #fff;
    font-size: 18px;
    margin-bottom: 8px;
}

.ts_closer_note p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.ts_closer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 14px;
    align-content: flex-start;
}

.ts_closer nav a {
    color: #fff;
}

.ts_imprint {
    margin: 0;
    padding: 0 24px 24px;
    text-align: center;
    font-size: 13px;
}

.ts_404 {
    padding: 72px 0 96px;
}

