/* === Self-hosted webfonts (WOFF2) === */
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('/wp-content/themes/jnews-child/fonts/inter-400.woff2') format('woff2');
}
@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:500;
  font-display:swap;
  src:url('/wp-content/themes/jnews-child/fonts/inter-500.woff2') format('woff2');
}
@font-face{
  font-family:'Space Grotesk';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('/wp-content/themes/jnews-child/fonts/space-grotesk-700.woff2') format('woff2');
}

:root{
  --violet:#24003D;
  --turquoise:#00D1B2;
  --amaranth:#E01A4F;
  --tomato:#F15946;
  --saffron:#F9C22E;
  --azure:#E6FAF8;
  --charcoal:#2E3A45;
  --card-bg:#FFFFFF;
  --text-dark:#24003D;
  --text-light:#333333;
  --shadow-soft:0 12px 28px rgba(0,0,0,.08);
  --transition-fast:.3s ease;

  /* author box palette */
  --vihor-navy:#120C24;
  --vihor-teal:#00D1B2;
  --vihor-text:#E6F7F4;
  --vihor-muted:#9db5b0;

  /* trust band */
  --trust-bg:#00A89D;

  /* unified rails */
  --vh-site-max:1140px;
  --vh-site-pad:20px;
}

html,body{margin:0;padding:0}
img{max-width:100%;height:auto;display:block}
a{transition:color .25s ease, background-color .25s ease}

.visually-hidden{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;
  margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important
}

/* Smooth anchor jump with header offset */
html{scroll-behavior:smooth; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale}
.entry-content h2, .entry-content h3, .entry-content h4{scroll-margin-top:90px}

/* Typography */
body{font-family:'Inter', system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;font-weight:400}
h1,h2,h3,h4,h5,h6,
.heading,.jeg_post_title,.vihor-highlight-title,.card-title,.vihor-newsletter h3{
  font-family:'Space Grotesk', system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-weight:700;
}

/* === Reveal-up utility (for on-load text) === */
.reveal-up{opacity:0;transform:translateY(14px);animation:vhSlideUp .6s ease .12s forwards}
@keyframes vhSlideUp{to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.reveal-up{animation:none;opacity:1;transform:none}}

/* === Lottie fallback helper === */
.card-icon.has-fallback dotlottie-wc{display:none !important}
.card-icon.has-fallback .lottie-fallback{display:block}

/* =============================
   Global rails (apply same width/padding to main wrappers)
   ============================= */
.hero-section,
.vh-hero__grid,
.category-section .container,
.vihor-highlight-section,
.vihor-highlight-wrapper,
.vihor-top-section,
.vihor-trust > div,
.vihor-newsletter,            /* if you have a wrapper */
.vihor-newsletter-box{        /* the white card */
  max-width:var(--vh-site-max) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:var(--vh-site-pad) !important;
  padding-right:var(--vh-site-pad) !important;
  box-sizing:border-box;
}

/* -----------------------
   1) HERO
   ----------------------- */
.hero-section{
  background:#fff; padding:40px 20px 30px;
  display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center;
  width:100% !important;
}
.hero-section h1{
  font-size:46px; font-weight:800; color:var(--violet);
  line-height:1.3; margin:0 0 18px
}
.hero-section h2{font-size:24px;font-family:Inter,sans-serif;font-weight:500;color:var(--text-dark);line-height:1.6;margin-bottom:30px}
.hero-section p{font-size:18px;font-family:Inter,sans-serif;color:var(--text-light);line-height:1.8;max-width:90%}
.hero-section img{max-width:100%;height:auto}

/* Full-bleed wave under hero (100vw approach like original) */
.vh-wave{width:100vw;overflow:hidden;line-height:0;position:relative;left:50%;transform:translateX(-50%);margin-bottom:-1px}
.vh-wave__svg{display:block;width:100%;height:auto}

/* -----------------------
   2) Category cards (with Lottie) — saffron platform + cards
   ----------------------- */
.category-section{width:100vw;margin-left:calc(-50vw + 50%);background:#FDD772;padding:36px 0 48px}
.category-section .container{max-width:var(--vh-site-max);margin:0 auto;padding:0 20px}

.card-grid{
  display:flex;justify-content:center;gap:24px;flex-wrap:nowrap;
  overflow:visible;align-items:stretch;padding:0 12px;margin:0 auto;max-width:var(--vh-site-max);
}
.card-grid article{display:flex;flex:0 0 320px;max-width:320px}

.card-box{
  background:var(--card-bg);border-radius:20px;padding:32px 24px 36px;text-align:center;
  box-shadow:var(--shadow-soft);transition:transform var(--transition-fast), box-shadow var(--transition-fast);
  position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
  width:100%;height:100%;min-height:420px;
}
.card-box:hover{transform:translateY(-4px) scale(1.02);box-shadow:0 14px 28px rgba(0,0,0,.1)}
.card-box::after{
  content:'';position:absolute;left:24px;bottom:20px;width:calc(100% - 48px);height:3px;
  background:var(--turquoise);border-radius:2px;transform:scaleX(0);opacity:.6;transition:transform .4s ease
}
.card-box:hover::after{transform:scaleX(1)}

.card-icon{height:160px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;margin-bottom:12px}
.card-icon img, .card-icon svg, .card-icon canvas, .card-icon dotlottie-wc{
  max-height:100%;height:100% !important;width:auto !important;object-fit:contain;display:block
}

/* 2nd & 3rd card — artwork scale tweaks */
.card-grid article:nth-child(2) .card-icon dotlottie-wc,
.card-grid article:nth-child(2) .card-icon img{ transform:scale(1.12);transform-origin:center bottom }
@media (min-width:769px){
  .card-grid article:nth-child(3) .card-icon dotlottie-wc,
  .card-grid article:nth-child(3) .card-icon img,
  .card-grid article:nth-child(3) .card-icon svg,
  .card-grid article:nth-child(3) .card-icon canvas{transform:scale(1.12);transform-origin:center bottom}
  .card-grid article:nth-child(3) .card-icon{height:176px}
}

/* Titles & desc */
.card-title{font-size:20px;font-weight:700;color:var(--text-dark);margin:16px 0 8px}
.card-desc{font-family:'Inter',sans-serif;font-size:15.5px;font-weight:500;line-height:1.6;color:var(--text-dark)}

/* -----------------------
   3) "Top izbor" cards (ItemList)
   ----------------------- */
.vihor-top-section{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}
.vihor-article{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  display:flex;
  flex-direction:column;
  height:100%;
}
.vihor-article a{display:block}
.vihor-article img{
  width:100%;height:auto;display:block;object-fit:cover;aspect-ratio:16/9;transition:filter .3s ease;
}
.vihor-article:hover img{filter:brightness(.92)}

.vihor-ribbon{
  position:absolute;top:14px;left:-40px;width:140px;line-height:28px;
  background:var(--amaranth);color:#fff;font-size:11.8px;font-weight:700;text-align:center;
  transform:rotate(-45deg);box-shadow:0 2px 6px rgba(0,0,0,.15);z-index:10;pointer-events:none;
}

/* -----------------------
   4) Highlight strip (“Izdvajamo za vas”) — purple pill
   ----------------------- */
.vihor-highlight-section{margin:18px auto 14px}
.vihor-highlight-wrapper{display:flex;align-items:center;justify-content:center;position:relative}
.vihor-mascot-block{position:relative;width:130px;margin-right:-60px;margin-left:-10px;z-index:2;display:flex;flex-direction:column;align-items:center}
.vihor-highlight-mascot{width:110px;height:110px;aspect-ratio:1/1;animation:mascotBounce 2.2s infinite ease-in-out;transition:transform .3s ease}
@keyframes mascotBounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}

.vihor-mascot-line{
  position:absolute;bottom:-10px;left:50%;width:40px;height:3px;border-radius:999px;
  background:var(--amaranth) !important;opacity:.95;transform:translateX(-50%);
  animation:jumpLineDrift 2.2s infinite ease-in-out;
}
@keyframes jumpLineDrift{
  0%{ transform: translateX(-52%) scaleX(.92); opacity:.9; }
  50%{ transform: translateX(-48%) scaleX(1.12); opacity:1; }
  100%{ transform: translateX(-52%) scaleX(.92); opacity:.9; }
}

.vihor-highlight-container{
  background:var(--violet);color:#E6FAF8;border:0;border-radius:12px;
  box-shadow:0 14px 34px rgba(36,0,61,.22);
  padding:14px 48px;min-height:56px;
  display:flex;align-items:center;justify-content:center;flex-grow:1;text-align:center;
  width:clamp(560px,60vw,820px);
}
.vihor-highlight-title{font-weight:800;font-size:24px;color:#E6FAF8;margin:0}

/* -----------------------
   5) White category boxes (JNews list inside)
   ----------------------- */
.vihor-category-box{
  background-color:#fff;border-radius:16px;box-shadow:0 8px 24px rgba(36,0,61,.08);
  padding:30px 20px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;text-align:center
}
.vihor-category-card{display:flex;flex-direction:column;align-items:center;margin-bottom:5px}
.vihor-category-card img{max-width:140px;height:auto;margin-bottom:12px}

/* Title + animated amaranth bar that expands from center */
.vihor-category-card h3{
  font-family:'Space Grotesk',sans-serif !important;
  font-weight:700;color:var(--violet);
  line-height:1.3;margin:16px 0 14px;position:relative;
}
.vihor-category-card h3::after{
  content:"";position:absolute;left:50%;bottom:-8px;width:64px;height:3px;border-radius:999px;
  transform:translateX(-50%) scaleX(.55);transform-origin:center;
  background:var(--amaranth);animation:vihorBarPulse 2.2s ease-in-out infinite;
}
@keyframes vihorBarPulse{
  0%{ transform: translateX(-50%) scaleX(.55); opacity:.95; }
  50%{ transform: translateX(-50%) scaleX(1);   opacity:1; }
  100%{ transform: translateX(-50%) scaleX(.55); opacity:.95; }
}
.vihor-category-card h3 a{ text-decoration:none; color:inherit; }
.vihor-category-card h3 a:hover{ color: var(--amaranth); }

/* JNews list reset + unified bullet logic
   ------------------------------------------------------------------
   We attach the dot to the ROW (.jeg_post), not to the title element.
   This guarantees identical alignment across all columns & breakpoints.
------------------------------------------------------------------- */
.vihor-category-box .jeg_posts,
.vihor-category-box .jeg_postlist,
.vihor-category-box .jeg_block_content{
  margin:0; padding:0; list-style:none;
}

.vihor-category-box .jeg_post{
  position:relative;
  padding:10px 0 10px 18px;             /* left space for the bullet */
  border-bottom:1px dashed #F9C22E;
}
.vihor-category-box .jeg_post:last-child{border-bottom:none}

.vihor-category-box .jeg_post::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:6px;
  height:6px;
  transform:translateY(-50%);
  background:var(--amaranth);
  border-radius:50%;
}

/* Titles: font & color only (no bullets/padding here) */
.vihor-category-box .jeg_post_title,
.vihor-category-box .jeg_post_title a{
  font-family:'Space Grotesk',sans-serif !important;
  font-weight:600 !important;
  color:#24003D !important;
  text-decoration:none !important;
}
.vihor-category-box .jeg_post_title{
  margin:0; text-align:left; line-height:1.45; font-size:.92rem;
  padding:0 !important;             /* ensure no extra left indent */
}
.vihor-category-box .jeg_post_title a:hover{color:#E01A4F !important}

/* -----------------------
   6) Trust / Proof block
   ----------------------- */
.vihor-trust{
  width:100vw;margin-left:calc(-50vw + 50%);background:var(--trust-bg);padding:40px 20px;
}
.vihor-trust__wrap{max-width:var(--vh-site-max);margin:0 auto;display:flex;flex-wrap:wrap;gap:20px;align-items:stretch}
.vihor-trust__left{flex:1 1 320px;display:flex;flex-direction:column;gap:20px}
.vihor-trust__card{background:#fff;padding:20px 24px;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.03)}
.vihor-trust__card p{margin:0;font-size:16px;line-height:1.6}
.vihor-trust__card strong,.vihor-trust__card a{color:var(--amaranth)}
.vihor-trust .is-teal{color:var(--turquoise)!important}
.vihor-trust__testi{flex:2 1 480px;background:#fff;padding:24px 28px;border-radius:12px;box-shadow:0 2px 10px rgba(0,0,0,.04);display:flex;flex-direction:column;justify-content:center}
.vihor-trust blockquote{margin:0 0 12px 0;font-size:16px;line-height:1.7;text-align:center}
.vihor-trust figcaption{margin:10px 0 0 0;font-size:14px;color:#555;text-align:center}

/* -----------------------
   7) Latest posts / footer / cookie bar (unchanged visuals)
   ----------------------- */
.vihor-latest-block .jeg_post_category a{background-color:#E01A4F !important;color:#fff !important;font-size:11px;font-weight:600;padding:4px 10px;border-radius:4px;text-transform:uppercase;display:inline-block}
.vihor-latest-block .jeg_post_title a{color:#24003D !important;text-decoration:none;transition:color .3s ease}
.vihor-latest-block .jeg_post_title a:hover{color:#E01A4F !important}

.vihor-footer-about{color:#00D1B2;font-family:'Inter',sans-serif;font-size:14px;line-height:1.7;max-width:360px;padding:0 20px;text-align:left;font-style:normal}
.vihor-footer-about a{font-family:'Space Grotesk',sans-serif;color:#00D1B2;text-decoration:underline;font-weight:600}
.vihor-footer-about a:hover{color:#00B49C;text-decoration:none}

/* Reading time & like */
.jeg_meta_reading_time span{font-size:13px;font-family:'Inter',sans-serif;color:#00d1b2;font-style:normal;font-weight:400;position:relative;display:inline-block}
.jeg_meta_like_container .like i{color:#E01A4F !important;font-size:18px;vertical-align:middle;transition:transform .2s ease}
.jeg_meta_like_container .like:hover i{transform:scale(1.2)}
.jeg_meta_like_container .like span{color:#24003D;font-size:13px;font-weight:500;margin-left:5px;vertical-align:middle;display:inline-block}

/* Cookie bar (JNews) — compact */
body .jeg_cookie, body .jeg_cookie_policy, body .jnews_cookie, body .jeg_cookie_policy_bar, body .jeg_cookie_bar{
  background:#24003D !important;color:rgba(255,255,255,.94) !important;border:0 !important;box-shadow:0 6px 16px rgba(0,0,0,.18) !important;
  padding:8px 10px !important;line-height:1.35 !important;font-size:13.5px !important
}
@media (min-width:769px){
  body .jeg_cookie, body .jeg_cookie_policy, body .jnews_cookie, body .jeg_cookie_policy_bar, body .jeg_cookie_bar{
    max-width:820px !important;margin:0 auto 8px;left:0 !important; right:0 !important; border-radius:10px !important
  }
}
body .jeg_cookie a, body .jnews_cookie a, body .jeg_cookie_policy a{color:#00D1B2 !important;text-decoration:underline;text-underline-offset:2px}
body .jeg_cookie a:hover, body .jnews_cookie a:hover, body .jeg_cookie_policy a:hover{color:#0cbfa8 !important}
body .jeg_accept_cookie, body .jeg_cookie_policy_button, body .jnews_cookie .button{
  background:#00D1B2 !important;color:#fff !important;border:0 !important;border-radius:8px !important;padding:6px 10px !important;
  font-weight:600 !important;line-height:1 !important;font-size:13px !important;box-shadow:0 4px 10px rgba(0,209,178,.28) !important;transition:background .15s ease, transform .12s ease
}
body .jeg_accept_cookie:hover, body .jeg_cookie_policy_button:hover, body .jnews_cookie .button:hover{background:#0cbfa8 !important;transform:translateY(-1px)}

/* -----------------------
   8) Single post reading rhythm
   ----------------------- */
.jeg_single .entry-content{max-width:740px;margin:0 auto;font-size:18px;line-height:1.8;hyphens:auto;word-wrap:break-word;hanging-punctuation:first}
@media (max-width:767px){ .jeg_single .entry-content{font-size:17px;line-height:1.75;padding:0 16px} }
.jeg_single .entry-content h2{font-size:28px;line-height:1.3;margin:28px 0 12px}
.jeg_single .entry-content h3{font-size:22px;line-height:1.35;margin:22px 0 10px}
@media (max-width:767px){ .jeg_single .entry-content h2{font-size:22px;margin:20px 0 10px} .jeg_single .entry-content h3{font-size:18px;margin:16px 0 8px} }
.jeg_single .entry-content p{margin:0 0 16px}
.jeg_single .entry-content ul, .jeg_single .entry-content ol{margin:10px 0 16px; padding-left:22px}
.jeg_single .entry-content figure, .jeg_single .entry-content .wp-block-image{margin:14px 0 18px}
.jeg_single .entry-content img{display:block;max-width:100%;height:auto;border-radius:10px}
.jeg_single .entry-content .wp-caption-text{font-size:13px;line-height:1.45;margin-top:6px;opacity:.85}
.jeg_single .entry-content h2 + .wp-block-image, .jeg_single .entry-content h3 + .wp-block-image{margin-top:8px}
.jeg_single .entry-content .wp-block-image + h2, .jeg_single .entry-content .wp-block-image + h3{margin-top:16px}
.jeg_single .entry-header .jeg_post_title{font-size:clamp(24px,4.6vw,36px);line-height:1.25;margin:8px 0 12px}
.jeg_single .jeg_meta_container{margin-bottom:8px}
.jeg_single .post-related, .jeg_single .jeg_authorbox{max-width:740px;margin:24px auto}

/* TOC */
.ez-toc-container{margin:14px 0 16px !important;padding:14px 16px !important;border-radius:14px !important;background:#fff !important;border:1px solid rgba(0,0,0,.06) !important;box-shadow:0 6px 20px rgba(0,0,0,.08) !important}
.ez-toc-title-container{display:flex !important; align-items:center !important; justify-content:space-between !important; gap:10px !important; margin:0 0 8px !important}
.ez-toc-title{font-size:16px !important; font-weight:700 !important; margin:0 !important}
.ez-toc-title-toggle .ez-toc-toggle{display:inline-flex !important; align-items:center !important; gap:6px !important; padding:6px 8px !important; border-radius:10px !important; background:rgba(0,0,0,.04) !important}
.ez-toc-list{margin:0 !important; padding:0 !important; list-style:none !important; counter-reset:item}
.ez-toc-list li{margin:6px 0 !important}
.ez-toc-list > li > a::before{counter-increment:item; content:counters(item,".") ". "; opacity:.7; margin-right:4px}
@media (max-width:767px){
  .ez-toc-container{padding:12px 12px !important; border-radius:12px !important}
  .ez-toc-title{font-size:15px !important}
}

/* -----------------------
   9) Newsletter
   ----------------------- */
@keyframes vihor-float-bubble {
  0% { transform: translateY(0) scale(1) rotate(0); }
  50% { transform: translateY(-22px) scale(1.05) rotate(6deg); }
  100% { transform: translateY(0) scale(1) rotate(0); }
}
.vihor-bubble { animation: vihor-float-bubble 6s ease-in-out infinite; transform-origin: center; }

.vihor-newsletter-section{background:#FDD772;padding:40px 16px}
.vihor-newsletter-box{
  background:#fff;border-radius:16px;max-width:720px;margin:0 auto;padding:24px 20px;
  box-shadow:0 12px 32px rgba(0,0,0,.1);text-align:center;color:#24003D;font-family:'Inter',sans-serif;
  position:relative;overflow:hidden
}
.vihor-newsletter-box h3{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:24px;margin:0 0 8px;color:#24003D}
.vihor-newsletter-box p{font-size:15px;color:#333;margin:0 0 18px}

.vihor-newsletter-box input[type="text"],
.vihor-newsletter-box input[type="email"]{
  width:100%;padding:12px;margin:0 0 12px;font-size:15px;border-radius:8px;border:1px solid #ccc;
  font-family:'Inter',sans-serif;box-shadow:none;outline:0
}
.vihor-newsletter-box input[type="text"]:focus,
.vihor-newsletter-box input[type="email"]:focus{
  border-color:#00D1B2;box-shadow:0 0 0 3px rgba(0,209,178,.15)
}

.vihor-newsletter-button{
  background:#E01A4F !important;border:0 !important;color:#fff !important;font-size:16px !important;
  font-weight:600 !important;font-family:'Inter',sans-serif !important;padding:12px 24px;border-radius:8px;
  width:100%;cursor:pointer;transition:background-color .25s ease, transform .08s ease
}
.vihor-newsletter-button:hover{background:#C41844 !important}
.vihor-newsletter-button:active{transform:translateY(1px)}
.vihor-newsletter-button[disabled]{opacity:.6;cursor:progress}

.vihor-newsletter-success{display:none;padding:8px 0 2px}
.vihor-newsletter-success h4{font-family:'Space Grotesk',sans-serif;font-size:20px;margin:0 0 6px;color:#24003D}
.vihor-newsletter-success p{margin:0;font-size:15px;color:#333}

@media (max-width:1024px){
  .vihor-top-section{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:768px){
  /* hero */
  .hero-section{flex-direction:column}
  .hero-section h1{font-size:34px}
  .hero-section h2{font-size:20px}

  /* category cards become stacked */
  .card-grid{flex-direction:column;gap:16px;overflow:visible;scroll-snap-type:none;padding-left:0;margin-left:0;max-width:100%}
  .card-grid article{flex:1 1 auto;max-width:100%}
  .card-box{min-height:0;width:100%}
  .card-icon{height:140px}
  .card-title{font-size:18px}
  .card-desc{font-size:15px;line-height:1.5}

  /* JNews list fine-tune */
  .vihor-category-box{padding:20px 12px}
  .vihor-category-card h3{font-size:1.05rem}
  .vihor-category-card img{max-width:120px}
  .vihor-category-box .jeg_post_title{font-size:.9rem}

  /* highlight strip */
  .vihor-mascot-block{width:100px;margin-right:-44px}
  .vihor-highlight-container{padding:10px 16px;border-radius:10px;min-height:48px;width:auto}
  .vihor-highlight-title{font-size:20px}

  /* top izbor grid */
  .vihor-top-section{grid-template-columns:1fr;gap:20px}
}
@media (max-width:480px){
  .vihor-newsletter-box{padding:20px 16px}
  .vihor-newsletter-box h3{font-size:20px}
  .vihor-newsletter-box p{font-size:14px}
}

/* Lock bullet + indent across all three columns */
.vihor-category-box .jeg_posts .jeg_post,
.vihor-category-box .jeg_postlist .jeg_post {
  position: relative !important;
  padding: 10px 0 10px 18px !important; /* enforce the left indent */
  display: block; /* avoid flex/grid oddities from some modules */
}

.vihor-category-box .jeg_posts .jeg_post::before,
.vihor-category-box .jeg_postlist .jeg_post::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  transform: translateY(-50%);
  background: var(--amaranth, #E01A4F);
  border-radius: 50%;
}

/* ——— BULLETS inside white category boxes ——— */
.vihor-category-box .jeg_block_content .jeg_post,
.vihor-category-box .jeg_posts .jeg_post,
.vihor-category-box .jeg_postlist .jeg_post{
  position:relative !important;
  padding:10px 0 10px 18px !important; /* left indent = space for dot */
  display:block;
  border-bottom:1px dashed #F9C22E;
}
.vihor-category-box .jeg_post:last-child{border-bottom:none}

.vihor-category-box .jeg_block_content .jeg_post::before{
  content:"";
  position:absolute; left:0; top:50%;
  width:6px; height:6px; transform:translateY(-50%);
  background:var(--amaranth,#E01A4F); border-radius:50%;
}

/* make sure title itself adds no extra padding/margin */
.vihor-category-box .jeg_post .jeg_post_title,
.vihor-category-box .jeg_post .jeg_post_title a,
.vihor-category-box .jeg_block_content .box_wrap{
  margin:0 !important; padding:0 !important;
}

/* ——— PADDING for title + excerpt in 3-card row ——— */
.vihor-top-section .jeg_post > :not(.jeg_thumb){
  padding-left:16px; padding-right:16px;
}
.vihor-top-section .jeg_thumb{margin:0 !important}
.vihor-top-section .jeg_thumb img{display:block;width:100%;border-radius:0 !important}

.vihor-top-section .jeg_post_title{margin:12px 0 6px !important}
.vihor-top-section .jeg_post_excerpt{margin:0 0 14px !important; line-height:1.6}

/* mobile tighten a bit */
@media (max-width:768px){
  .vihor-top-section .jeg_post > :not(.jeg_thumb){
    padding-left:12px; padding-right:12px;
  }
} 



/* A11y: respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .vihor-highlight-mascot,
  .vihor-mascot-line,
  .vihor-category-card h3::after,
  .vihor-bubble { animation: none !important; }
}

/* A11y: focus outlines */
a:focus, button:focus, input:focus{
  outline:3px solid var(--turquoise);
  outline-offset:2px;
}

/* Mobile-only tweak: highlight pill width safe on tiny screens */
@media (max-width:480px){
  .vihor-highlight-container{ width:100% !important; padding-inline:15px !important; }
}

/* Tap targets (no layout shift of blocks/images) */
.vihor-newsletter-button{
  min-height:44px; display:flex; align-items:center; justify-content:center;
}
.vihor-article .vihor-article-content h3 a,
.vihor-category-box .jeg_post_title a{
  display:inline-block; padding-block:6px;
}

/* iOS input zoom prevention */
.vihor-newsletter-box input[type="text"],
.vihor-newsletter-box input[type="email"]{
  font-size:16px; -webkit-appearance:none; appearance:none;
}

/* Top-izbor: align description start consistently (2-line min title) */
.vihor-article .vihor-article-content{
  padding:12px 16px 16px; box-sizing:border-box;
  display:grid; grid-template-rows:minmax(calc(1.35em * 2), auto) auto; row-gap:8px;
}
@media (max-width:768px){ .vihor-article .vihor-article-content{ padding:12px; } }

/* Slightly darker copy for contrast */
.card-desc{ color:#2A2A2A; }

@media (max-width: 480px){
  .jeg_breadcrumbs a,
  .jeg_post_category a,
  .jeg_readmore,
  .jeg_post_meta a,
  .jeg_author_socials a {
    display:inline-flex;
    align-items:center;
    min-height:44px;
    padding:8px 6px;       /* subtle padding; avoids layout shifts */
    line-height:1.2;
  }
}

body.archive .vihor-breadcrumbs {
  display: none !important;
}

/* === Top izbor – uskladi naslov i tekst sa stilom liste (violet + amaranth hover) === */
.vihor-article .vihor-article-content h3 a{
  color: var(--violet) !important;          /* #24003D */
  text-decoration: none;
  transition: color .25s ease, text-underline-offset .2s ease;
}
.vihor-article .vihor-article-content h3 a:hover,
.vihor-article .vihor-article-content h3 a:focus{
  color: var(--amaranth) !important;        /* #E01A4F */
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Opis ispod naslova – malo tamniji radi kontrasta (isti ton kao u listi) */
.vihor-article .vihor-article-content p{
  color: var(--text-dark);                   /* #24003D iz :root */
}

/* A11y: fokus ring da bude u skladu sa sajtom */
.vihor-article .vihor-article-content h3 a:focus-visible{
  outline: 3px solid var(--turquoise);
  outline-offset: 2px;
  border-radius: 2px;
}

/* (opciono) lagani “lift” na hover – isti osećaj kao na belim karticama */
.vihor-article:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  transition: transform .25s ease, box-shadow .25s ease;
}
