:root {
	--belyy: #fff;
	--zheltyy: #ffdb96;
	--zelenyy: #c9fec8;
	--zelenyy-2: #006842;
	--oranzhevyy: #f18917;
	--001: #101828;
	--seryy: #c4d3d9;
	--2: #f1f3eb;
	--tekst: #2f2f2f;
  --article-item-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 387 409"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.79428 0L378.205 0C383.042 0 386.999 3.9499 386.999 8.77793V34.6476V374.353V400.222C386.999 405.05 383.042 409 378.205 409H225.707C219.54 409 218.385 405.144 215.499 400.222L209.392 389.805C207.382 386.378 203.127 383.509 199.559 383.13H8.79426C3.95665 383.13 0 379.181 0 374.352V8.77756C0 3.94952 3.95667 0 8.79428 0Z" fill="black"/></svg>');
  --article-mob-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 277 339" preserveAspectRatio="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.79427 0L268.205 0C273.042 0 276.999 3.94988 276.999 8.77791V34.6476V304.353V330.222C276.999 335.05 273.042 339 268.205 339H115.707C109.54 339 108.385 335.144 105.499 330.222L99.3918 319.805C97.3825 316.378 93.1269 313.509 89.5588 313.13H8.79425C3.95664 313.13 0 309.181 0 304.352V8.77756C0 3.94952 3.95665 0 8.79427 0Z" fill="black"/></svg>');
  --article-short-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 373 205'><rect x='354.893' y='205' width='336.786' height='162' rx='10' transform='rotate(-180 354.893 205)' fill='black' fill-opacity='0.3'/><rect x='362.136' y='193' width='351.272' height='170' rx='10' transform='rotate(-180 362.136 193)' fill='black' fill-opacity='0.3'/><rect x='373' y='180' width='373' height='180' rx='10' transform='rotate(-180 373 180)' fill='black' fill-opacity='0.3'/></svg>");
  --article-short-mob-mask: url("data:image/svg+xml,%3Csvg width='257' height='141' viewBox='0 0 257 141' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='244.097' y='141' width='231.643' height='111.424' rx='10' transform='rotate(-180 244.097 141)' fill='black' fill-opacity='0.3' /%3E%3Crect x='249.079' y='132.746' width='241.606' height='116.927' rx='10' transform='rotate(-180 249.079 132.746)' fill='black' fill-opacity='0.3' /%3E%3Crect x='256.551' y='123.805' width='256.551' height='123.805' rx='10' transform='rotate(-180 256.551 123.805)' fill='black' fill-opacity='0.3' /%3E%3C/svg%3E");
  --article-main-mob:  url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 277 479" preserveAspectRatio="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.79429 1.53763e-06L268.205 4.68944e-05C273.042 4.77402e-05 276.999 3.94988 276.999 8.77791L276.999 34.6476L276.999 444.353L276.999 470.222C276.999 475.05 273.042 479 268.205 479L115.707 479C109.54 479 108.385 475.144 105.499 470.222L99.3918 459.805C97.3825 456.378 93.1269 453.509 89.5588 453.13L8.79428 453.13C3.95666 453.13 7.22891e-05 449.181 7.31333e-05 444.352L8.22163e-05 8.77756C8.30605e-05 3.94952 3.95668 6.91793e-07 8.79429 1.53763e-06Z" fill="black"/></svg>');
  --video-play-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><circle cx='32' cy='32.0001' r='32' fill='white' fill-opacity='0.5'/><path d='M26 22L44 32L26 42V22Z' fill='black'/></svg>");
}

.header-rfo {
  width: 100%;
  height: 400px;
  background-image: url('https://agroexpert.press/wp-content/themes/agroexpert/frontend/img/rfo-background.png');
  background-size: cover; /* Заполняет весь блок, обрезая края */
  background-repeat: no-repeat;
  background-position: center;
}

.header__inner_rfo{
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 22px;
}

.header-rfo-line{
    display: flex;
    align-items: center;
    gap: 30%;
}

.header-rfo-logoline{
  display: flex;
  align-items: center;
  gap: 4rem;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.6rem;
  margin: 0 15px;
}



.header-rfo-menuline{
  display: flex;
  align-items: center;
  gap: 8rem;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.6rem;
  margin: 0 15px;
}

  .header-rfo-menuline li{
    font-weight: 700;
  }  

.content-rfo{
    display: flex;
    flex-direction: column;
    margin-top: -222px;
    margin-bottom: 48px;
    /**width: 1200px;
    max-width: 1200px;**/
  }

  .content-rfo-land{
    position: relative;
    display: flex;
    flex-direction: column;
    margin-top: -62px;
    padding-bottom: 42px;
    /**width: 1200px;
    max-width: 1200px;**/
  }


  .content-rfo-min{
    margin-top: -222px;  
   border: 0;
   width: 1200px;
    max-width: 1200px;
  }  


.rfo__rubric{
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 150%;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 22px;
}  


.rfo-single__image{
  display: inline-block;
  border-radius: 12px;       
  overflow: hidden; 
  width: 100%;
}           

.rfo-single__image IMG{
  border: 8px solid white; /* голубая рамка */
  border-radius: 22px; 
  width: 98%;
}

.tag {
      position: absolute;
      bottom: 0;
      right: 0;
      background-color: #f0f0f0; /* светлый фон */
      color: #333;
      font-size: 12px;
      padding: 4px 10px;
      border-top-left-radius: 10px;
      border-top-right-radius: 0;
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
      box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.05);
    }

.article-single--rfo {
  display: flex;
  margin: 22px 0 42px 0;
}   

.article-single--rfo p {
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 2rem;
  margin-bottom: 2.5rem;
}  

.article-info--rfo{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 0 0 180px;
  padding: 0 18px 0 0;
}

.article-info-element--rfo{
  display: flex;
  border-bottom: 1px solid var(--gray);
  gap: 4px;
  padding: 0 12px 12px 0;
}  

.article-text--rfo{

  flex: 1;
}


.footer__rfo{
  background-image: url('https://agroexpert.press/wp-content/themes/agroexpert/frontend/img/rfo-footer.png');
  background-size: cover;       /* Растягивает изображение на весь блок */
  background-position: center;  /* Центрирует изображение */
  background-repeat: no-repeat; /* Отключает повторение */
  padding: 40px 20px;          /* Отступы внутри подвала */
  text-align: center;        
}

@media (max-width: 768px) {

  .content-rfo-land{
    margin-top: -22px;
  }  
  
  .header__inner_rfo{
    flex-direction: row;
    align-items: center;
    max-width: 100%;
  }

  .menu-rfo {
    width: 100%;
  }

  .footer-top__rfo{
    display: flex;
    flex-direction: column;
  }

  .footer-logoline__rfo{
    width: 100%;
  }

  .footer-nav__rfo{
    align-items: flex-start;
  }

}
                