:root {
    --otr-ink: #14324e;
    --otr-deep: #102b47;
    --otr-ink-soft: #41576b;
    --otr-accent: #ed863b;
    --otr-accent-text: #8d411e;
    --otr-background: #f5f8fb;
    --otr-surface: #fff;
    --otr-line: #dce5ed;
    --otr-radius: 20px;
    --otr-font: kalame, 'Noto Sans Arabic', Tahoma, Arial, sans-serif;
}

body.otr-studio {
    margin: 0;
    background: var(--otr-background);
    color: var(--otr-ink);
    font: 400 1rem/1.9 var(--otr-font);
    -webkit-font-smoothing: antialiased;
}

.otr-studio :focus-visible { outline: 3px solid #4388bd; outline-offset: 3px; }
.otr-header [hidden], .otr-reading-index [hidden], .otr-main [data-otr-cases] [hidden] { display: none !important; }
.otr-header, .otr-footer, .otr-main { box-sizing: border-box; }
.otr-wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; box-sizing: border-box; }
.otr-header *, .otr-footer *, .otr-hero *, .otr-methods *, .otr-service-grid *, .otr-reading-layout *, .otr-archive-head *, .otr-card *, .otr-gallery-grid *, .otr-image-dialog * { box-sizing: border-box; }
.otr-header a, .otr-footer a, .otr-actions a, .otr-method, .otr-card a, .otr-topics a, .otr-crumbs a, .otr-related a { text-decoration: none; }
.otr-main { min-block-size: 58vh; padding-block-end: 52px; }
.otr-main :is(.otr-section,.otr-disclosure,.otr-prose [id]) { scroll-margin-block-start: 28px; }
.otr-main :is(.otr-section-heading,.otr-service,.otr-prose) :where(h1,h2,h3) { line-height: 1.5; }

.otr-header { background: #fff; border-block-end: 1px solid var(--otr-line); position: relative; z-index: 20; }
.otr-header-row { min-height: 76px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(14px, 2.4vw, 36px); }
.otr-brand { color: var(--otr-ink); display: inline-flex; align-items: center; gap: 9px; font-size: 1.1rem; font-weight: 700; white-space: nowrap; }
.otr-brand-image { width: 108px; height: 44px; object-fit: contain; display: block; }
.otr-brand-flag { width: 25px; height: 17px; border-radius: 4px; background: linear-gradient(#ce3c4c 0 34%, #fff 34% 66%, #ce3c4c 66%); box-shadow: 0 0 0 1px #e1e8ed; }
.otr-header-actions { display: flex; align-items: center; gap: 9px; }
.otr-navigation { justify-self: center; }
.otr-menu, .otr-menu ul { list-style: none; padding: 0; margin: 0; }
.otr-menu { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px clamp(8px, 1.3vw, 18px); font-size: .88rem; }
.otr-menu li { position: relative; }
.otr-menu a, .otr-submenu-toggle { color: var(--otr-ink); }
.otr-menu a { display: inline-block; padding-block: 9px; }
.otr-menu a:hover, .otr-menu .current-menu-item > a { color: var(--otr-accent-text); }
.otr-menu .sub-menu { display: none; min-width: 220px; position: absolute; inset-block-start: 100%; inset-inline-start: 0; background: #fff; box-shadow: 0 12px 32px #102b471a; border: 1px solid var(--otr-line); padding: 7px; border-radius: 13px; }
.otr-menu .sub-menu > li > a { padding: 9px 10px; }
.otr-menu .sub-menu .sub-menu { inset-block-start: 0; inset-inline-start: 100%; }
.otr-menu li.is-expanded > .sub-menu, .otr-navigation:not(.otr-nav-enhanced) li:is(:hover,:focus-within) > .sub-menu { display: block; }
.otr-menu-secondary, .otr-menu-toggle { display: none; }
.otr-submenu-toggle { background: none; border: 0; font: inherit; cursor: pointer; min-width: 22px; min-height: 34px; padding: 0 5px; }
.otr-submenu-toggle span { display: inline-block; width: 7px; height: 7px; border-block-end: 1.5px solid currentColor; border-inline-end: 1.5px solid currentColor; transform: rotate(45deg); vertical-align: .22em; }
.otr-submenu-label span { margin-inline-end: 7px; }
.otr-submenu-toggle[aria-expanded=true] span { transform: rotate(225deg); vertical-align: -.02em; }

.otr-button { font: 700 .9rem/1.45 var(--otr-font); min-height: 43px; padding: 10px 15px; border: 1px solid transparent; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer; text-align: center; white-space: normal; }
.otr-button svg, .otr-text-link svg { width: 17px; height: 17px; flex: none; }
.otr-button-primary { background: var(--otr-accent); color: #172e43; }
.otr-button-primary:hover { background: #f79b54; }
.otr-button-light { background: #ffffff10; border-color: #ffffff5c; color: #fff; }
.otr-button-light:hover { background: #ffffff23; }
.otr-button-outline { background: #fff; border-color: #cbd9e4; color: var(--otr-deep); }
.otr-button-outline:hover { background: #f0f5f9; }
.otr-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.otr-text-link { color: var(--otr-accent-text); text-underline-offset: .24em; font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; }

.otr-hero { position: relative; margin-block-start: 26px; display: grid; grid-template-columns: 1.1fr 1fr; min-height: 344px; overflow: hidden; border-radius: 25px; isolation: isolate; background: linear-gradient(120deg, #102b47, #233f58); color: #fff; }
.otr-hero-content { padding: clamp(26px, 3.9vw, 52px) clamp(22px, 5vw, 68px); position: relative; z-index: 1; align-self: center; }
.otr-eyebrow { font-size: .92rem; color: #ffcb9c; margin: 0 0 12px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.otr-eyebrow span { width: 7px; height: 7px; background: var(--otr-accent); border-radius: 50%; }
.otr-hero h1 { font-size: clamp(34px, 4vw, 59px); letter-spacing: -.025em; color: #fff; margin: 0; font-weight: 700; line-height: 1.26; }
.otr-hero-lead { color: #e4edf5; font-size: clamp(.98rem, 1.3vw, 1.08rem); line-height: 1.85; max-width: 37ch; margin: 17px 0 22px; }
.otr-hero-media { position: relative; min-width: 0; min-height: 100%; display: grid; align-items: end; justify-items: center; background: radial-gradient(ellipse at 42% 73%, #72899b76, transparent 70%); }
.otr-hero-media::after { content: ''; position: absolute; inset: auto -6% -30% 0; height: 110%; border: 1px solid #e8f4ff24; border-radius: 50%; z-index: -1; }
.otr-hero-image { width: 86%; height: auto; max-height: 380px; object-fit: contain; object-position: center bottom; display: block; }
.otr-hero-no-image { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.otr-hero-no-image .otr-hero-content { max-width: 680px; }

.otr-section { margin-block-start: clamp(30px, 4.1vw, 55px); }
.otr-section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-block-end: 14px; }
.otr-section-heading h2, .otr-related h2 { margin: 0; font-size: clamp(1.38rem, 2.55vw, 1.95rem); letter-spacing: -.018em; }
.otr-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.otr-method { display: grid; grid-template-columns: 42px minmax(0, 1fr) 16px; height: 100%; gap: 10px; align-items: center; padding: 13px 12px; color: var(--otr-ink); background: #fff; border: 1px solid var(--otr-line); border-radius: 15px; }
.otr-method:hover { border-color: #dba97f; background: #fffdfa; }
.otr-method > svg { width: 15px; color: var(--otr-accent-text); }
.otr-method-icon { display: grid; place-items: center; width: 42px; height: 42px; background: #edf4fa; color: var(--otr-deep); border-radius: 11px; }
.otr-method-copy { min-width: 0; display: grid; gap: 1px; line-height: 1.65; }
.otr-method-copy strong { font-size: .98rem; }
.otr-method-copy > span { color: var(--otr-ink-soft); font-size: .83rem; }
.otr-disclosure { margin-block-start: 11px; background: #fff; border: 1px solid var(--otr-line); border-radius: 14px; padding: 10px 15px; }
.otr-disclosure summary { cursor: pointer; color: var(--otr-deep); font-weight: 700; font-size: .92rem; }
.otr-disclosure summary::marker { color: var(--otr-accent-text); }
.otr-route-checks { min-width: 500px; }
.otr-route-checks a { color: var(--otr-accent-text); }
.otr-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.otr-service { background: #fff; border: 1px solid var(--otr-line); border-radius: var(--otr-radius); padding: clamp(18px, 3vw, 28px); }
.otr-service-main { background: #fff9f3; border-color: #ebd6c5; }
.otr-service-kind { color: var(--otr-accent-text); font-size: .88rem; font-weight: 700; margin: 0 0 4px; }
.otr-service h3 { margin: 0 0 6px; font-size: 1.32rem; }
.otr-service p:not(.otr-service-kind) { margin: 0; color: var(--otr-ink-soft); }
.otr-service ul { margin-block: 10px 16px; padding-inline-start: 19px; font-size: .93rem; }
.otr-table-wrap { overflow: auto; }
.otr-compare { width: 100%; border-collapse: collapse; margin-block: 10px 0; text-align: start; font-size: .89rem; }
.otr-compare th, .otr-compare td { border-block-end: 1px solid var(--otr-line); padding: 9px 7px; text-align: start; vertical-align: top; }
.otr-compare thead { background: #eaf1f8; }

.otr-article, .otr-archive-head { padding-block-start: 28px; }
.otr-crumbs { display: flex; gap: 8px; flex-wrap: wrap; color: var(--otr-ink-soft); font-size: .85rem; margin-block-end: 12px; }
.otr-crumbs a { color: var(--otr-accent-text); }
.otr-article-head, .otr-archive-head { background: #fff; border: 1px solid var(--otr-line); padding: clamp(20px, 3.2vw, 38px); border-radius: var(--otr-radius); }
.otr-archive-head { margin-block-start: 26px; }
.otr-article-head h1, .otr-article-title, .otr-archive-head h1 { font-size: clamp(1.75rem, 3.45vw, 2.85rem); line-height: 1.48; margin: 0; letter-spacing: -.02em; font-weight: 700; }
.otr-archive-head h1 span { color: inherit; }
.otr-article-head p:not(.otr-article-title), .otr-archive-head p { color: var(--otr-ink-soft); margin: 8px 0 0; }
.otr-article-head .otr-actions, .otr-archive-head .otr-actions { margin-block-start: 16px; }
.otr-reading-layout { display: grid; grid-template-columns: minmax(0, 1fr); margin-block-start: 16px; align-items: start; gap: 15px; }
.otr-reading-index:has(details[hidden]) { display: none; }
.otr-reading-index details, .otr-prose, .otr-related, .otr-comments { background: #fff; border: 1px solid var(--otr-line); border-radius: 16px; }
.otr-reading-index details { padding: 11px 14px; }
.otr-reading-index summary { cursor: pointer; font-weight: 700; }
.otr-reading-index ul { list-style: none; margin: 8px 0 0; padding: 0; font-size: .87rem; }
.otr-reading-index li { padding-block: 5px; line-height: 1.7; }
.otr-reading-index a { color: var(--otr-ink-soft); text-decoration: none; }
.otr-reading-index a:hover { text-decoration: underline; }
.otr-prose { min-width: 0; padding: clamp(17px, 3.15vw, 38px); overflow-wrap: anywhere; }
.otr-prose :where(h1, h2, h3) { text-wrap: pretty; }
.otr-prose :where(h2) { margin-block-start: 1.5em; font-size: clamp(1.26rem, 2vw, 1.6rem); }
.otr-prose :where(p, li) { line-height: 1.95; }
.otr-prose :where(p, ul, ol) { margin-block: .6em 1em; }
.otr-prose :where(a:not([class])) { color: #8d411e; text-underline-offset: .2em; }
.otr-prose :where(blockquote) { margin-inline: 0; border-inline-start: 3px solid #e69b63; padding-inline: 15px; }
.otr-prose :where(img, video, iframe, svg) { max-width: 100%; }
.otr-prose :where(img) { height: auto; }
.otr-prose :where(figure) { max-width: 100%; margin-inline: auto; }
.otr-featured { width: 100%; max-height: 340px; object-fit: contain; border-radius: 11px; background: #f4f7fa; }
.otr-prose :where(table) { border-collapse: collapse; max-width: 100%; font-size: .92rem; }
.otr-prose :where(td, th) { padding: 6px 9px; border: 1px solid var(--otr-line); }
.otr-prose :where(pre) { overflow: auto; padding: 12px; }
.otr-related, .otr-comments { padding: clamp(17px, 3vw, 29px); margin-block-start: 14px; }
.otr-related-links { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 12px; }
.otr-preserved { min-width: 0; }

.otr-archive-description { color: var(--otr-ink-soft); }
.otr-search { margin-block-start: 13px; display: flex; max-width: 430px; border: 1px solid #cbd9e4; border-radius: 12px; background: #f8fafc; overflow: hidden; }
.otr-search input { background: transparent; padding: 10px 12px; font: inherit; color: var(--otr-deep); flex: 1; min-width: 0; border: 0; }
.otr-search button { color: var(--otr-ink); background: transparent; border: 0; padding: 0 11px; display: grid; place-items: center; cursor: pointer; }
.otr-search :focus-visible { outline-offset: -3px; }
.otr-topics { margin-block: 15px; }
.otr-topics ul, .otr-filters { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0; list-style: none; }
.otr-topics a, .otr-filters button { display: inline-flex; align-items: center; min-height: 37px; border-radius: 9px; padding: 4px 10px; background: #fff; border: 1px solid var(--otr-line); color: var(--otr-ink); font: 400 .86rem/1.55 var(--otr-font); }
.otr-filters { margin-block-end: 11px; }
.otr-filters button { cursor: pointer; }
.otr-topics a[aria-current=page], .otr-filters button[aria-pressed=true] { background: var(--otr-deep); color: #fff; border-color: var(--otr-deep); }
.otr-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; align-items: stretch; }
.otr-archive-grid { margin-block-start: 16px; }
.otr-card { min-width: 0; border: 1px solid var(--otr-line); border-radius: 15px; overflow: hidden; background: #fff; }
.otr-card-image { display: block; overflow: hidden; background: #eef4f7; }
.otr-card-image img { display: block; width: 100%; aspect-ratio: 2.45; object-fit: cover; height: auto; }
.otr-card-case .otr-card-image img { object-fit: contain; aspect-ratio: 2.8; }
.otr-grid-cases { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.otr-card-body { padding: 11px 13px 15px; overflow-wrap: anywhere; }
.otr-card-topic { display: inline-block; font-size: .79rem; color: var(--otr-accent-text); margin-block-end: 3px; }
.otr-card-title { margin: 0; line-height: 1.65; font-size: 1.03rem; }
.otr-card-title a { color: var(--otr-deep); }
.otr-card-title a:hover { color: var(--otr-accent-text); text-decoration: underline; }
.otr-card-body p { font-size: .86rem; line-height: 1.8; margin: 7px 0 0; color: var(--otr-ink-soft); }
.otr-main .pagination { margin-block-start: 16px; }
.otr-main .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.otr-main .page-numbers { padding: 5px 11px; background: #fff; border: 1px solid var(--otr-line); border-radius: 8px; color: var(--otr-deep); text-decoration: none; }
.otr-main .page-numbers.current { background: var(--otr-deep); color: #fff; }
.otr-empty { padding-block: 18px; }

.otr-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; list-style: none; margin: 0; padding: 0; }
.otr-gallery-grid a { display: grid; place-items: center; border: 1px solid var(--otr-line); border-radius: 10px; overflow: hidden; background: #fff; aspect-ratio: 1.9; padding: 6px; }
.otr-gallery-grid a:hover { border-color: #dba97f; }
.otr-gallery-grid img { display: block; height: 100%; width: 100%; min-height: 0; object-fit: contain; }
.otr-image-dialog { border: 1px solid var(--otr-line); border-radius: var(--otr-radius); max-width: min(840px, calc(100% - 24px)); padding: 0; color: var(--otr-ink); background: #fff; }
.otr-image-dialog::backdrop { background: #102b47bb; }
.otr-image-dialog-body { padding: 14px; }
.otr-image-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-end: 12px; }
.otr-image-dialog img { display: block; max-width: 100%; max-height: 72vh; object-fit: contain; margin-inline: auto; }
.otr-home-existing, .otr-gallery-existing { overflow: clip; }
.otr-home-existing :where(img), .otr-gallery-existing :where(img) { max-width: 100%; height: auto; }
.otr-home-existing :where(.elementor-widget-wd_infobox img) { max-height: 128px; object-fit: contain; }
.otr-gallery-existing :where(iframe, video) { max-width: 100%; }

.otr-footer { background: var(--otr-deep); color: #e7eff6; padding-block: 27px; }
.otr-footer-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.otr-footer-brand { color: #fff; font-weight: 700; font-size: 1.15rem; }
.otr-footer p { margin: 3px 0 0; font-size: .87rem; }
.otr-footer-menu { display: flex; flex-wrap: wrap; gap: 6px 15px; margin: 0; padding: 0; list-style: none; }
.otr-footer-menu a { color: #eff5fa; font-size: .9rem; }
.otr-footer-menu a:hover { text-decoration: underline; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; overflow: hidden; padding: 0; position: absolute; width: 1px; white-space: nowrap; }
.otr-skip:focus { clip: auto; clip-path: none; height: auto; width: auto; inset-block-start: 10px; inset-inline-start: 10px; z-index: 99999; padding: 9px 14px; background: #fff; color: var(--otr-deep); }

@media (min-width: 930px) {
    .otr-reading-layout:has(.otr-reading-index details:not([hidden])) { grid-template-columns: minmax(165px, .75fr) minmax(0, 3fr); }
    .otr-reading-index { position: sticky; inset-block-start: 16px; max-height: calc(100vh - 45px); overflow: auto; }
}

@media (max-width: 980px) {
    .otr-header-row { grid-template-columns: minmax(0, 1fr) auto; gap: 0 9px; min-height: 64px; }
    .otr-header-actions { grid-column: 2; grid-row: 1; }
    .otr-navigation { grid-column: 1/-1; grid-row: 2; width: 100%; padding-block: 8px; justify-self: stretch; }
    .otr-navigation.otr-nav-enhanced:not(.is-open) { display: none; }
    .otr-menu-toggle { display: inline-grid; place-items: center; width: 43px; height: 43px; border: 1px solid var(--otr-line); border-radius: 10px; background: #fff; color: var(--otr-deep); cursor: pointer; }
    .otr-navigation:has(.otr-menu-secondary) .otr-menu-main { display: none; }
    .otr-menu { display: grid; justify-content: stretch; gap: 0; }
    .otr-menu > li + li { border-block-start: 1px solid #edf2f7; }
    .otr-menu a, .otr-submenu-label { padding-block: 9px; }
    .otr-menu .sub-menu { position: static; border: 0; box-shadow: none; border-radius: 0; margin-inline-start: 10px; padding: 0 8px 8px 0; background: transparent; min-width: 0; }
    .otr-menu li.is-expanded > .sub-menu, .otr-navigation:not(.otr-nav-enhanced) li > .sub-menu { display: block; }
    .otr-submenu-toggle { min-height: 42px; }
    .otr-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .otr-wrap { width: calc(100% - 28px); }
    .otr-hero { margin-block-start: 14px; min-height: 0; border-radius: 17px; grid-template-columns: 1fr; }
    .otr-hero-content { padding: 22px 18px; }
    .otr-hero-media { display: block; height: clamp(106px, 27vw, 195px); min-height: 0; }
    .otr-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
    .otr-hero h1 { font-size: clamp(29px, 8vw, 41px); }
    .otr-hero-lead { margin: 9px 0 13px; font-size: .91rem; }
    .otr-eyebrow { margin-block-end: 8px; font-size: .82rem; }
    .otr-section { margin-block-start: 27px; }
    .otr-section-heading { margin-block-end: 10px; }
    .otr-section-heading > a { font-size: .83rem; }
    .otr-card-grid, .otr-grid-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .otr-card-title { font-size: .96rem; }
    .otr-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .otr-article, .otr-archive-head { padding-block-start: 17px; }
    .otr-archive-head { margin-block-start: 14px; }
    .otr-reading-index:has(details[hidden]) { display: none; }
    .otr-footer-row { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
    .otr-wrap { width: calc(100% - 24px); }
    .otr-header-actions .otr-button { padding-inline: 8px; }
    .otr-header-row { min-height: 60px; }
    .otr-brand-image { width: 88px; height: 36px; }
    .otr-methods { gap: 7px; }
    .otr-method { grid-template-columns: 28px minmax(0, 1fr); align-content: start; padding: 8px; gap: 6px; border-radius: 11px; }
    .otr-method-icon { width: 28px; height: 28px; border-radius: 7px; }
    .otr-method-icon svg { width: 17px; }
    .otr-method > svg { display: none; }
    .otr-method-copy strong { font-size: .9rem; }
    .otr-method-copy > span { font-size: .77rem; }
    .otr-service-grid { grid-template-columns: 1fr; gap: 7px; }
    .otr-compare { font-size: .78rem; }
    .otr-compare th, .otr-compare td { padding-inline: 4px; }
}
