/* Reading-flow refinement: compact signup and one useful, non-repetitive footer. */
.article-body .newsletter-box.article-newsletter{padding:20px!important;gap:12px!important;margin:24px 0!important}
.article-body .newsletter-box.article-newsletter h2{font-size:25px!important;margin:8px 0!important}
.article-body .newsletter-box.article-newsletter .eyebrow{margin:0!important}
.article-newsletter .preview-inline-signup,.article-newsletter .ipe-newsletter-form{margin:0!important}
.article-newsletter .preview-signup-note{display:block;margin:8px 0 0!important;font-size:11px!important;line-height:1.45!important;color:var(--muted)}
.article-newsletter .preview-signup-status:empty,.article-newsletter .form-msg:empty{display:none!important;margin:0!important;min-height:0!important;padding:0!important}
.article-newsletter .preview-signup-status:not(:empty){display:block;margin:8px 0 0!important;min-height:0!important}
.article-related{padding-top:24px!important;padding-bottom:0!important;margin-bottom:0!important}.article-related .section-head{margin-bottom:8px}.article-related .story{padding-top:16px;padding-bottom:16px}
.site-footer.compact-footer{margin-top:28px;padding:22px 0 20px;background:var(--bg);border-top:1px solid var(--line)}
.compact-footer-head{display:flex;justify-content:space-between;align-items:center;gap:16px;font:12px/1.5 ui-monospace,monospace;color:var(--muted)}
.compact-footer-head p{margin:0}.compact-footer-head a{padding:10px 0;white-space:nowrap}
.compact-footer-connect{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px;margin:4px 0 10px}.compact-footer-connect>a{font-size:13px}.compact-footer-social{display:flex;flex-wrap:wrap;gap:0 18px}.compact-footer-social a{display:inline-flex;align-items:center;min-height:40px;font-size:12px;color:var(--muted)}
.compact-footer-policy{border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.compact-footer-policy summary{cursor:pointer;min-height:40px;display:flex;align-items:center;list-style:none}.compact-footer-policy summary::-webkit-details-marker{display:none}.compact-footer-policy summary::after{content:'+';margin-left:12px}.compact-footer-policy[open] summary::after{content:'−'}
.compact-footer-policy nav{display:flex;flex-wrap:wrap;gap:0 20px}.compact-footer-policy nav a{display:inline-flex;align-items:center;min-height:40px;line-height:1.4}
@media(max-width:600px){.article-body .newsletter-box.article-newsletter{padding:17px!important;gap:10px!important}.article-newsletter .preview-inline-signup label{margin-bottom:7px!important}.site-footer.compact-footer{margin-top:20px;padding:14px 0}.compact-footer-head{font-size:10px}.compact-footer-connect{gap:2px;margin:0 0 5px}.compact-footer-connect>a{width:100%;min-height:36px;display:flex;align-items:center}.compact-footer-social{gap:0 16px}.compact-footer-policy nav{gap:0 14px}}

.compact-footer-identity{display:flex;align-items:center;gap:9px}.compact-footer-identity img{width:32px;height:32px;border-radius:50%;object-fit:cover}.compact-footer-social a,.compact-footer-policy nav a{padding:6px 0;border:0;letter-spacing:0;text-transform:none}

/* One signature rendering layer, using the established navy / orange brand palette. */
.header .brand{position:relative}
.header .brand::after{content:none!important}
.signature-wrap{position:relative;display:block;--signature-orange:#d4691a;--signature-name:#0a1535}
html[data-theme=dark] .signature-wrap{--signature-orange:#e88f4a;--signature-name:#f8f4eb}
.signature-wrap>.signature{visibility:hidden!important;opacity:0!important;filter:none!important;animation:none!important}
.signature-wrap::before,html[data-theme=dark] .signature-wrap::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--signature-orange) 0 69%,var(--signature-name) 69% 100%);mask:url("signature.webp") center/100% 100% no-repeat;-webkit-mask:url("signature.webp") center/100% 100% no-repeat;animation:none;clip-path:none}
.article-signoff .signature-wrap::before,html[data-theme=dark] .article-signoff .signature-wrap::before{mask-image:url("signature-signoff.webp");-webkit-mask-image:url("signature-signoff.webp")}

/* Contact is one clear action; social links have familiar, generous tap targets. */
.compact-footer-connect{display:block;margin:10px 0 8px;padding:12px 0 0;border-top:1px solid var(--line)}
.compact-footer-connect>a{width:auto!important;display:inline-flex!important;min-height:40px!important;font-size:14px;font-weight:500;border:0;gap:10px}
.compact-footer-connect>a::after{content:"";width:7px;height:7px;border-top:1px solid var(--blue);border-right:1px solid var(--blue);transform:translateY(-1px)}
.compact-footer-social{display:flex;gap:10px!important;margin:5px 0 12px;letter-spacing:0}
.compact-footer-social a{width:40px;height:40px;min-height:40px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line)!important;border-radius:50%;padding:0!important;color:var(--ink);background:var(--panel)}
.compact-footer-social a:hover{border-color:var(--blue)!important;color:var(--blue)}
.compact-footer-social svg{width:17px;height:17px;display:block;fill:currentColor}
.compact-footer-policy summary{min-height:44px;font-size:11px;justify-content:space-between}
.compact-footer-policy summary::after{font-size:16px;margin-right:2px}
@media(min-width:700px){.compact-footer-connect{display:flex;justify-content:space-between;align-items:center;gap:24px}.compact-footer-social{margin:0}.compact-footer-policy{margin-top:12px}}

/* Article-end signature reveals once on entry; preserve the approved artwork. */
@keyframes ipe-signature-write{0%{clip-path:inset(0 100% 0 0)}70%{clip-path:inset(0 30% 0 0)}100%{clip-path:inset(0 0 0 0)}}
@media(prefers-reduced-motion:no-preference){
.article-signoff.signature-ready .signature-wrap{clip-path:inset(0 100% 0 0)}
.article-signoff.signature-ready.is-visible .signature-wrap{animation:ipe-signature-write 2.2s linear both}
.article-signoff.signature-ready .signature-wrap::before,html[data-theme=dark] .article-signoff.signature-ready .signature-wrap::before{clip-path:none!important;animation:none!important}
}
@media(prefers-reduced-motion:reduce){.article-signoff .signature-wrap,.article-signoff .signature-wrap::before{clip-path:none!important;animation:none!important}}

/* Author card: a compact identity row, then full-width copy and real profiles. */
.article-body .author-card-refined{display:block;margin:0;padding:22px;border:1px solid var(--line);border-top:2px solid var(--accent);border-radius:3px;background:var(--panel)}
.author-card-heading{display:flex;align-items:center;gap:16px;margin:0 0 15px}
.author-card-refined .author-photo{width:64px;height:64px;flex:0 0 64px;margin:0;border-radius:50%;object-fit:cover}
.author-card-refined .eyebrow{display:block;font-size:10px;letter-spacing:.14em;line-height:1.4;margin:0 0 5px}
.article-body .author-card-refined h2{font-size:24px;line-height:1.15;letter-spacing:-.035em;margin:0!important}
.article-body .author-card-refined .author-card-summary{font-size:15px;line-height:1.65;margin:0 0 17px!important}
.author-card-actions{padding-top:14px;border-top:1px solid var(--line)}
.author-biography{display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:600;min-height:34px;text-decoration:none!important}
.author-socials{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0}
.author-socials a{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 11px;min-height:40px;box-sizing:border-box;font-size:12px;line-height:1.2;border:1px solid var(--line);border-radius:3px;text-decoration:none!important;color:var(--ink)}
.author-socials a:hover,.author-socials a:focus-visible{color:var(--blue);border-color:var(--blue)}
.author-socials a span{font-size:14px;color:var(--blue)}
.advertising-page .page-heading,body.page-oglasavanje-i-suradnje .page-heading{padding:24px 0 20px;margin:0 auto}
.advertising-page .page-heading h1,body.page-oglasavanje-i-suradnje .page-heading h1{font-size:clamp(32px,5vw,56px);line-height:1.08;max-width:850px;letter-spacing:-.04em;margin:0}
.ad-sales-kicker{display:none}
.ad-sales-hero{padding:0!important;margin-top:0!important}
.ad-sales-hero h2{margin-top:0!important;font-size:clamp(24px,3vw,34px)!important;line-height:1.25!important}
.advertising-page .article-body{padding-top:0!important}
@media(max-width:700px){.article-body .author-card-refined{padding:18px}.author-card-heading{gap:13px;margin-bottom:13px}.article-body .author-card-refined h2{font-size:22px}.author-card-refined .author-photo{width:58px;height:58px;flex-basis:58px}.author-socials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.reading-layout:has(.author-card-refined){gap:24px}.advertising-page .page-heading,body.page-oglasavanje-i-suradnje .page-heading{padding:16px 0 20px}.advertising-page .page-heading h1,body.page-oglasavanje-i-suradnje .page-heading h1{font-size:36px}.ad-sales-hero h2{font-size:25px!important}.ad-sales-hero p{font-size:17px;line-height:1.65}}

@media(max-width:760px){.reading-layout:has(.author-card-refined) .article-sidebar{margin-top:22px}}

/* Editorial author signature: quiet identity, one slim social dock. */
.article-body .author-card-refined{border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;padding:26px 0 18px;background:transparent}
.author-card-refined .author-card-heading{margin-bottom:16px;gap:16px}
.author-card-refined .author-photo{width:64px;height:64px;flex-basis:64px;border:1px solid var(--line);padding:3px}
.author-card-refined .eyebrow{color:var(--muted);font-size:9px;letter-spacing:.16em}
.article-body .author-card-refined h2{font-size:25px;letter-spacing:-.04em}
.article-body .author-card-refined .author-card-summary{font-size:15px;line-height:1.75;color:var(--muted);margin-bottom:18px!important}
.author-card-refined .author-card-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:0;padding-top:0}
.author-card-refined .author-biography{font:500 13px/1.3 inherit;letter-spacing:0;text-transform:none;white-space:nowrap;min-height:44px}
.author-card-refined .author-socials{display:flex;flex-wrap:nowrap;gap:2px;margin:0;align-items:center}
.author-card-refined .author-socials a{display:flex;justify-content:center;align-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;border:0;border-radius:50%;padding:12px;background:transparent;color:var(--muted);transition:background .18s,color .18s,transform .18s}
.author-card-refined .author-socials a:hover{background:var(--panel);color:var(--blue);transform:translateY(-2px)}
.author-card-refined .author-socials a:focus-visible{outline:2px solid var(--blue);outline-offset:2px;color:var(--blue)}
.author-card-refined .author-socials svg{display:block;width:19px;height:19px;fill:currentColor}
@media(max-width:400px){.author-card-refined .author-card-actions{gap:4px}.author-card-refined .author-socials{gap:0}.author-card-refined .author-socials a{flex-basis:44px;width:44px}.author-card-refined .author-biography{font-size:12px;gap:6px}}
@media(prefers-reduced-motion:reduce){.author-card-refined .author-socials a{transition:none;transform:none}}

/* Official publication mark links to Ivan’s verified author archive. */
.author-card-refined .author-socials .author-column img{display:block;width:22px;height:22px;object-fit:contain;border-radius:2px;margin:0}
@media(max-width:360px){.author-card-refined .author-card-actions{flex-wrap:wrap}.author-card-refined .author-socials{margin-left:-12px}.author-card-refined .author-biography{flex-basis:100%}}

@media(max-width:600px){.author-card-refined .author-card-actions{flex-wrap:wrap;gap:0}.author-card-refined .author-biography{flex-basis:100%}.author-card-refined .author-socials{margin-left:-12px;gap:4px}}

/* Article reading rhythm — tight entry, personal byline, one clean ending. */
.article-heading{padding-top:24px!important;padding-bottom:24px!important}
.article-heading h1{margin-top:16px;margin-bottom:22px}
.article-byline{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0;font-size:12px;letter-spacing:0}
.article-byline .byline-author{display:flex;align-items:center;gap:9px;color:var(--ink);text-decoration:none}
.article-byline img{width:34px;height:34px;border-radius:50%;object-fit:cover}
.article-byline time{padding-left:16px;border-left:1px solid var(--line);color:var(--muted)}
.author-publications{display:flex;align-items:center;gap:20px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:12px;padding-top:12px}
.author-publications a{display:flex;align-items:center;gap:7px;min-height:44px;font:11px/1.2 Arial,sans-serif!important;color:var(--muted);text-decoration:none!important;letter-spacing:0;text-transform:none}
.author-publications img{display:block;width:32px;height:32px;object-fit:contain;margin:0!important;border-radius:2px}
.author-publications .curiosmos-mark{width:104px;height:28px;background:#fff;padding:3px;border-radius:2px}
.author-publications .author-column img{width:26px;height:26px}
.site-footer.editorial-footer{margin-top:32px;padding:28px 0 16px;border-top:1px solid var(--line);background:var(--panel)}
.footer-main{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:18px}
.footer-main .eyebrow{font-size:9px;letter-spacing:.14em;margin:0 0 8px;color:var(--muted)}
.footer-email{font-size:clamp(17px,2vw,23px);letter-spacing:-.025em;text-decoration:none}.footer-email span{color:var(--blue);font-size:18px;margin-left:8px}
.editorial-footer .compact-footer-social{gap:5px!important;margin:0}.editorial-footer .compact-footer-social a{background:transparent;border:0!important;width:40px;height:40px}
.footer-bottom{border-top:1px solid var(--line);padding-top:10px;display:flex;align-items:flex-start;gap:18px;font:11px/1.6 ui-monospace,monospace;color:var(--muted)}
.footer-bottom>p{margin:12px 0}.footer-bottom .compact-footer-policy{margin:0;border:0;flex:1}.footer-bottom .compact-footer-policy summary{justify-content:flex-start;gap:14px}.footer-top{padding:12px 0;white-space:nowrap}
@media(max-width:700px){.article-heading{padding-top:12px!important;padding-bottom:22px!important}.article-heading h1{margin-top:13px;margin-bottom:20px}.article-byline{gap:10px;font-size:11px}.article-byline time{padding-left:10px}.author-publications{gap:14px}.author-publications .curiosmos-mark{width:88px}.footer-main{display:block;padding-bottom:12px}.editorial-footer .compact-footer-social{margin:14px 0 0 -10px;gap:9px!important}.footer-bottom{display:grid;grid-template-columns:1fr auto;gap:0 12px}.footer-bottom>p{margin:10px 0}.footer-bottom .compact-footer-policy{grid-row:2;grid-column:1/-1}.footer-top{grid-column:2;grid-row:1}.site-footer.editorial-footer{padding-top:22px;margin-top:24px}.reading-layout .article-sidebar{gap:16px}}

.author-publications .curiosmos-mark{background:#111820;padding:5px;border-radius:3px}
.editorial-footer .footer-bottom{display:flex!important;flex-direction:row!important;align-items:center;justify-content:space-between;gap:16px!important;padding-top:10px!important}
.editorial-footer .footer-bottom .compact-footer-policy{flex:0 1 auto!important}
@media(max-width:700px){.editorial-footer .footer-bottom{display:grid!important;grid-template-columns:1fr auto!important;gap:0 10px!important}.editorial-footer .footer-bottom .compact-footer-policy{grid-column:1/-1;grid-row:2}.editorial-footer .footer-bottom .footer-top{grid-column:2;grid-row:1}}

.footer-email .footer-arrow{display:inline-block;width:8px;height:8px;border-top:1px solid var(--blue);border-right:1px solid var(--blue);transform:translateY(-2px)}

/* A consistent publisher signature, using original brand artwork. */
.author-publications{gap:18px;padding-top:14px;margin-top:12px}
.author-publications a{gap:8px;font-size:11px!important;min-height:44px}
.author-publications .publication-symbol{display:block;position:relative;width:30px;height:30px;overflow:hidden;flex:0 0 30px;border-radius:3px}
.author-publications .curiosmos-symbol{background:#101820}
.author-publications .curiosmos-symbol img{position:absolute;left:0;top:0;width:210px!important;height:30px!important;max-width:none!important;object-fit:fill!important;border-radius:0}
.author-publications .ancient-symbol{background:#171715}
.author-publications .ancient-symbol img{position:absolute;left:-27px;top:-20px;width:84px!important;height:84px!important;max-width:none!important;object-fit:fill!important;border-radius:0}
.author-publications .author-column img{width:30px;height:30px}
@media(max-width:400px){.author-publications{gap:12px}.author-publications a{gap:6px;font-size:10px!important}}

/* Official column mark alongside personal social icons. */
.author-socials .author-column img{display:block;width:22px;height:22px;object-fit:contain;border-radius:3px}

/* Clear routes to existing editions and support, without product or checkout changes. */
.reader-support{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0 0 32px;padding:0 0 26px;border-bottom:1px solid var(--line, #343638)}
.reader-support a{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:4px 24px 4px 0;text-decoration:none;color:inherit;min-width:0}
.reader-support a+a{border-left:1px solid var(--line, #343638);padding-left:30px}
.reader-support .support-kicker{font-size:9px;letter-spacing:.16em;opacity:.65;font-family:monospace}
.reader-support .support-title{font-size:20px;line-height:1.3;font-weight:500;letter-spacing:-.03em}
.reader-support .support-title span{font-size:16px;margin-left:8px;color:var(--accent, #88b8cc)}
.reader-support .support-detail{font-size:12px;line-height:1.5;opacity:.7}
.reader-support a:hover .support-title{text-decoration:underline;text-underline-offset:5px}
.reader-support a:focus-visible{outline:2px solid currentColor;outline-offset:5px}
@media(max-width:540px){.reader-support{grid-template-columns:1fr;gap:20px;padding-bottom:24px;margin-bottom:25px}.reader-support a{padding:0}.reader-support a+a{border-left:0;padding:0}.reader-support .support-title{font-size:21px}}

.editions-download{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;box-sizing:border-box;margin:16px 0 24px;padding:15px 18px;border:1px solid var(--line,#343638);border-radius:4px;font-size:14px;line-height:1.5;color:inherit!important;text-decoration:none!important;background:var(--surface,transparent)}.editions-download:hover{border-color:currentColor}.editions-download svg{flex:none}.author-socials .author-coffee svg{fill:none;stroke:currentColor}

.author-socials .author-coffee img{width:24px;height:24px;display:block;border-radius:4px;object-fit:contain}.editions-download{background:#eee9df!important;color:#17191d!important;border-color:#eee9df!important;font-weight:600;min-height:54px}.editions-download:hover{background:#fff!important}

.journal-more{display:flex;justify-content:center;padding:28px 0 4px}.journal-more a{padding:12px 22px;border:1px solid currentColor;border-radius:3px;text-decoration:none;font-size:13px}.journal-more a:hover{text-decoration:underline;text-underline-offset:4px}

/* Consistent editorial information on every home card. */
.journal-note .journal-excerpt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.65;margin-top:12px}

/* Stable, consistent image frames without stretching. */
.journal-card .journal-image{width:100%;height:auto;aspect-ratio:16/9;max-height:none;object-fit:cover;object-position:center;display:block}
.footer-email{display:inline-block;overflow-wrap:anywhere}
.journal-card .journal-image.image-fit-contain{object-fit:contain;background:var(--paper,#11151b)}

/* Seven verified author destinations must fit narrow phones without overflow. */
.author-card-refined .author-socials{flex-wrap:wrap;min-width:0;max-width:100%}
@media(max-width:600px){.author-card-refined .author-socials{margin-left:0;width:100%}}

/* Small newsletter labels retain brand blue with AA text contrast. */
html:not([data-theme=dark]) .ipe-newsletter .eyebrow{color:#066b9d}

/* Real engaged-read badge; inline next to date without changing the article grid. */
.ipe-popular{display:inline-flex;align-items:center;gap:5px;margin-inline-start:10px;color:#a84112;font-size:12px;font-weight:650;line-height:1.4;white-space:nowrap;vertical-align:middle}
.ipe-popular-flame{display:block;flex:none;transform-origin:50% 90%;animation:ipe-flame 1.9s ease-in-out 2}
@keyframes ipe-flame{0%,100%{transform:rotate(-3deg) scale(.96)}50%{transform:rotate(3deg) scale(1.05)}}
@media(prefers-reduced-motion:reduce){.ipe-popular-flame{animation:none;transform:none}}
html[data-theme=dark] .ipe-popular{color:#f78343}
.article-meta .ipe-popular{margin:0;margin-inline-start:10px}
.article-meta .ipe-popular>span{margin:0}
