/* Only the two editorial pages marked by their dedicated post metadata. */
body.thirdstone-editorial #ajax-content-wrap .container-wrap { background:#fff; }
.thirdstone-editorial .ts-editorial-section { direction:rtl; text-align:right; color:#2a1b1e; }
.thirdstone-editorial .ts-editorial-section h1 { font-size:clamp(42px,4.6vw,70px); line-height:1.12; letter-spacing:-.025em; color:#2a1b1e; }
.thirdstone-editorial .ts-editorial-section h2 { font-size:clamp(30px,3vw,44px); line-height:1.22; letter-spacing:-.015em; color:#2a1b1e; }
.thirdstone-editorial .ts-editorial-section h3 { font-size:26px; line-height:1.35; color:#2a1b1e; }
.thirdstone-editorial .ts-editorial-section p,.thirdstone-editorial .ts-editorial-section li { font-size: var(--nectar-body-font-size);line-height: var(--nectar-body-line-height); }
.thirdstone-editorial .ts-editorial-section .ts-intro p { font-size:24px; line-height:1.6; }
.thirdstone-editorial .ts-editorial-section .ts-caption p,.thirdstone-editorial .ts-editorial-section .ts-source-note p { font-size:15px; line-height:1.5; color:#756b66; }
.thirdstone-editorial .ts-editorial-section .ts-source-note a { text-decoration:underline; }
.thirdstone-editorial .ts-editorial-section .ts-photo img { display:block; width:100%; height:auto; }
.thirdstone-editorial .ts-editorial-section .ts-brand-logo img { width:260px; height:auto; max-width:100%; }

.thirdstone-editorial .ts-editorial-section .ts-frishman-logo img { width:270px; max-width:100%; height:auto; }
.thirdstone-editorial .ts-editorial-section .ts-brand-card > .vc_column-inner > .wpb_wrapper { border:1px solid #e2dcd7; padding:28px; height:100%; }
.thirdstone-editorial .ts-editorial-section .ts-group-stats { display:flex; gap:28px; flex-wrap:wrap; margin:24px 0; }
.thirdstone-editorial .ts-editorial-section .ts-group-stats div { flex:1; min-width:95px; }
.thirdstone-editorial .ts-editorial-section .ts-group-stats strong { display:block; font-size:48px; font-weight:400; line-height:1.2; direction:ltr; text-align:right; }
.thirdstone-editorial .ts-editorial-section .ts-group-stats span { display:block; font-size:17px; color:#756b66; }
.thirdstone-editorial .ts-editorial-section .ts-step { border-top:1px solid #d9d2cc; padding-top:24px; }
.thirdstone-editorial .ts-editorial-section .ts-step p { font-size:18px; }
.thirdstone-editorial .ts-editorial-section .nectar-cta { margin-top:18px; font-size:18px; }
.thirdstone-editorial .ts-editorial-section .nectar-cta .link_wrap { direction:rtl; }
.thirdstone-editorial .ts-editorial-section a:focus-visible { outline:2px solid #756b66; outline-offset:5px; }
.thirdstone-editorial .ts-faq-nav { display:flex; flex-wrap:wrap; gap:12px 24px; margin:20px 0 0; }
.thirdstone-editorial .ts-faq-nav a { font-size:18px; text-decoration:underline; text-underline-offset:5px; }
.thirdstone-editorial .ts-faq-section { scroll-margin-top:120px; }
.thirdstone-editorial .ts-faq-section .toggle-title a { font-size:18px!important; line-height:21px!important; text-align:right; padding:22px 0 22px 48px!important; }
.thirdstone-editorial .ts-faq-section .toggle-title a > i { left:0!important; right:auto!important; }
.thirdstone-editorial .ts-faq-section .inner-toggle-wrap { padding:0 0 22px!important; text-align:right; }
.thirdstone-editorial .ts-faq-section .inner-toggle-wrap p { font-size:18px; }
.thirdstone-editorial .ts-faq-section .inner-toggle-wrap a { text-decoration:underline; text-underline-offset:3px; }
@media(max-width:999px) {
 .thirdstone-editorial .ts-editorial-section h1 { font-size:46px; }
 .thirdstone-editorial .ts-editorial-section .ts-brand-card > .vc_column-inner > .wpb_wrapper { padding:20px; }
}
@media(max-width:690px) {
 .thirdstone-editorial .ts-editorial-section h1 { font-size:40px; }
 .thirdstone-editorial .ts-editorial-section h2 { font-size:31px; }
 .thirdstone-editorial .ts-editorial-section p,.thirdstone-editorial .ts-editorial-section li { font-size:18px; }
 .thirdstone-editorial .ts-editorial-section .ts-intro p { font-size:21px; }

 .thirdstone-editorial .ts-editorial-section .ts-group-stats { gap:16px; }
 .thirdstone-editorial .ts-editorial-section .ts-group-stats strong { font-size:38px; }
 .thirdstone-editorial .ts-faq-section .toggle-title a { font-size:20px!important; }
}
@media(prefers-reduced-motion:reduce) {
 .thirdstone-editorial .ts-editorial-section .img-with-animation,.thirdstone-editorial .ts-editorial-section .wpb_column { opacity:1!important; transform:none!important; transition:none!important; animation:none!important; }
}

/* Salient places the custom image class on the image itself. */
.thirdstone-editorial .ts-editorial-section img.ts-photo { display:block; width:100%; height:auto; }
.thirdstone-editorial .ts-editorial-section img.ts-brand-logo { width:260px; height:64px!important; max-width:100%; object-fit:contain; }
.thirdstone-editorial .ts-editorial-section img.ts-brand-material { display:block; width:100%; height:auto!important; aspect-ratio:4 / 5; object-fit:cover; object-position:center bottom; }
.thirdstone-editorial .ts-editorial-section img.ts-frishman-logo { width:100%; height:auto; background:#2a1b1e; padding:32px; box-sizing:border-box; }
@media(max-width:690px) {
 .thirdstone-editorial .ts-editorial-section img.ts-brand-logo { height:64px!important; }
}

/* About only: size the image frame, independently of source image ratios. */
.thirdstone-editorial-about #ajax-content-wrap .ts-about-brands .hover-wrap-inner:has(img.ts-brand-material),
.thirdstone-editorial-about #ajax-content-wrap .ts-about-projects .hover-wrap-inner:has(img.ts-project-photo) {
    position:relative;
    display:block;
    width:100%;
    margin:0;
    overflow:hidden;
}
.thirdstone-editorial-about #ajax-content-wrap .ts-about-brands .hover-wrap-inner:has(img.ts-brand-material) { aspect-ratio:4 / 5; }
.thirdstone-editorial-about #ajax-content-wrap .ts-about-projects .hover-wrap-inner:has(img.ts-project-photo) { aspect-ratio:4 / 3; }
.thirdstone-editorial-about #ajax-content-wrap .ts-about-brands img.ts-brand-material,
.thirdstone-editorial-about #ajax-content-wrap .ts-about-projects img.ts-project-photo {
    position:absolute;
    inset:0;
    display:block;
    width:100%!important;
    height:100%!important;
    max-width:none;
    aspect-ratio:auto;
    margin:0!important;
    padding:0!important;
    object-fit:cover;
}
.thirdstone-editorial-about #ajax-content-wrap .ts-about-brands img.ts-brand-material { object-position:center bottom; }
.thirdstone-editorial-about #ajax-content-wrap .ts-about-projects img.ts-project-photo { object-position:center top; }
.thirdstone-editorial-about #ajax-content-wrap .ts-about-projects .hover-wrap-inner:has(img.ts-project-photo) > a { position:absolute; inset:0; display:block; }

/* Keep the authentic Frishman artwork inside a separate, padded panel. */
.thirdstone-editorial-about #ajax-content-wrap .hover-wrap-inner:has(img.ts-frishman-logo) {
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:180px;
    padding:32px;
    box-sizing:border-box;
    background:#2a1b1e;
}
.thirdstone-editorial-about #ajax-content-wrap img.ts-frishman-logo {
    display:block;
    position:static;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    padding:0!important;
    margin:0!important;
    background:transparent;
    object-fit:contain;
}
@media(max-width:690px) {
    .thirdstone-editorial-about #ajax-content-wrap .hover-wrap-inner:has(img.ts-frishman-logo) { min-height:150px; padding:28px; }
}
