/* Page-scoped styles for /blog/tree-testing-ontology-taxonomy.
   Byline, kicker, standfirst, hero, references and CTA follow ai-overviews-editorial.css (Unicorn blog). */
#ontology-tt-editorial .post-title {
    margin-bottom: 0.65rem;
    text-wrap: balance;
}
#ontology-tt-editorial .otx-beat {
    display: block;
    color: #58268b;
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
#ontology-tt-editorial .otx-byline {
    color: #51475a;
    font-size: 0.9rem;
}
#ontology-tt-editorial .otx-standfirst {
    margin-top: 1.25rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
    width: 100%;
    align-self: stretch;
    font-style: italic;
    font-size: 20px !important;
    line-height: 1.5;
}

/* Article lists and references */
#ontology-tt-editorial .otx-references {
    margin: 0.7em 0;
    padding-left: 1.25rem;
    line-height: 1.6;
}
#ontology-tt-editorial .otx-references li {
    margin-bottom: 0.6rem;
}
#ontology-tt-editorial .otx-references {
    font-size: 0.95rem;
}
#ontology-tt-editorial .otx-rule {
    width: 100%;
    margin: 2.5rem 0 1.5rem;
    border: 0;
    border-top: 1px solid #f2eeec;
}

@media (max-width: 560px) {
    #ontology-tt-editorial .post-title {
        font-size: clamp(1.9rem, 8vw, 2.3rem) !important;
        line-height: 1.13;
    }
}

/* Same treatments as the Firefox article: balanced headings, Unicorn CTA, series label, Read more thumbnails. */
#ontology-tt-editorial .post-body > h2,
#ontology-tt-editorial .otx-beat,
#ontology-tt-editorial .read-more .post-item__title {
    text-wrap: balance;
}
#otx-product-cta .button {
    color: #F90473;
    border-color: coral;
}
#otx-product-cta .button:focus-visible {
    outline: 3px solid #592f91;
    outline-offset: 4px;
}
#ontology-tt-editorial .otx-kicker {
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: .18em;
    font-size: 13px !important;
    color: #592f91 !important;
    margin-bottom: 14px;
}
#ontology-tt-editorial .otx-kicker::before {
    content: "";
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #F90473;
    box-shadow: 0 0 0 4px rgba(249,4,115,.18);
}
#ontology-tt-editorial .otx-kicker::after {
    content: "";
    flex: 0 0 64px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #4ADDB4, #4D61FC 35%, #943bdc 65%, #F90473);
}
@media (max-width: 560px) {
    #ontology-tt-editorial .otx-standfirst {
        font-size: 18px !important;
    }
}
#ontology-tt-editorial .read-more__more-posts .post-item .post-item__img { border-radius: 12px; height: auto; max-height: none; aspect-ratio: 3 / 2; object-fit: cover; }
/* Hero image, as on What a Redesign Deletes. */
#ontology-tt-editorial .otx-hero {
    width: 100%;
    max-width: 930px;
    margin: 0.5rem auto 2rem;
}
#ontology-tt-editorial .otx-hero img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}
/* The post body uses white-space: pre-wrap; markup line breaks inside these blocks must not render as blank lines. */
#ontology-tt-editorial .otx-references,
#ontology-tt-editorial .otx-hero {
    white-space: normal;
}
/* Before/after ontology figure (PNG canonical, WebP and stacked mobile variants), shown at native width. */
#ontology-tt-editorial .otx-fig,
#ontology-tt-editorial .otx-table,
#ontology-tt-editorial .otx-note,
#ontology-tt-editorial .otx-pull {
    white-space: normal;
}
#ontology-tt-editorial .otx-fig {
    width: 100%;
    max-width: 880px;
    margin: 1.5rem auto 2rem;
}
#ontology-tt-editorial .otx-fig img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #e5d8f0;
    border-radius: 14px;
}
#ontology-tt-editorial .otx-fig figcaption {
    max-width: 680px;
    margin: 14px auto 0;
    font-size: 13px;
    line-height: 1.5;
    color: #79747e;
    text-align: center;
}

/* Designated highlight sentence: a marker stroke in the guides' palette yellow (#FFFFBB, guides-rich.css). */
#ontology-tt-editorial .otx-pull {
    margin: 1.6rem 0 1.8rem;
    font-size: 1.15em;
    line-height: 1.55;
}
#ontology-tt-editorial .otx-hl {
    color: inherit;
    background: linear-gradient(transparent 38%, #FFFFBB 38%, #FFFFBB 92%, transparent 92%);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding: 0 4px;
}

/* Editorial callout for the three questions: the guides' .gd-note treatment
   (2px #303030 frame, white, #FFFFBB offset shadow, guides-rich.css). */
#ontology-tt-editorial .otx-note {
    margin: 1rem 0 1.75rem;
    padding: 1.1rem 1.4rem 1.1rem 2.6rem;
    border: 2px solid #303030;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 6px 6px 0 #FFFFBB;
    line-height: 1.6;
}
#ontology-tt-editorial .otx-note li {
    margin: 0.35rem 0;
}

/* Two-row task comparison table; stacks into labelled cards on narrow screens. */
#ontology-tt-editorial .otx-table {
    width: 100%;
    margin: 1.25rem 0 1.75rem;
    border-collapse: collapse;
    font-size: 0.95rem;
    line-height: 1.45;
}
#ontology-tt-editorial .otx-table th,
#ontology-tt-editorial .otx-table td {
    padding: 0.7rem 0.75rem;
    border: 0;
    border-bottom: 1px solid #e3dedd;
    text-align: left;
    vertical-align: top;
}
#ontology-tt-editorial .otx-table thead th {
    color: #58268b;
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 2px solid #8346b0;
}
#ontology-tt-editorial .otx-table tbody th { font-weight: 700; color: #241630; }
#ontology-tt-editorial .otx-table td:nth-child(2),
#ontology-tt-editorial .otx-table td:nth-child(3) {
    font-weight: 800;
    font-size: 1.15rem;
    color: #241630;
    white-space: nowrap;
}
#ontology-tt-editorial .otx-source-h { margin-top: 0.5rem; }
#ontology-tt-editorial .otx-source { font-size: 0.95rem; line-height: 1.6; }
@media (max-width: 640px) {
    #ontology-tt-editorial .otx-table thead {
        position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
    }
    #ontology-tt-editorial .otx-table tr {
        display: block;
        margin-bottom: 0.75rem;
        padding: 0.4rem 0.9rem;
        border: 1px solid #e3dedd;
        border-top: 4px solid #8346b0;
        border-radius: 0.6rem;
    }
    #ontology-tt-editorial .otx-table th,
    #ontology-tt-editorial .otx-table td {
        display: block;
        padding: 0.45rem 0;
        border: 0 !important;
    }
    #ontology-tt-editorial .otx-table [data-label]::before {
        content: attr(data-label);
        display: block;
        color: #58268b;
        font-size: 0.7rem;
        font-weight: 750;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
    #ontology-tt-editorial .otx-note { padding: 1rem 1rem 1rem 2.2rem; box-shadow: 4px 4px 0 #FFFFBB; }
}
