/* InfoBuz noncritical styles: font-face fallbacks, hover effects, sharing, below-the-fold navigation and footer. */
/*
Theme Name: InfoBuz News Theme
Theme URI: https://www.infobuz.ro/
Author: InfoBuz
Author URI: https://www.infobuz.ro/
Description: Tema oficială InfoBuz.ro pentru știri, informații utile și date LIVE. Construită intern pentru performanță, SEO și integrare nativă cu InfoBuz Core.
Version: 0.8.3-rc4
Text Domain: infobuz-news-theme
Requires at least: 6.9
Requires PHP: 8.1
License: Proprietary
*/

@font-face{font-family:"Encode Sans Condensed";src:url("encode-sans-condensed-v11-latin_latin-ext-regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Encode Sans Condensed";src:url("encode-sans-condensed-v11-latin_latin-ext-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Encode Sans Condensed";src:url("encode-sans-condensed-v11-latin_latin-ext-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Oxygen";src:url("oxygen-v16-latin_latin-ext-regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Oxygen";src:url("oxygen-v16-latin_latin-ext-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Oxygen";src:url("oxygen-v16-latin_latin-ext-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}

/* Premium hover zoom - Homepage photos only.
   Real <img> elements are targeted (including those inside <picture>).
   No hover-capability/pointer media gate: hybrid touch + mouse must also work.
   CSS transform doesn't change layout dimensions or generate CLS. */
body.home .ib-home-widgets .ibhh-image-link,
body.home .ib-home-widgets .ibhh-card-image-link,
body.home .ib-home-widgets .ibnr-image-link,
body.home .ib-home-widgets .ibcc-image-link{
  overflow:hidden;
}
body.home .ib-home-widgets .ibhh-image-link img,
body.home .ib-home-widgets .ibhh-card-image-link img,
body.home .ib-home-widgets .ibnr-image-link img,
body.home .ib-home-widgets .ibcc-image-link img{
  transform-origin:50% 50%!important;
  transform:none!important;
  transition:transform .25s cubic-bezier(.2,.72,.3,1)!important;
}
body.home .ib-home-widgets .ibhh-image-link:hover img,
body.home .ib-home-widgets .ibhh-card-image-link:hover img,
body.home .ib-home-widgets .ibnr-image-link:hover img,
body.home .ib-home-widgets .ibcc-image-link:hover img{
  transform:scale(1.03)!important;
}
/* Honor the user's reduced-motion preference. */
@media (prefers-reduced-motion:reduce){
  body.home .ib-home-widgets .ibhh-image-link img,
  body.home .ib-home-widgets .ibhh-card-image-link img,
  body.home .ib-home-widgets .ibnr-image-link img,
  body.home .ib-home-widgets .ibcc-image-link img{
    transition:none!important;
  }
  body.home .ib-home-widgets .ibhh-image-link:hover img,
  body.home .ib-home-widgets .ibhh-card-image-link:hover img,
  body.home .ib-home-widgets .ibnr-image-link:hover img,
  body.home .ib-home-widgets .ibcc-image-link:hover img{
    transform:none!important;
  }
}

.ib-post-navigation{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:34px 0;padding-top:22px;border-top:1px solid var(--ib-line)}
.ib-post-navigation>a{display:flex;flex-direction:column;gap:4px;padding:14px;border:1px solid var(--ib-line);border-radius:12px;color:var(--ib-ink);background:#fff}
.ib-post-navigation>a:hover{border-color:#a9cdf8;background:#f8fbff}
.ib-post-navigation .next-post{text-align:right}
.ib-post-navigation span{font-size:12px;color:#718096;text-transform:uppercase;letter-spacing:.04em}
.ib-author-box{display:grid;grid-template-columns:72px minmax(0,1fr);gap:16px;align-items:start;margin:28px 0;padding:18px;border:1px solid var(--ib-line);border-radius:14px;background:#f9fbfd}
.ib-author-box img{border-radius:50%}
.ib-author-box span{font-size:11px;color:#748397;text-transform:uppercase;letter-spacing:.05em}
.ib-author-box h3{margin:2px 0 4px;font-size:21px}
.ib-author-box p{margin:0;color:#5e6f82;font-size:14px}
.newsx-related-posts-wrap{margin:34px 0}
.newsx-related-posts-wrap>h3{font-size:26px;margin:0 0 15px}
.newsx-related-posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.newsx-related-posts>section{border:1px solid var(--ib-line);border-radius:12px;overflow:hidden;background:#fff}
.newsx-related-posts>section>a:first-child{display:block;aspect-ratio:3/2;overflow:hidden}
.newsx-related-posts img{width:100%;height:100%!important;object-fit:cover;display:block}
.newsx-related-posts h3{font-size:16px;margin:10px 12px 6px}
.newsx-related-posts h3 a{color:var(--ib-ink)}
.newsx-related-posts .post-date{display:block;margin:0 12px 12px;color:#7b8998;font-size:12px}

/* Author, comments and 404. */
.ib-author-header{display:grid;grid-template-columns:96px minmax(0,1fr);gap:18px;align-items:center;margin:0 0 28px;padding-bottom:22px;border-bottom:1px solid var(--ib-line)}
.ib-author-header img{border-radius:50%}
.ib-eyebrow{display:block;color:var(--ib-blue-dark);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;margin-bottom:5px}
.ib-comments{margin:34px 0}
.comment-list{list-style:none;padding:0}
.comment-list .comment-body{margin-bottom:14px;padding:14px;border:1px solid var(--ib-line);border-radius:12px}
.ib-error-page{max-width:720px;text-align:center;padding:80px 0}
.ib-error-code{display:block;font:700 clamp(72px,14vw,140px)/.9 "Encode Sans Condensed",Arial,sans-serif;color:#dbeaff}
.ib-error-page h1{font-size:38px;margin:12px 0}
.ib-error-page .ib-search-form{max-width:520px;margin:26px auto}
.ib-primary-button{display:inline-flex;margin-top:8px;padding:11px 18px;border-radius:10px;background:var(--ib-blue);color:#fff;font-weight:700}

/* Theme fallback footer. InfoBuz Footer Premium replaces this on the live site. */
.ib-theme-footer{border-top:1px solid var(--ib-line);background:#f8fafc}
.ib-theme-footer-inner{min-height:86px;display:flex;justify-content:space-between;align-items:center;gap:16px;color:#68788c;font-size:13px}
.ib-theme-footer-inner p{margin:0}
.ib-footer-menu{display:flex;gap:14px;list-style:none;margin:0;padding:0}
.ib-footer-menu a{color:#50647b}


/* Article sharing and source blocks reproduced natively by InfoBuz News Theme. */
.ib-post-sharing{margin:14px 0 0}
.ib-post-sharing .sharing-icons{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ib-post-sharing .sharing-icons a,.ib-post-sharing .sharing-icons button{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:7px 10px;border:1px solid #dbe6f2;border-radius:9px;background:#fff;color:#17324f;font-size:12px;font-weight:700;line-height:1;text-decoration:none;box-shadow:none}
.ib-post-sharing .sharing-icons a:hover,.ib-post-sharing .sharing-icons button:hover{border-color:#9dc9ff;background:#f2f7ff;color:#0758c7}
.ib-post-sharing .sharing-icons svg{width:16px;height:16px;fill:currentColor}
.ib-post-sharing .facebook-share{color:#1877f2}
.ib-post-sharing .x-twitter-share{color:#111}
.ib-post-sharing .whatsapp-share{color:#128c7e}
.ib-post-sharing .copy-share{appearance:none}
.ib-post-sources{display:grid;gap:8px;margin:22px 0 10px;padding-top:16px;border-top:1px solid var(--ib-line);font-size:12px;color:#69798b}
.ib-post-sources .post-source{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.ib-post-sources .post-source>span{font-weight:700;color:#52667d}
.ib-post-sources a{display:inline-flex;padding:4px 8px;border-radius:999px;background:#eef5ff;color:#0758c7;text-decoration:none}
.ib-post-sources a:hover{background:#dcecff}
@media(max-width:520px){
  .ib-post-sharing .share-label{display:none}
  .ib-post-sharing .sharing-icons a,.ib-post-sharing .sharing-icons button{width:38px;height:38px;justify-content:center;padding:0}
}



/* Minimalist editorial share bar: visually paired with InfoBuz Article Reactions. */
body.single-post .ib-share-after-tags{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px 14px;
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  min-height:65px;
  margin:0 auto 24px;
  padding:11px 16px;
  border:1px solid #e5eaf1;
  border-radius:12px;
  background:#fff;
  color:#1d2e46;
  box-shadow:0 2px 10px rgba(19,43,77,.035);
}
body.single-post .ib-share-after-tags-copy{
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
  min-width:0;
  gap:8px;
  margin:0;
  padding:0;
}
body.single-post .ib-share-after-tags-icon{
  flex:0 0 18px;
  display:block;
  color:#6682a4;
}
body.single-post .ib-share-after-tags-eyebrow{
  display:inline-block;
  color:#233954;
  font-family:inherit;
  font-size:13px;
  font-weight:750;
  line-height:1.3;
  letter-spacing:0;
  text-transform:none;
  white-space:nowrap;
}
body.single-post.ibsae-active .ib-share-after-tags .ib-post-sharing,
body.single-post .ib-share-after-tags .ib-post-sharing{
  display:block!important;
  flex:0 1 auto;
  min-width:0;
  max-width:100%!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.single-post .ib-share-after-tags .newsx-post-sharing{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-width:0;
  width:auto;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body.single-post .ib-share-after-tags .sharing-icons{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:6px;
  margin:0;
}
body.single-post .ib-share-after-tags .sharing-icons a,
body.single-post .ib-share-after-tags .sharing-icons button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  box-sizing:border-box;
  width:auto;
  min-width:0;
  min-height:38px;
  height:auto;
  margin:0;
  padding:6px 10px;
  border:1px solid #dce4ee;
  border-radius:9px;
  background:#fafbfd;
  color:#314763;
  font:inherit;
  font-size:12px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:0;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:none;
  cursor:pointer;
  transition:background-color .14s,border-color .14s,color .14s;
}
body.single-post .ib-share-after-tags .sharing-icons a:hover,
body.single-post .ib-share-after-tags .sharing-icons button:hover{
  border-color:#c3d8ee;
  background:#f1f7ff;
  color:#1465ae;
  text-decoration:none;
}
body.single-post .ib-share-after-tags .sharing-icons a:focus-visible,
body.single-post .ib-share-after-tags .sharing-icons button:focus-visible{
  outline:2px solid #2a77d4;
  outline-offset:3px;
}
body.single-post .ib-share-after-tags .sharing-icons svg{
  display:block;
  width:16px;
  height:16px;
  fill:currentColor;
  pointer-events:none;
}
body.single-post .ib-share-after-tags .share-label{
  display:inline;
  font-size:12px;
  font-weight:700;
}
@media(max-width:650px){
  body.single-post .ib-share-after-tags{
    padding:10px 12px;
    min-height:58px;
    margin-bottom:18px;
    border-radius:11px;
    gap:8px 12px;
  }
  body.single-post .ib-share-after-tags-eyebrow{font-size:12px;}
  body.single-post .ib-share-after-tags-icon{width:16px;height:16px;flex-basis:16px;}
  body.single-post .ib-share-after-tags .sharing-icons{
    display:flex;
    flex-wrap:nowrap;
    gap:6px;
  }
  body.single-post .ib-share-after-tags .sharing-icons a,
  body.single-post .ib-share-after-tags .sharing-icons button{
    flex:0 0 36px;
    width:36px;
    min-width:36px;
    height:36px;
    min-height:36px;
    padding:0;
    border-radius:9px;
  }
  body.single-post .ib-share-after-tags .share-label{display:none;}
}
@media(max-width:365px){
  body.single-post .ib-share-after-tags{gap:10px 8px;}
  body.single-post.ibsae-active .ib-share-after-tags .ib-post-sharing,
  body.single-post .ib-share-after-tags .ib-post-sharing{
    flex-basis:100%;
    width:100%!important;
  }
  body.single-post .ib-share-after-tags .newsx-post-sharing,
  body.single-post .ib-share-after-tags .sharing-icons{justify-content:flex-start;}
}
@media(prefers-reduced-motion:reduce){
  body.single-post .ib-share-after-tags .sharing-icons a,
  body.single-post .ib-share-after-tags .sharing-icons button{transition:none;}
}

/* InfoBuz News 0.8.2: original News Magazine X S2 photographic navigation,
   implemented natively with lazy pictures and accessible previous/next links. */
body.single-post .newsx-post-navigation.ib-nav-image-cards,
body.single-post.ibsae-active .newsx-post-navigation.ib-nav-image-cards{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:clamp(9px,1.65vw,18px)!important;
  width:100%!important;
  max-width:var(--ibsae-content-width,920px)!important;
  margin:24px auto 26px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-sizing:border-box!important
}
body.single-post .newsx-post-navigation.ib-nav-image-cards.ib-nav-single,
body.single-post.ibsae-active .newsx-post-navigation.ib-nav-image-cards.ib-nav-single{
  grid-template-columns:minmax(0,1fr)!important;
  max-width:min(560px,100%)!important
}
body.single-post .newsx-post-navigation.ib-nav-image-cards>.ib-post-nav-card,
body.single-post.ibsae-active .newsx-post-navigation.ib-nav-image-cards>.ib-post-nav-card{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-end!important;
  position:relative!important;
  isolation:isolate!important;
  flex:1 1 auto!important;
  width:100%!important;
  min-width:0!important;
  min-height:185px!important;
  height:auto!important;
  padding:clamp(15px,2.5vw,24px)!important;
  margin:0!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#0e4f88,#092943)!important;
  color:#fff!important;
  text-decoration:none!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
  transition:box-shadow .18s ease
}
body.single-post .newsx-post-navigation.ib-nav-image-cards>.ib-post-nav-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(0deg,rgba(3,13,31,.96) 0%,rgba(3,13,31,.76) 43%,rgba(3,13,31,.36) 100%);
  transition:background .18s ease
}
body.single-post .newsx-post-navigation.ib-nav-image-cards>.ib-post-nav-card:hover{
  box-shadow:0 10px 28px rgba(9,34,65,.16)!important
}
body.single-post .newsx-post-navigation.ib-nav-image-cards>.ib-post-nav-card:focus-visible{
  outline:3px solid #1478d4!important;
  outline-offset:4px!important
}
body.single-post .newsx-post-navigation.ib-nav-image-cards>.ib-post-nav-card>.ib-post-nav-media{
  display:block!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  z-index:0!important;
  overflow:hidden!important;
  pointer-events:none!important
}
body.single-post .newsx-post-navigation.ib-nav-image-cards>.ib-post-nav-card>.ib-post-nav-media picture,
body.single-post .newsx-post-navigation.ib-nav-image-cards>.ib-post-nav-card>.ib-post-nav-media img{
  display:block!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  border:0!important;
  border-radius:0!important;
  object-fit:cover!important;
  object-position:center center!important;
  transform:scale(1);
  transition:transform .25s ease
}
body.single-post .newsx-post-navigation.ib-nav-image-cards>.ib-post-nav-card:hover img{
  transform:scale(1.03)
}
body.single-post .newsx-post-navigation.ib-nav-image-cards>.ib-post-nav-card>.ib-post-nav-copy{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-end!important;
  gap:7px!important;
  z-index:2!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  text-align:left!important;
  box-sizing:border-box!important;
  pointer-events:none
}
body.single-post .newsx-post-navigation.ib-nav-image-cards .ib-post-nav-label,
body.single-post.ibsae-active .newsx-post-navigation.ib-nav-image-cards .ib-post-nav-label{
  display:block!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:rgba(255,255,255,.90)!important;
  font-family:"Oxygen",Arial,sans-serif!important;
  font-size:10.5px!important;
  font-weight:800!important;
  line-height:1.25!important;
  letter-spacing:.075em!important;
  text-transform:uppercase!important
}
body.single-post .newsx-post-navigation.ib-nav-image-cards .ib-post-nav-title,
body.single-post.ibsae-active .newsx-post-navigation.ib-nav-image-cards .ib-post-nav-title{
  display:block!important;
  max-height:3.81em!important;
  overflow:hidden!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  color:#fff!important;
  font-family:"Encode Sans Condensed",Arial,sans-serif!important;
  font-size:clamp(18px,2vw,24px)!important;
  font-weight:700!important;
  line-height:1.27!important;
  letter-spacing:0!important;
  text-align:left!important;
  overflow-wrap:anywhere!important;
  text-shadow:0 1px 2px rgba(0,0,0,.16)
}
body.single-post .newsx-post-navigation.ib-nav-image-cards>.ib-post-nav-card.next-post>.ib-post-nav-copy{
  align-items:flex-end!important;
  text-align:right!important
}
body.single-post .newsx-post-navigation.ib-nav-image-cards>.ib-post-nav-card.next-post .ib-post-nav-label,
body.single-post .newsx-post-navigation.ib-nav-image-cards>.ib-post-nav-card.next-post .ib-post-nav-title{
  text-align:right!important
}
@media(max-width:767px){
  body.single-post .newsx-post-navigation.ib-nav-image-cards,
  body.single-post.ibsae-active .newsx-post-navigation.ib-nav-image-cards{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    margin-top:18px!important;
    margin-bottom:20px!important;
    padding:0!important
  }
  body.single-post .newsx-post-navigation.ib-nav-image-cards.ib-nav-single,
  body.single-post.ibsae-active .newsx-post-navigation.ib-nav-image-cards.ib-nav-single{
    grid-template-columns:minmax(0,1fr)!important
  }
  body.single-post .newsx-post-navigation.ib-nav-image-cards>.ib-post-nav-card,
  body.single-post.ibsae-active .newsx-post-navigation.ib-nav-image-cards>.ib-post-nav-card{
    min-height:180px!important;
    padding:14px!important;
    border-radius:12px!important
  }
  body.single-post .newsx-post-navigation.ib-nav-image-cards .ib-post-nav-title,
  body.single-post.ibsae-active .newsx-post-navigation.ib-nav-image-cards .ib-post-nav-title{
    font-size:clamp(14px,2.35vw,17px)!important;
    line-height:1.28!important;
    max-height:5.12em!important;
  }
}
@media(max-width:480px){
  body.single-post .newsx-post-navigation.ib-nav-image-cards,
  body.single-post.ibsae-active .newsx-post-navigation.ib-nav-image-cards{
    gap:8px!important
  }
  body.single-post .newsx-post-navigation.ib-nav-image-cards>.ib-post-nav-card,
  body.single-post.ibsae-active .newsx-post-navigation.ib-nav-image-cards>.ib-post-nav-card{
    min-height:167px!important;
    padding:12px!important;
    border-radius:11px!important
  }
  body.single-post .newsx-post-navigation.ib-nav-image-cards .ib-post-nav-label{
    font-size:9.5px!important;
    letter-spacing:.04em!important
  }
  body.single-post .newsx-post-navigation.ib-nav-image-cards .ib-post-nav-title,
  body.single-post.ibsae-active .newsx-post-navigation.ib-nav-image-cards .ib-post-nav-title{
    font-size:clamp(12.5px,3.45vw,15px)!important;
    line-height:1.3!important;
    max-height:5.2em!important;
  }
}
@media(max-width:350px){
  body.single-post .newsx-post-navigation.ib-nav-image-cards>.ib-post-nav-card,
  body.single-post.ibsae-active .newsx-post-navigation.ib-nav-image-cards>.ib-post-nav-card{
    min-height:158px!important;
    padding:10px!important
  }
}
@media(prefers-reduced-motion:reduce){
  body.single-post .newsx-post-navigation.ib-nav-image-cards>.ib-post-nav-card,
  body.single-post .newsx-post-navigation.ib-nav-image-cards>.ib-post-nav-card img{
    transition:none!important
  }
}


