﻿/* ÐÐ¾Ð²Ð¾ÑÑÐ¸ â ÑÐµÐ»Ð¾Ð²ÐµÐºÐ¾-ÑÐ¸ÑÐ°ÐµÐ¼ÑÐ¹ ÑÐ°Ð±Ð»Ð¾Ð½ ÑÑÑÐ°Ð½Ð¸ÑÑ */
.single-post .wp-block-post-date,
.single-post .entry-title,
.single-post .wp-block-post-title,
.single-post .post-thumbnail,
.single-post .featured-image,
.single-post .entry-media,
.single-post figure.wp-block-post-featured-image,
.single-post .wp-block-post-featured-image{display:none!important;}

.novosti-page{
  --novosti-bg:#f7f3ed;
  --novosti-text:#151515;
  --novosti-muted:rgba(21,21,21,.62);
  --novosti-line:rgba(21,21,21,.14);
  --novosti-card:#fff;
  width:min(100%,1080px);
  margin:0 auto;
  padding:18px clamp(14px,3vw,28px) 56px;
  color:var(--novosti-text);
  box-sizing:border-box;
}
.novosti-page *{box-sizing:border-box;}

.novosti-heading{width:min(100%,760px);margin:0 auto 18px;}
.novosti-heading__meta{display:flex;flex-wrap:wrap;align-items:center;gap:5px 8px;margin:0 0 10px;color:var(--novosti-muted);font-size:14px;line-height:1.35;}
.novosti-heading__meta a{color:inherit;text-decoration:none;border-bottom:1px solid currentColor;}
.novosti-heading__meta a:hover,.novosti-heading__meta a:focus-visible{border-bottom-color:transparent;}
.novosti-heading__title{margin:0;color:#111;font-family:Georgia,"Times New Roman",serif;font-size:clamp(30px,4vw,44px);line-height:1.12;letter-spacing:-.02em;font-weight:700;text-wrap:balance;}
.novosti-heading__badge{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;background:rgba(17,17,17,.06);border:1px solid rgba(17,17,17,.12);font-size:12px;line-height:1;margin:0 0 10px;}

.novosti-hero{width:min(100%,900px);position:relative;overflow:hidden;border-radius:18px;aspect-ratio:16/9;min-height:220px;max-height:430px;background:#ddd center/cover no-repeat;background-image:var(--bg);margin:0 auto 26px;box-shadow:0 10px 30px rgba(0,0,0,.12);}
.novosti-hero__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.08));}
.novosti-hero__inner,.novosti-hero--image-only .novosti-hero__inner{display:none;}

.novosti-article{width:min(100%,760px);margin:0 auto;font-size:18px;line-height:1.66;}
.novosti-article>*:first-child{margin-top:0;}
.novosti-article p{margin:0 0 18px;color:rgba(21,21,21,.91);}
.novosti-article .ai-lead{font-size:clamp(19px,2vw,22px);line-height:1.48;color:rgba(21,21,21,.88);margin:0 0 24px;font-weight:500;}
.novosti-article .ai-lead strong{font-weight:600;}
.novosti-article h2{margin:30px 0 12px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(23px,2.6vw,29px);line-height:1.18;letter-spacing:-.012em;color:#111;}
.novosti-article ul,.novosti-article ol{margin:0 0 22px 1.25em;padding:0;}
.novosti-article li{margin:6px 0;}
.novosti-article a{color:#1d4ed8;text-decoration-thickness:1px;text-underline-offset:3px;}
.ai-source{margin-top:28px!important;padding-top:16px;border-top:1px solid var(--novosti-line);color:var(--novosti-muted)!important;font-size:15px;}

/* Ð¡ÑÐ°ÑÑÐµ Ð¼Ð°ÑÐ¸Ð½Ð½ÑÐµ Ð±Ð»Ð¾ÐºÐ¸ package-ÑÐ¿Ð¾ÑÐ¸ Ð½Ðµ Ð¿Ð¾ÐºÐ°Ð·ÑÐ²Ð°ÐµÐ¼ Ð½Ð° ÑÑÐ¾Ð½ÑÐµ. */
.aidpp-related,.ai-summary,.ai-facts,.ai-faq{display:none!important;}

.novosti-related,.novosti-feed{width:min(100%,900px);margin:46px auto 0;}
.novosti-section-title{margin:0 0 16px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(24px,3vw,34px);line-height:1.12;letter-spacing:-.015em;color:#111;}
.novosti-related__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.novosti-related__card{background:#fff;border:1px solid var(--novosti-line);border-radius:16px;overflow:hidden;box-shadow:0 4px 16px rgba(0,0,0,.05);}
.novosti-related__media,.novosti-feed__media{display:block;color:inherit;text-decoration:none;}
.novosti-related__media img,.novosti-feed__media img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;}
.novosti-related__body{padding:13px 14px 15px;}
.novosti-related__meta,.novosti-feed__meta{margin:0 0 8px;font-size:13px;line-height:1.35;color:#6a6a6a;}
.novosti-related__title,.novosti-feed__title{margin:0;font-family:Georgia,"Times New Roman",serif;line-height:1.18;letter-spacing:-.01em;}
.novosti-related__title{font-size:clamp(20px,2.1vw,27px);}
.novosti-related__title a,.novosti-feed__title a{color:#111;text-decoration:none;}
.novosti-related__title a:hover,.novosti-feed__title a:hover{text-decoration:underline;text-underline-offset:2px;}
.novosti-feed__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.novosti-feed__item{min-width:0;overflow:hidden;border:1px solid var(--novosti-line);border-radius:8px;background:#fff;box-shadow:0 6px 20px rgba(0,0,0,.05);}
.novosti-feed__media img{margin:0;border-radius:0;}
.novosti-feed__body{padding:14px 15px 16px;}
.novosti-feed__title{margin-bottom:9px;font-size:clamp(20px,2vw,26px);letter-spacing:0;}
.novosti-feed__excerpt{margin:0;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-size:14px;line-height:1.5;color:rgba(20,20,20,.72);}
.novosti-card-badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:rgba(17,17,17,.06);color:#111;border:1px solid rgba(17,17,17,.12);font-size:12px;line-height:1;margin:0 0 10px;}

@media (max-width:767px){
  .novosti-page{padding:14px 12px 44px;}
  .novosti-heading{width:100%;margin-bottom:14px;}
  .novosti-heading__title{font-size:clamp(30px,9vw,40px);line-height:1.08;}
  .novosti-hero{width:100%;border-radius:16px;min-height:190px;margin-bottom:22px;}
  .novosti-article{font-size:17px;line-height:1.62;}
  .novosti-article .ai-lead{font-size:19px;line-height:1.45;}
  .novosti-related,.novosti-feed{margin-top:36px;width:100%;}
  .novosti-related__grid{grid-template-columns:1fr;gap:14px;}
  .novosti-section-title{font-size:25px;}
  .novosti-feed__list{grid-template-columns:1fr;gap:12px;}
  .novosti-feed__item{display:grid;grid-template-columns:112px minmax(0,1fr);height:136px;}
  .novosti-feed__media{grid-column:1;grid-row:1;height:100%;}
  .novosti-feed__media img{height:100%;min-height:0;aspect-ratio:auto;object-fit:cover;}
  .novosti-feed__body{grid-column:2;grid-row:1;min-width:0;overflow:hidden;padding:11px 12px;}
  .novosti-feed__body:first-child{grid-column:1 / -1;}
  .novosti-feed__meta{margin-bottom:6px;font-size:11px;}
  .novosti-feed__title{margin:0;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow-wrap:anywhere;font-size:17px;line-height:1.18;}
  .novosti-feed__excerpt{display:none;}
}

/* Hero title overlay: H1 stays real HTML text, not baked into image. */
.novosti-hero--with-heading{position:relative;display:flex;align-items:flex-end;min-height:clamp(360px,58vw,610px);margin:0 auto 30px;border-radius:18px;overflow:hidden;background-image:var(--bg);background-size:cover;background-position:center;isolation:isolate;}
.novosti-hero__figure{position:absolute;inset:0;z-index:0;margin:0;}
.novosti-hero__image{position:absolute;inset:0;z-index:0;width:100%;height:100%;margin:0!important;object-fit:cover;}
.novosti-hero__caption{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(1px,1px,1px,1px)!important;white-space:nowrap!important;}
.novosti-hero--with-heading .novosti-hero__overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(0,0,0,.08) 20%,rgba(0,0,0,.76) 100%);}
.novosti-hero__content{position:relative;z-index:2;width:100%;padding:clamp(22px,4vw,48px);color:#fff;box-sizing:border-box;text-shadow:0 2px 18px rgba(0,0,0,.55);}
.novosti-hero__content .novosti-heading__meta{color:rgba(255,255,255,.82);}
.novosti-hero__content .novosti-heading__title{max-width:920px;margin:10px 0 0;color:#fff;font-size:clamp(34px,5.2vw,68px);line-height:1.02;}
.novosti-source{margin-top:28px;padding-top:16px;border-top:1px solid rgba(17,17,17,.12);font-size:15px;color:rgba(21,21,21,.68);}
.novosti-source a{color:#1f2933;text-decoration:underline;text-underline-offset:3px;}
@media (max-width:700px){.novosti-hero--with-heading{min-height:440px;border-radius:14px}.novosti-hero__content{padding:22px 18px}.novosti-hero__content .novosti-heading__title{font-size:clamp(30px,9vw,46px);line-height:1.05}}

