/* OZ Inspiration: the OZ HOME look (same colours, font and sizes as the prototype). Self-contained. No rem (OceanWP sets html to 10px). */
.ozx { --ink: #1d1d1f; --mute: #6e6e73; --line: #d2d2d7; --soft: #f5f5f7; --br: #9C6B43; --sel: #0071e3; --ozi-top: 68px; color: var(--ink); font-family: 'OZ Noto Sans Hebrew', system-ui, sans-serif; font-size: 17px; line-height: 1.47; -webkit-font-smoothing: antialiased; }
.ozx *, .ozx *::before, .ozx *::after { box-sizing: border-box; min-width: 0; }
.ozx button { font-family: inherit; }
.ozx a { color: inherit; text-decoration: none; }
.ozx h1, .ozx h3 { margin: 0; color: inherit; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; font-weight: 700; }
.ozx p { margin: 0; }
.ozx figure { margin: 0; }
.ozx :focus-visible { outline: 2px solid var(--sel); outline-offset: 2px; }
.ozx-wrap { max-width: 1240px; margin-inline: auto; padding-inline: max(5vw, 16px); }

/* OceanWP: full width, own title, no sidebar */
body.oz-insp-page #right-sidebar, body.oz-insp-page #left-sidebar, body.oz-insp-page .page-header { display: none !important; }
body.oz-insp-page #primary.content-area { width: 100% !important; float: none !important; padding: 0 !important; border: 0 !important; }
body.oz-insp-page #content-wrap.container { width: 100% !important; max-width: none; padding: 0; }
body.oz-insp-page #main #content-wrap { padding-top: 0; padding-bottom: 0; }
body.oz-insp-page .entry-content > p:empty { display: none; }
body.oz-insp-page.ozi-lock { overflow: hidden; }

/* hero */
.ozi-hero { padding-block: 64px 24px; }
@media (min-width: 1024px) { .ozi-hero { padding-block: 88px 28px; } }
.ozi .ozi-h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
.ozi-h1 span { color: var(--mute); font-weight: 600; }
.ozi-lead { max-width: 640px; margin-top: 18px !important; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: var(--mute); }

/* filters */
.ozi-fl { position: sticky; top: var(--ozi-top); z-index: 20; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ozi-fl .ozx-wrap { padding-block: 12px; }
.ozi-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 2px; }
.ozi-row::-webkit-scrollbar { display: none; }
.ozi-row + .ozi-row { margin-top: 8px; }
.ozi .ozi-chip { flex: none; margin: 0; border: 1px solid var(--line) !important; background: #fff !important; color: var(--ink) !important; border-radius: 999px !important; padding: 8px 16px !important; min-height: 0; height: auto; font-size: 14px !important; font-weight: 400; line-height: 1.4 !important; letter-spacing: 0; text-transform: none; box-shadow: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; touch-action: manipulation; }
.ozi .ozi-chip.is-on { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; }
.ozi .ozi-row--m .ozi-chip { padding: 6px 13px !important; font-size: 13px !important; color: #424245 !important; }
.ozi .ozi-row--m .ozi-chip.is-on { color: #fff !important; }
@media (hover: hover) and (pointer: fine) { .ozi .ozi-chip:not(.is-on):hover { border-color: #86868b !important; } }

/* grid */
.ozi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; padding-block: 22px 10px; } /* 1.2.0: even rows, not columns */
@media (max-width: 1023px) { .ozi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } }
@media (max-width: 640px) { .ozi-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; } }
.ozi .ozi-card { margin: 0; }
.ozi-js .ozi-card { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.ozi-js .ozi-card.is-in { opacity: 1; transform: none; }
.ozi-grid .ozi-ph { aspect-ratio: 3 / 2; }
.ozi-grid .ozi-ph img { height: 100%; object-fit: cover; }
.ozi .ozi-card.is-hide { display: none; }
.ozi-ph { position: relative; border-radius: 20px; overflow: hidden; background: var(--soft); cursor: zoom-in; }
.ozi-ph img { display: block; width: 100%; height: auto; max-width: none; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) and (pointer: fine) { .ozi-grid .ozi-ph:hover img { transform: scale(1.025); } }
.ozi-cap { padding: 12px 2px 0; }
.ozi-cap__t { display: block; font-size: 16px; font-weight: 600; line-height: 1.35; }
.ozi-cap__m { display: block; font-size: 14px; color: var(--mute); margin-top: 3px; }
.ozi-tint { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-inline-end: 6px; vertical-align: 1px; border: 1px solid rgba(0, 0, 0, .12); }
/* the mirror list in the filter row */
.ozi-sel { flex: none; position: relative; }
.ozi .ozi-sel select { appearance: none; -webkit-appearance: none; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 34px 8px 16px; font: inherit; font-size: 14px; line-height: 1.4; height: auto; min-height: 0; margin: 0; cursor: pointer; box-shadow: none; }
.ozi-sel::after { content: ""; position: absolute; left: 14px; top: 50%; width: 7px; height: 7px; border: solid var(--mute); border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.ozi .ozi-cap a { text-decoration: none !important; }
.ozi-cap a, .ozi-cap > span { display: inline-block; font-size: 15px; font-weight: 600; margin-inline-end: 16px; margin-bottom: 2px; }
.ozi-cap a::after { content: " ←"; font-weight: 400; }
@media (hover: hover) { .ozi-cap a:hover { color: var(--br); } }
.ozi-cap small { display: block; font-size: 13.5px; color: var(--mute); margin-top: 2px; }
.ozi-tag { position: absolute; top: 14px; inset-inline-start: 14px; background: rgba(255, 255, 255, .9); border-radius: 999px; font-size: 12px; padding: 5px 11px; color: #424245; pointer-events: none; }

/* dots and their card: the same as "רעיונות." on the home page (OZ Home 1.4) */
.ozi .ozi-dot { position: absolute; z-index: 2; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: none !important; box-shadow: none !important; cursor: pointer; display: grid; place-items: center; min-height: 0 !important; }
.ozi-dot i { width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 2px 10px rgba(0, 0, 0, .3); transition: transform .2s; }
.ozi-dot::before { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .9); animation: ozi-ring 2.6s ease-out infinite; }
.ozi-dot:hover i, .ozi-dot[aria-expanded="true"] i { transform: scale(1.3); }
@keyframes ozi-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.8); opacity: 0; } }
.ozi-pop { position: absolute; z-index: 5; transform: translate(calc(-50% + var(--dx, 0px)), var(--dy, 26px)); display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 16px; background: #fff; box-shadow: 0 12px 34px rgba(0, 0, 0, .22); font-size: 14px; line-height: 1.4; white-space: nowrap; text-align: start; cursor: default; animation: ozi-popin .2s ease-out; }
@keyframes ozi-popin { from { opacity: 0; } to { opacity: 1; } }
.ozi-pop b { font-size: 15px; }
.ozi-pop > span { color: var(--mute); }
.ozi-pop > .ozi-pop__pr { margin-top: 2px; color: var(--ink); font-size: 15px; font-weight: 600; }
.ozi .ozi-pop a { margin-top: 4px; font-weight: 700; text-decoration: none !important; color: var(--ink) !important; background: none; padding: 0; }

.ozi-empty { color: var(--mute); padding: 40px 0; text-align: center; }
.ozi-empty[hidden] { display: none; }
.ozi .ozi-link { background: none !important; border: 0 !important; padding: 0 !important; color: inherit !important; font-size: inherit !important; text-decoration: underline; cursor: pointer; min-height: 0; }
.ozi-note { color: var(--mute); font-size: 13.5px; padding: 6px 0 56px; }

/* the big view */
.ozi-lb { position: fixed; inset: 0; z-index: 100000; background: #fafafc; display: flex; opacity: 0; transition: opacity .3s; }
.ozi-lb[hidden] { display: none; }
.ozi-lb { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
/* the theme colours links (teal): the mirror cards in the big view stay ink */
.ozi .ozi-lb__m, .ozi .ozi-lb__m b, .ozi .ozi-lb__m span { color: var(--ink) !important; text-decoration: none !important; }
.ozi .ozi-lb__m span { color: var(--mute) !important; }
.ozi .ozi-lb__m em { color: var(--br) !important; }
.ozi-lb.is-open { opacity: 1; }
.ozi-lb__in { margin: auto; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; align-items: center; width: min(1320px, 94vw); max-height: 92vh; }
.ozi-lb .ozi-ph { cursor: default; border-radius: 22px; max-height: 88vh; justify-self: center; }
.ozi-lb .ozi-ph img { max-height: 88vh; width: auto; max-width: 100%; margin: auto; }
.ozi-lb__side h3 { margin: 0 0 4px; font-size: 26px; letter-spacing: -.02em; }
.ozi-lb__side p { margin: 0 0 22px; color: var(--mute); font-size: 15px; line-height: 1.5; }
.ozi-lb__m { display: block; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-bottom: 10px; transition: border-color .2s; }
.ozi-lb__m b { display: block; font-size: 16px; }
.ozi-lb__m span { display: block; color: var(--mute); font-size: 14px; margin-top: 2px; }
.ozi-lb__m em { display: block; font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--br); margin-top: 8px; }
@media (hover: hover) { .ozi-lb__m:hover { border-color: var(--ink); } }
.ozi .ozi-lb__x, .ozi .ozi-lb__nav { position: fixed; z-index: 2; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 0; padding: 0 !important; border-radius: 50% !important; border: 0 !important; background: #fff !important; color: var(--ink) !important; box-shadow: 0 2px 12px rgba(0, 0, 0, .12); cursor: pointer; }
.ozi .ozi-lb__x { top: 18px; left: 18px; }
.ozi .ozi-lb__nav { top: 50%; margin-top: -22px; }
.ozi .ozi-lb__nav--prev { right: 18px; }
.ozi .ozi-lb__nav--next { left: 18px; }
.ozi-lb__count { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); font-size: 13px; color: var(--mute); }
@media (max-width: 900px) {
	.ozi-lb { align-items: flex-start; overflow-y: auto; }
	.ozi-lb__in { grid-template-columns: 1fr; gap: 18px; width: 100%; max-height: none; margin: 0; padding: 64px 16px 90px; }
	.ozi-lb .ozi-ph { border-radius: 16px; max-height: none; }
	.ozi-lb .ozi-ph img { max-height: none; width: 100%; }
	.ozi .ozi-lb__nav { top: auto; bottom: 16px; margin: 0; }
	.ozi .ozi-lb__nav--prev { right: 16px; }
	.ozi .ozi-lb__nav--next { left: 16px; }
	.ozi .ozi-lb__x { top: 12px; left: 12px; }
	.ozi-lb__count { bottom: 30px; }
}

@media (prefers-reduced-motion: reduce) {
	.ozi-dot::before, .ozi-pop { animation: none; }
	.ozi-js .ozi-card { opacity: 1; transform: none; transition: none; }
	.ozi-ph img, .ozi-lb { transition: none; }
}
