/* ========================================================================
   Tez Blog Article Reader V12
   Standalone, cache-safe, responsive long-form article design.
   ======================================================================== */
.tez-article-v11 {
    --tez-article-navy: #121943;
    --tez-article-red: #a9152c;
    --tez-article-ink: #202942;
    --tez-article-muted: #667085;
    --tez-article-line: #e2e8e5;
    --tez-article-surface: #f4faf6;
    --tez-article-soft-red: #fff3f5;
    color: var(--tez-article-ink);
    background: #fff;
}

.tez-article-v11-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 9999;
    height: 3px;
    pointer-events: none;
}

.tez-article-v11-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--tez-article-red), #d64a61);
}

.tez-article-v11-header {
    padding: 20px 0 clamp(34px, 4vw, 56px);
    border-bottom: 1px solid #edf0f3;
    background:
        radial-gradient(circle at 88% 12%, rgba(169, 21, 44, .07), transparent 26%),
        linear-gradient(180deg, #fbfcfe 0%, #fff 100%);
}

.tez-article-v11-heading {
    max-width: 1080px;
    padding-top: clamp(22px, 3vw, 36px);
}

.tez-article-v11-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 13px;
    color: #7b8498;
    font-size: .73rem;
    font-weight: 750;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.tez-article-v11-meta a {
    color: var(--tez-article-red);
    text-decoration: none;
}

.tez-article-v11-meta > span[aria-hidden="true"] {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #c8ced9;
}

.tez-article-v11-heading h1 {
    max-width: 980px;
    margin: 15px 0 0;
    color: var(--tez-article-navy);
    font-size: clamp(2.25rem, 4.35vw, 4.6rem);
    font-weight: 850;
    letter-spacing: -.055em;
    line-height: 1.02;
    text-wrap: balance;
}

.tez-article-v11-excerpt {
    max-width: 820px;
    margin: 20px 0 0;
    color: #59647a;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.7;
}

.tez-article-v11-heading-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 900px;
    margin-top: 23px;
}

.tez-article-v11-author {
    display: flex;
    align-items: center;
    gap: 11px;
}

.tez-article-v11-author > span,
.tez-article-v11-author-card > span {
    display: grid;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--tez-article-navy);
    color: #fff;
    font-size: .7rem;
    font-weight: 850;
}

.tez-article-v11-author strong,
.tez-article-v11-author small {
    display: block;
}

.tez-article-v11-author strong {
    color: var(--tez-article-navy);
    font-size: .84rem;
}

.tez-article-v11-author small {
    margin-top: 2px;
    color: #7d879a;
    font-size: .72rem;
}

.tez-article-v11-quick-share {
    display: flex;
    align-items: center;
    gap: 7px;
}

.tez-article-v11-quick-share > span {
    margin-right: 3px;
    color: #7c8597;
    font-size: .7rem;
    font-weight: 750;
}

.tez-article-v11-quick-share a,
.tez-article-v11-quick-share button {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid #dce1e9;
    border-radius: 9px;
    background: #fff;
    color: var(--tez-article-navy);
    font-size: .72rem;
    font-weight: 800;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.tez-article-v11-quick-share a:hover,
.tez-article-v11-quick-share button:hover {
    border-color: rgba(169, 21, 44, .48);
    color: var(--tez-article-red);
    transform: translateY(-1px);
}

.tez-article-v11-reader {
    padding: clamp(34px, 5vw, 70px) 0;
    background: var(--tez-article-surface);
}

.tez-article-v11-layout {
    display: grid;
    grid-template-columns: minmax(0, 900px) minmax(280px, 330px);
    gap: clamp(26px, 3vw, 42px);
    align-items: start;
    justify-content: center;
}

.tez-article-v11-main {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--tez-article-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 52px rgba(25, 43, 36, .07);
}

.tez-article-v11-cover {
    margin: 0;
    border-bottom: 1px solid var(--tez-article-line);
    background: #eef4f0;
}

.tez-article-v11-cover > img,
.tez-article-v11-cover-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.tez-article-v11-cover > img {
    height: auto;
    max-height: 560px;
    object-fit: cover;
}

.tez-article-v11-cover-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(28px, 5vw, 56px);
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .18), transparent 23%),
        linear-gradient(145deg, #121943, #27366f);
    color: #fff;
}

.tez-article-v11-cover-placeholder small {
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .1em;
    opacity: .72;
    text-transform: uppercase;
}

.tez-article-v11-cover-placeholder strong {
    max-width: 650px;
    margin-top: 12px;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.04;
}

.tez-article-v11-cover-placeholder span {
    margin-top: 12px;
    opacity: .78;
}

.tez-article-v11-cover figcaption {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 18px;
    color: #7a8495;
    background: #fff;
    font-size: .72rem;
    line-height: 1.45;
}

.tez-article-v11-cover figcaption small {
    color: #949cab;
}

.tez-article-v11-content {
    padding: clamp(26px, 4.2vw, 54px);
}

.tez-article-v11-takeaways {
    display: grid;
    grid-template-columns: minmax(150px, .6fr) minmax(0, 1.4fr);
    gap: 22px;
    margin: 0 0 34px;
    padding: 22px;
    border: 1px solid #e4dedf;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff9fa, #fff);
}

.tez-article-v11-takeaways small,
.tez-article-v11-cta small {
    display: block;
    color: var(--tez-article-red);
    font-size: .66rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.tez-article-v11-takeaways strong {
    display: block;
    margin-top: 6px;
    color: var(--tez-article-navy);
    font-size: 1.15rem;
}

.tez-article-v11-takeaways ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tez-article-v11-takeaways li {
    display: grid;
    grid-template-columns: 21px minmax(0, 1fr);
    gap: 8px;
    color: #4f5b70;
    font-size: .86rem;
    line-height: 1.55;
}

.tez-article-v11-takeaways li > span {
    display: grid;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    place-items: center;
    border-radius: 50%;
    background: var(--tez-article-red);
    color: #fff;
    font-size: .64rem;
    font-weight: 900;
}

.tez-article-v11-featured-quote {
    margin: 0 0 34px;
    padding: 26px 28px;
    border: 0;
    border-left: 5px solid var(--tez-article-red);
    border-radius: 0 16px 16px 0;
    background: var(--tez-article-soft-red);
}

.tez-article-v11-featured-quote p {
    margin: 0;
    color: #34223b;
    font-size: clamp(1.08rem, 1.6vw, 1.32rem);
    font-weight: 650;
    line-height: 1.65;
}

.tez-article-v11-prose {
    color: #27324a;
    font-family: inherit;
    font-size: clamp(1rem, 1.18vw, 1.1rem);
    line-height: 1.86;
    overflow-wrap: anywhere;
}

.tez-article-v11-prose > :first-child {
    margin-top: 0;
}

.tez-article-v11-prose > :last-child {
    margin-bottom: 0;
}

.tez-article-v11-prose p {
    margin: 0 0 1.28em;
}

.tez-article-v11-prose h2,
.tez-article-v11-prose h3,
.tez-article-v11-prose h4 {
    scroll-margin-top: 110px;
    color: var(--tez-article-navy);
    font-family: inherit;
    font-weight: 820;
    letter-spacing: -.035em;
    line-height: 1.2;
    text-wrap: balance;
}

.tez-article-v11-prose h2 {
    margin: 2em 0 .62em;
    font-size: clamp(1.72rem, 2.8vw, 2.35rem);
}

.tez-article-v11-prose h3 {
    margin: 1.75em 0 .55em;
    font-size: clamp(1.38rem, 2.1vw, 1.8rem);
}

.tez-article-v11-prose h4 {
    margin: 1.5em 0 .48em;
    font-size: 1.18rem;
}

.tez-article-v11-prose ul,
.tez-article-v11-prose ol {
    margin: 0 0 1.45em;
    padding-left: 1.35em;
}

.tez-article-v11-prose li {
    margin: .42em 0;
    padding-left: .25em;
}

.tez-article-v11-prose strong {
    color: #18213f;
}

.tez-article-v11-prose a {
    color: var(--tez-article-red);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.tez-article-v11-prose blockquote {
    margin: 1.8em 0;
    padding: 22px 24px;
    border: 0;
    border-left: 4px solid var(--tez-article-red);
    border-radius: 0 13px 13px 0;
    background: #fff5f7;
    color: #3b2841;
    font-size: 1.08em;
    line-height: 1.68;
}

.tez-article-v11-prose hr {
    margin: 2.4em 0;
    border: 0;
    border-top: 1px solid #dfe5e2;
}

.tez-article-v11-prose figure {
    margin: 2em 0;
}

.tez-article-v11-prose figure.align-wide {
    width: 100%;
    margin-left: 0;
    transform: none;
}

.tez-article-v11-prose figure img,
.tez-article-v11-prose > img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 720px;
    border-radius: 14px;
    object-fit: cover;
}

.tez-article-v11-prose figcaption {
    margin-top: 9px;
    color: #7c8698;
    font-size: .74rem;
    line-height: 1.5;
    text-align: center;
}

.tez-article-v11-prose .tez-table-scroll,
.tez-article-v11-prose .table-wrap {
    width: 100%;
    margin: 1.8em 0;
    overflow-x: auto;
    border: 1px solid #dce4e0;
    border-radius: 12px;
    background: #fff;
}

.tez-article-v11-prose table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-family: inherit;
    font-size: .84rem;
    line-height: 1.5;
}

.tez-article-v11-prose th,
.tez-article-v11-prose td {
    padding: 12px 14px;
    border-right: 1px solid #e0e7e3;
    border-bottom: 1px solid #e0e7e3;
    text-align: left;
    vertical-align: top;
}

.tez-article-v11-prose th {
    background: #edf7f1;
    color: var(--tez-article-navy);
    font-weight: 820;
}

.tez-article-v11-prose tr:nth-child(even) td {
    background: #fbfdfc;
}

.tez-article-v11-prose tr:last-child td {
    border-bottom: 0;
}

.tez-article-v11-prose th:last-child,
.tez-article-v11-prose td:last-child {
    border-right: 0;
}

.tez-article-v11-prose pre {
    max-width: 100%;
    overflow-x: auto;
    padding: 18px;
    border-radius: 12px;
    background: #111827;
    color: #e5e7eb;
    font-size: .82rem;
    line-height: 1.65;
}

.tez-article-v11-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 42px;
    padding: 26px;
    border-radius: 17px;
    background: var(--tez-article-navy);
    color: #fff;
}

.tez-article-v11-cta h2 {
    margin: 7px 0 0;
    color: #fff;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.2;
}

.tez-article-v11-cta p {
    max-width: 570px;
    margin: 9px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: .84rem;
    line-height: 1.6;
}

.tez-article-v11-cta > a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    padding: 12px 15px;
    border-radius: 10px;
    background: #fff;
    color: var(--tez-article-navy);
    font-size: .78rem;
    font-weight: 850;
    text-decoration: none;
}

.tez-article-v11-tags {
    display: grid;
    gap: 11px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid #e5e9e7;
}

.tez-article-v11-tags > strong {
    color: var(--tez-article-navy);
    font-size: .75rem;
}

.tez-article-v11-tags > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tez-article-v11-tags a {
    padding: 7px 11px;
    border-radius: 999px;
    background: #f0f4f2;
    color: #5d687b;
    font-size: .72rem;
    font-weight: 720;
    text-decoration: none;
}

.tez-article-v11-tags a:hover {
    color: var(--tez-article-red);
    background: #fff2f4;
}

.tez-article-v11-author-card {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 30px;
    padding: 18px;
    border: 1px solid #e1e7e4;
    border-radius: 14px;
    background: #fbfdfc;
}

.tez-article-v11-author-card small,
.tez-article-v11-author-card strong,
.tez-article-v11-author-card p {
    display: block;
}

.tez-article-v11-author-card small {
    color: #8a93a2;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.tez-article-v11-author-card strong {
    margin-top: 3px;
    color: var(--tez-article-navy);
    font-size: .9rem;
}

.tez-article-v11-author-card p {
    margin: 2px 0 0;
    color: #70798a;
    font-size: .75rem;
}

.tez-article-v11-pagination {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 28px;
}

.tez-article-v11-pagination > a {
    position: relative;
    min-height: 112px;
    padding: 18px 46px 18px 18px;
    border: 1px solid #dfe5e2;
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.tez-article-v11-pagination > a.is-next {
    padding: 18px 18px 18px 46px;
    text-align: right;
}

.tez-article-v11-pagination small {
    display: block;
    color: #8b94a4;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.tez-article-v11-pagination strong {
    display: -webkit-box;
    margin-top: 7px;
    overflow: hidden;
    color: var(--tez-article-navy);
    font-size: .82rem;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tez-article-v11-pagination > a > span {
    position: absolute;
    top: 50%;
    right: 17px;
    color: var(--tez-article-red);
    transform: translateY(-50%);
}

.tez-article-v11-pagination > a.is-next > span {
    right: auto;
    left: 17px;
}

.tez-article-v11-pagination > a:hover {
    border-color: rgba(169, 21, 44, .42);
    box-shadow: 0 12px 28px rgba(23, 36, 31, .07);
    transform: translateY(-2px);
}

.tez-article-v11-sidebar {
    position: sticky;
    top: 94px;
    display: grid;
    gap: 16px;
    min-width: 0;
}

.tez-article-v11-search,
.tez-article-v11-sidebar-card,
.tez-article-v11-module {
    border: 1px solid var(--tez-article-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(26, 46, 38, .045);
}

.tez-article-v11-search {
    padding: 16px;
}

.tez-article-v11-search > label {
    display: block;
    margin-bottom: 9px;
    color: var(--tez-article-navy);
    font-size: .76rem;
    font-weight: 820;
}

.tez-article-v11-search > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid #dce4e0;
    border-radius: 10px;
    background: #fff;
}

.tez-article-v11-search input {
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    border: 0;
    outline: 0;
    color: var(--tez-article-ink);
    background: transparent;
    font: inherit;
    font-size: .8rem;
}

.tez-article-v11-search button {
    min-width: 72px;
    border: 0;
    background: var(--tez-article-red);
    color: #fff;
    font-size: .72rem;
    font-weight: 820;
}

.tez-article-v11-sidebar-card {
    padding: 17px;
}

.tez-article-v11-sidebar-card > strong,
.tez-article-v11-sidebar-title > strong {
    display: block;
    color: var(--tez-article-navy);
    font-size: .82rem;
    font-weight: 840;
}

.tez-article-v11-sidebar-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tez-article-v11-sidebar-title > a {
    color: var(--tez-article-red);
    font-size: .67rem;
    font-weight: 800;
    text-decoration: none;
}

.tez-article-v11-toc ol {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.tez-article-v11-toc li.is-child {
    padding-left: 10px;
}

.tez-article-v11-toc a {
    display: block;
    color: #657083;
    font-size: .73rem;
    line-height: 1.4;
    text-decoration: none;
}

.tez-article-v11-toc a:hover {
    color: var(--tez-article-red);
}

.tez-article-v11-categories > div {
    display: grid;
    margin-top: 11px;
}

.tez-article-v11-categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #edf1ef;
    color: #536074;
    font-size: .75rem;
    text-decoration: none;
}

.tez-article-v11-categories a:last-child {
    border-bottom: 0;
}

.tez-article-v11-categories a.is-current,
.tez-article-v11-categories a:hover {
    color: var(--tez-article-red);
}

.tez-article-v11-categories small {
    display: grid;
    min-width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
    background: #f1f4f2;
    color: #7b8494;
    font-size: .64rem;
    font-weight: 800;
}

.tez-article-v11-latest-list {
    display: grid;
    margin-top: 12px;
}

.tez-article-v11-latest-list article {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 11px;
    padding: 12px 0;
    border-bottom: 1px solid #edf1ef;
}

.tez-article-v11-latest-list article:first-child {
    padding-top: 0;
}

.tez-article-v11-latest-list article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.tez-article-v11-latest-image {
    display: block;
    height: 58px;
    overflow: hidden;
    border-radius: 8px;
    background: #eaf2ed;
    text-decoration: none;
}

.tez-article-v11-latest-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.tez-article-v11-latest-image:hover img {
    transform: scale(1.04);
}

.tez-article-v11-latest-image > span {
    display: grid;
    height: 100%;
    place-items: center;
    color: var(--tez-article-red);
    font-size: .82rem;
    font-weight: 850;
}

.tez-article-v11-latest-list small {
    display: -webkit-box;
    overflow: hidden;
    color: var(--tez-article-red);
    font-size: .58rem;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.tez-article-v11-latest-list h3 {
    margin: 5px 0 0;
    font-size: .76rem;
    line-height: 1.42;
}

.tez-article-v11-latest-list h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--tez-article-navy);
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tez-article-v11-latest-list h3 a:hover {
    color: var(--tez-article-red);
}

.tez-article-v11-facts dl {
    display: grid;
    gap: 12px;
    margin: 13px 0 0;
}

.tez-article-v11-facts dl > div {
    display: grid;
    gap: 2px;
}

.tez-article-v11-facts dt {
    color: #8c95a4;
    font-size: .59rem;
    font-weight: 820;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tez-article-v11-facts dd {
    margin: 0;
    color: var(--tez-article-navy);
    font-size: .73rem;
    font-weight: 740;
}

.tez-article-v11-module {
    padding: 20px;
    border: 0;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .1), transparent 28%),
        linear-gradient(145deg, var(--tez-article-navy), #202d67);
    color: #fff;
}

.tez-article-v11-module small {
    display: block;
    color: #f1b4bf;
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.tez-article-v11-module strong {
    display: block;
    margin-top: 8px;
    font-size: 1rem;
    line-height: 1.27;
}

.tez-article-v11-module p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: .73rem;
    line-height: 1.55;
}

.tez-article-v11-module a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    color: #f4b2bd;
    font-size: .73rem;
    font-weight: 820;
    text-decoration: none;
}

.tez-article-v11-related {
    padding: clamp(52px, 6vw, 84px) 0;
    background: #fff;
}

.tez-article-v11-related > .tez-container > header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.tez-article-v11-related header p {
    margin: 0 0 7px;
    color: var(--tez-article-red);
    font-size: .67rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.tez-article-v11-related header h2 {
    margin: 0;
    color: var(--tez-article-navy);
    font-size: clamp(2rem, 3vw, 3.2rem);
    letter-spacing: -.045em;
    line-height: 1.05;
}

.tez-article-v11-related header > a {
    color: var(--tez-article-navy);
    font-size: .78rem;
    font-weight: 820;
    text-decoration: none;
}

.tez-article-v11-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 19px;
}

.tez-article-v11-related-grid > article {
    overflow: hidden;
    border: 1px solid #e1e6e4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(23, 42, 34, .055);
}

.tez-article-v11-related-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--tez-article-navy);
    text-decoration: none;
}

.tez-article-v11-related-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.tez-article-v11-related-media:hover img {
    transform: scale(1.035);
}

.tez-article-v11-related-media > span {
    display: flex;
    height: 100%;
    align-items: flex-end;
    padding: 22px;
    color: #fff;
}

.tez-article-v11-related-grid article > div {
    padding: 17px;
}

.tez-article-v11-related-grid small {
    color: var(--tez-article-red);
    font-size: .63rem;
    font-weight: 820;
    text-transform: uppercase;
}

.tez-article-v11-related-grid h3 {
    margin: 7px 0 0;
    font-size: 1.04rem;
    line-height: 1.35;
}

.tez-article-v11-related-grid h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--tez-article-navy);
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tez-article-v11-related-grid p {
    display: -webkit-box;
    margin: 8px 0 0;
    overflow: hidden;
    color: #697386;
    font-size: .78rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tez-article-v11-related-grid article > div > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 13px;
    color: var(--tez-article-navy);
    font-size: .73rem;
    font-weight: 820;
    text-decoration: none;
}

@media (max-width: 1120px) {
    .tez-article-v11-layout {
        grid-template-columns: minmax(0, 1fr) 290px;
        gap: 26px;
    }
}

@media (max-width: 930px) {
    .tez-article-v11-layout {
        grid-template-columns: 1fr;
    }

    .tez-article-v11-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tez-article-v11-search,
    .tez-article-v11-latest,
    .tez-article-v11-module {
        grid-column: 1 / -1;
    }

    .tez-article-v11-latest-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 18px;
    }
}

@media (max-width: 720px) {
    .tez-article-v11-header {
        padding-bottom: 34px;
    }

    .tez-article-v11-heading h1 {
        font-size: clamp(2.15rem, 11.5vw, 3.4rem);
        line-height: 1.03;
    }

    .tez-article-v11-heading-foot {
        align-items: flex-start;
        flex-direction: column;
    }

    .tez-article-v11-reader {
        padding: 24px 0 42px;
    }

    .tez-article-v11-main {
        border-radius: 16px;
    }

    .tez-article-v11-cover > img,
    .tez-article-v11-cover-placeholder {
        aspect-ratio: 16 / 10;
    }

    .tez-article-v11-cover figcaption {
        align-items: flex-start;
        flex-direction: column;
    }

    .tez-article-v11-content {
        padding: 23px 19px;
    }

    .tez-article-v11-takeaways {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .tez-article-v11-cta {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }

    .tez-article-v11-pagination,
    .tez-article-v11-sidebar,
    .tez-article-v11-latest-list,
    .tez-article-v11-related-grid {
        grid-template-columns: 1fr;
    }

    .tez-article-v11-search,
    .tez-article-v11-latest,
    .tez-article-v11-module {
        grid-column: auto;
    }

    .tez-article-v11-related > .tez-container > header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tez-article-v11 * {
        scroll-behavior: auto !important;
    }

    .tez-article-v11-quick-share a,
    .tez-article-v11-quick-share button,
    .tez-article-v11-pagination > a,
    .tez-article-v11-latest-image img,
    .tez-article-v11-related-media img {
        transition: none !important;
    }
}

/* V12 compatibility and polish: this file intentionally works independently
   from the compiled Vite bundle so later app.css updates cannot unstyle articles. */
.tez-article-v11,
.tez-article-v11 *,
.tez-article-v11 *::before,
.tez-article-v11 *::after {
    box-sizing: border-box;
}

.tez-article-v11 .tez-container {
    width: min(calc(100% - 32px), 1240px);
    margin-inline: auto;
}

.tez-article-v11 img,
.tez-article-v11 svg {
    max-width: 100%;
}

.tez-article-v11 button,
.tez-article-v11 input {
    font: inherit;
}

.tez-article-v11-heading h1 {
    max-width: 920px;
    font-size: clamp(2.35rem, 4.15vw, 4.35rem);
}

.tez-article-v11-reader {
    padding-block: clamp(32px, 4.5vw, 62px);
}

.tez-article-v11-layout {
    grid-template-columns: minmax(0, 860px) minmax(270px, 320px);
}

.tez-article-v11-cover > img {
    max-height: 510px;
}

.tez-article-v11-sidebar {
    top: 92px;
}

.tez-article-v11-toc a.is-active {
    color: var(--tez-article-red);
    font-weight: 800;
}

.tez-article-v11-quick-share button[data-copy-state="copied"] {
    width: auto;
    padding-inline: 10px;
    color: #08775f;
    border-color: rgba(8, 119, 95, .32);
    background: #effcf7;
}

@media (max-width: 1120px) {
    .tez-article-v11-layout {
        grid-template-columns: minmax(0, 1fr) 290px;
    }
}

@media (max-width: 960px) {
    .tez-article-v11-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .tez-article-v11-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .tez-article-v11-search,
    .tez-article-v11-latest,
    .tez-article-v11-module {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .tez-article-v11 .tez-container {
        width: min(calc(100% - 22px), 1240px);
    }

    .tez-article-v11-heading h1 {
        font-size: clamp(2rem, 10.5vw, 3rem);
    }

    .tez-article-v11-sidebar {
        grid-template-columns: 1fr;
    }

    .tez-article-v11-content {
        padding: 22px 17px;
    }

    .tez-article-v11-main {
        border-radius: 15px;
    }
}

/* ========================================================================
   V13 full-width reader refinement
   Keeps long-form copy readable while allowing the cover and article frame
   to use the available desktop width.
   ======================================================================== */
.tez-article-v11-full-layout {
    display: grid;
    gap: 22px;
}

.tez-article-v11-full-layout .tez-article-v11-main {
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 26px 72px rgba(18, 25, 67, .09);
}

.tez-article-v11-full-layout .tez-article-v11-cover > img,
.tez-article-v11-full-layout .tez-article-v11-cover-placeholder {
    aspect-ratio: 21 / 9;
}

.tez-article-v11-full-layout .tez-article-v11-cover > img {
    max-height: 660px;
}

.tez-article-v11-content {
    padding: clamp(34px, 5vw, 72px) clamp(22px, 6vw, 86px);
}

.tez-article-v11-content-inner {
    width: min(100%, 980px);
    margin-inline: auto;
}

.tez-article-v11-inline-toc {
    display: grid;
    grid-template-columns: minmax(150px, .42fr) minmax(0, 1.58fr);
    gap: 24px;
    margin: 0 0 34px;
    padding: 22px 24px;
    border: 1px solid #dfe5ec;
    border-radius: 17px;
    background: linear-gradient(135deg, #f8faff, #fff);
}

.tez-article-v11-inline-toc[hidden] {
    display: none;
}

.tez-article-v11-inline-toc > div small,
.tez-article-v11-inline-toc > div strong {
    display: block;
}

.tez-article-v11-inline-toc > div small {
    color: var(--tez-article-red);
    font-size: .66rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.tez-article-v11-inline-toc > div strong {
    margin-top: 6px;
    color: var(--tez-article-navy);
    font-size: 1.05rem;
}

.tez-article-v11-inline-toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tez-article-v11-inline-toc li {
    min-width: 0;
}

.tez-article-v11-inline-toc li.is-child {
    padding-left: 13px;
}

.tez-article-v11-inline-toc a {
    display: block;
    overflow: hidden;
    color: #566177;
    font-size: .78rem;
    font-weight: 720;
    line-height: 1.45;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tez-article-v11-inline-toc a:hover,
.tez-article-v11-inline-toc a.is-active {
    color: var(--tez-article-red);
}

.tez-article-v11-module-wide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 30px;
    padding: 26px 28px;
    border-radius: 18px;
}

.tez-article-v11-module-wide > div {
    min-width: 0;
}

.tez-article-v11-module-wide > a {
    flex: 0 0 auto;
    margin-top: 0;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
}

.tez-article-v11-discovery {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    gap: 18px;
    align-items: stretch;
}

.tez-article-v11-discovery .tez-article-v11-search,
.tez-article-v11-category-strip {
    border: 1px solid var(--tez-article-line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(18, 25, 67, .05);
}

.tez-article-v11-discovery .tez-article-v11-search {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 19px;
}

.tez-article-v11-category-strip {
    padding: 18px 20px;
}

.tez-article-v11-category-strip > strong {
    display: block;
    color: var(--tez-article-navy);
    font-size: .76rem;
}

.tez-article-v11-category-strip > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 11px;
}

.tez-article-v11-category-strip a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid #e0e5ec;
    border-radius: 999px;
    color: #5c667b;
    background: #fff;
    font-size: .72rem;
    font-weight: 760;
    text-decoration: none;
}

.tez-article-v11-category-strip a span {
    display: grid;
    min-width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 999px;
    background: #f0f3f7;
    color: #778196;
    font-size: .62rem;
}

.tez-article-v11-category-strip a:hover,
.tez-article-v11-category-strip a.is-current {
    border-color: rgba(169, 21, 44, .28);
    color: var(--tez-article-red);
    background: #fff5f7;
}

.tez-article-v11-category-strip a.is-current span {
    color: #fff;
    background: var(--tez-article-red);
}

@media (max-width: 900px) {
    .tez-article-v11-discovery,
    .tez-article-v11-inline-toc {
        grid-template-columns: 1fr;
    }

    .tez-article-v11-inline-toc ol {
        grid-template-columns: 1fr;
    }

    .tez-article-v11-module-wide {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .tez-article-v11-full-layout .tez-article-v11-main {
        border-radius: 16px;
    }

    .tez-article-v11-full-layout .tez-article-v11-cover > img,
    .tez-article-v11-full-layout .tez-article-v11-cover-placeholder {
        aspect-ratio: 16 / 10;
    }

    .tez-article-v11-content {
        padding: 28px 18px;
    }

    .tez-article-v11-inline-toc,
    .tez-article-v11-takeaways {
        padding: 18px;
    }

    .tez-article-v11-pagination {
        grid-template-columns: 1fr;
    }

    .tez-article-v11-pagination > span:empty {
        display: none;
    }
}
