/* About, contact and editorial layouts. */
.ot-editorial-page,
.ot-blog-index,
.ot-article {
    --ot-ink: #16161b;
    --ot-muted: #52525f;
    --ot-line: #e2e2e7;
    --ot-paper: #f6f6f8;
    --ot-accent: #b3121b;
    --ot-radius: 22px;
    color: var(--ot-ink);
    text-transform: none;
}

html[lang="ar"] :is(.ot-editorial-page, .ot-blog-index, .ot-article) { --f-body: "Cairo", system-ui, sans-serif; --f-disp: var(--f-body); font-family: var(--f-body); }

.ot-editorial-page { max-width: 1160px; padding-block: clamp(22px, 4vw, 48px) clamp(42px, 7vw, 86px); }
.ot-editorial-page .vc_row { margin-inline: 0; }
.ot-editorial-page .vc_column-inner { padding-inline: 0; }
.ot-editorial-page .wpb_content_element { margin-bottom: 0; }
.ot-editorial-page .wpb_text_column + .wpb_text_column { margin-top: 12px; }
.ot-editorial-page .ot-editorial-cards::before,
.ot-editorial-page .ot-editorial-cards::after,
.ot-editorial-page .ot-editorial-contact::before,
.ot-editorial-page .ot-editorial-contact::after { display: none; }
.ot-editorial-page .ot-editorial-cards > .vc_column_container,
.ot-editorial-page .ot-editorial-contact > .vc_column_container { float: none; width: auto; }

.ot-editorial-hero {
    display: grid;
    overflow: hidden;
    background: #17171c;
    border-radius: var(--ot-radius);
    color: #fff;
}
.ot-editorial-hero-copy {
    border-block-start: 4px solid #e5262f;
    align-content: center;
    padding: clamp(30px, 6vw, 76px);
}
.ot-editorial-hero h1,
.ot-article-head h1 {
    margin: 0;
    max-width: 28ch;
    color: #fff;
    font-size: clamp(2rem, 5.2vw, 4rem);
    line-height: 1.16;
    overflow-wrap: anywhere;
}
.ot-editorial-hero p {
    margin: 16px 0 0;
    max-width: 58ch;
    color: #f2f2f5;
    font-size: clamp(1.02rem, 1.7vw, 1.19rem);
    line-height: 1.8;
}
.ot-editorial-hero-img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; }

.ot-editorial-cards,
.ot-editorial-contact { display: grid; gap: 18px; margin-top: clamp(22px, 4vw, 42px); }
.ot-editorial-cards > *,
.ot-editorial-contact > *,
.ot-editorial-callout {
    min-width: 0;
    padding: clamp(20px, 3vw, 36px);
    border: 1px solid var(--ot-line);
    border-radius: var(--ot-radius);
    background: #fff;
}
.ot-editorial-contact > :first-child,
.ot-editorial-callout { background: var(--ot-paper); }
.ot-editorial-callout { margin-top: clamp(22px, 4vw, 42px); }
.ot-editorial-page h2,
.ot-blog-list-title { margin: 0 0 10px; font-size: clamp(1.2rem, 2.3vw, 1.7rem); line-height: 1.35; }
.ot-editorial-cards p,
.ot-editorial-contact p,
.ot-editorial-callout p { margin: 0; color: var(--ot-muted); line-height: 1.8; overflow-wrap: anywhere; }
.ot-editorial-link {
    display: inline-flex;
    width: fit-content;
    min-height: 44px;
    align-items: center;
    margin-top: 18px;
    padding: 7px 17px;
    border-radius: 9px;
    background: var(--ot-accent);
    color: #fff;
    font-weight: 700;
}
.ot-editorial-link:hover { background: #871015; color: #fff; }
.ot-editorial-channels { display: grid; gap: 8px; padding: 0; margin: 19px 0 0; list-style: none; }
.ot-editorial-channels a { color: var(--ot-accent); font-weight: 700; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: .18em; }

.ot-editorial-contact .ot-contact { margin: 18px 0 0; padding: 0; border: none; border-radius: 0; background: transparent; }
.ot-editorial-contact .ot-contact :is(input, textarea) { border-color: #bfc0c9; min-width: 0; }
.ot-editorial-contact .ot-contact .btn { background: var(--ot-accent); color: #fff; text-transform: none; letter-spacing: normal; }

.ot-blog-index.container { max-width: 1160px; padding-block: clamp(24px, 4vw, 42px) clamp(42px, 6vw, 80px); }
.ot-blog-list-title { margin-block: clamp(28px, 4vw, 42px) 16px; }
.ot-blog-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.ot-blog-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ot-line);
    border-radius: 17px;
    background: #fff;
}
.ot-blog-card-media { display: block; aspect-ratio: 16 / 12; background: #ececf0; overflow: hidden; }
.ot-blog-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ot-blog-card-copy { padding: clamp(16px, 2vw, 22px); }
.ot-blog-card h3 { margin: 9px 0; font-size: clamp(1.04rem, 1.4vw, 1.25rem); line-height: 1.43; overflow-wrap: anywhere; }
.ot-blog-card h3 a { color: var(--ot-ink); }
.ot-blog-card h3 a:hover { color: var(--ot-accent); text-decoration: underline; text-underline-offset: .16em; }
.ot-editorial-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; color: var(--ot-muted); font-size: .85rem; line-height: 1.5; }
.ot-editorial-meta span { font-weight: 700; }
.ot-blog-excerpt { margin: 10px 0 0; color: var(--ot-muted); line-height: 1.65; overflow-wrap: anywhere; }
.ot-editorial-pages { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 27px; }
.ot-editorial-pages > * { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding-inline: 8px; color: var(--ot-ink); border: 1px solid #c9c9d1; border-radius: 9px; }
.ot-editorial-pages [aria-current="page"],
.ot-editorial-pages a:hover { background: var(--ot-accent); border-color: var(--ot-accent); color: #fff; }

.ot-article { padding: clamp(20px, 4vw, 52px) 0 clamp(46px, 8vw, 100px); }
.ot-article-width { max-width: 840px; }
.ot-article-head { padding-block: clamp(26px, 5vw, 58px); margin-bottom: clamp(20px, 4vw, 45px); background: #17171c; border-block-start: 4px solid #e5262f; }
.ot-article-head h1 { font-size: clamp(1.9rem, 4.6vw, 3.65rem); }
.ot-article-back { display: inline-block; color: #fff; margin-bottom: 15px; text-decoration: underline; text-underline-offset: .2em; }
.ot-article-back:hover { color: #ffc0c5; }
.ot-article-head .ot-editorial-meta { color: #e0dfe6; margin-top: 16px; }
.ot-article-cover { margin: 0 0 clamp(23px, 4vw, 42px); }
.ot-article-cover img { display: block; width: auto; max-width: 100%; height: auto; max-height: 650px; margin-inline: auto; border-radius: var(--ot-radius); object-fit: contain; }
.ot-article-content { line-height: 1.85; overflow-wrap: anywhere; }
.ot-article-content :is(p, ul, ol, figure, blockquote) { margin-block: 0 1.1em; }
.ot-article-content :is(ul,ol) { padding-inline-start: 1.45em; }
.ot-article-content ul { list-style: disc; }
.ot-article-content ol { list-style: decimal; }
.ot-article-content h2 { font-size: clamp(1.4rem, 3vw, 2.12rem); line-height: 1.35; margin-block: 1.35em .55em; }
.ot-article-content h3 { margin-block: 1.2em .5em; }
.ot-article-content blockquote { border-inline-start: 4px solid var(--ot-accent); background: var(--ot-paper); padding: .8em 1.15em; }
.ot-article-content table { display: block; max-width: 100%; overflow-x: auto; }
.ot-article-content :is(th, td) { padding: .6em; border: 1px solid var(--ot-line); }
.ot-article-content iframe { max-width: 100%; }
.ot-editorial-page a:focus-visible,
.ot-blog-index a:focus-visible,
.ot-article a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

@media (min-width: 780px) {
    .ot-editorial-hero-split { grid-template-columns: 1.15fr 1fr; }
    .ot-editorial-hero-split .ot-editorial-hero-img { height: 100%; min-height: 350px; aspect-ratio: auto; }
    .ot-editorial-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ot-editorial-contact { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); align-items: start; }
}

.ot-article-v3 { padding-top: 0; }
.ot-article-frame { max-width: 1120px; }
.ot-article-v3 .ot-article-head {
    margin-bottom: 0;
    padding-block: clamp(28px, 5vw, 72px) clamp(34px, 6vw, 86px);
    background: radial-gradient(ellipse at 65% -35%, #472024 0, #211a1f 38%, #16161b 74%);
    border-block-start: 0;
}
.ot-article-v3 .ot-article-head h1 { max-width: 24ch; }
.ot-article-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; color: #f1d7d9; font-size: .95rem; }
.ot-article-crumbs a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ot-article-crumbs .ot-article-back { margin: 0; }
.ot-article-deck { max-width: 62ch; margin: 16px 0 0; color: #f4eaea; font-size: clamp(1rem, 2vw, 1.23rem); }
.ot-article-v3 .ot-article-cover { margin: clamp(18px, 3vw, 38px) 0 clamp(25px, 5vw, 56px); }
.ot-article-v3 .ot-article-cover img { border-radius: 18px; }
.ot-article-layout { display: grid; gap: clamp(22px, 5vw, 54px); justify-content: center; grid-template-columns: minmax(0, 760px); }
.ot-article-head + .ot-article-frame > .ot-article-layout:first-child { margin-top: clamp(22px, 5vw, 54px); }
.ot-article-toc, .ot-article-cta { padding: clamp(16px, 2.3vw, 28px); border: 1px solid var(--ot-line); border-radius: 16px; background: var(--ot-paper); }
.ot-article-toc nav { max-height: 42vh; overflow: auto; }
.ot-article-toc summary { cursor: pointer; font-weight: 800; }
.ot-article-toc ol { display: grid; gap: 9px; margin-block-start: 14px; font-size: .93rem; line-height: 1.48; }
.ot-article-toc li { overflow-wrap: anywhere; }
.ot-article-toc a { display: block; color: var(--ot-muted); padding-block: 3px; text-decoration: underline; text-underline-offset: .17em; }
.ot-article-toc a:hover { color: var(--ot-accent); }
.ot-article-toc .ot-toc-sub { margin-inline-start: 14px; }
.ot-article-v3 .ot-article-content :is(h2,h3)[id] { scroll-margin-top: calc(var(--hdr-t) + 20px); }
.ot-article-content .ot-article-cta { margin-top: 35px; }
.ot-article-cta h2 { margin-top: 0; }
.ot-article-cta .ot-editorial-link { color: #fff; text-decoration: none; }
.ot-article-related { margin-top: clamp(34px, 8vw, 76px); padding-top: clamp(20px, 4vw, 40px); border-block-start: 1px solid var(--ot-line); }
@media (min-width: 920px) {
    .ot-article-layout.ot-with-toc { grid-template-columns: minmax(200px, 260px) minmax(0, 730px); }
    .ot-article-sidebar { align-self: start; position: sticky; top: calc(var(--hdr-t) + 20px); }
    .ot-article-toc nav { max-height: 55vh; overflow: auto; }
}
.ot-article-content .ot-article-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .625rem;
    margin-block-start: 2rem;
    padding: 1rem;
    background: var(--ot-paper);
    border: 1px solid var(--ot-line);
    border-radius: 1rem;
}

.ot-article-share strong {
    flex-basis: 100%;
    color: var(--ot-ink);
}

.ot-article-content .ot-article-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    padding-inline: 1rem;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.ot-article-share .ot-share-whatsapp { background: #075e54; }
.ot-article-share .ot-share-facebook { background: #184fb3; }
.ot-article-share .ot-share-x { background: #16161b; }

.ot-article-content .ot-article-share a:hover {
    filter: brightness(1.15);
}

.ot-article-content .ot-article-share a:focus-visible {
    outline: 2px solid var(--ot-ink);
    outline-offset: 3px;
}
