/* Persian editorial labels for DECAWEB presentation — screen and A4 print. */
.section-tag,.slide .section-tag,.dark .section-tag,
.slide .panel-number,.slide .browser-url,.topmeta,.footerline{
  font-family:Modam,Tahoma,sans-serif;
  letter-spacing:0;
  text-transform:none;
}
.section-tag,.slide .section-tag,.dark .section-tag{
  direction:rtl;
  font-weight:600;
  font-size:clamp(11px,1vw,13px);
  line-height:1.8;
  text-align:right;
  white-space:normal;
  max-width:100%;
  align-self:flex-start;
  flex-wrap:wrap;
  column-gap:10px;
}
.section-tag::before,.slide .section-tag::before{
  flex:0 0 7px;
  width:7px;
  height:7px;
  margin-inline-end:0;
}
.panel-number,.slide .panel-number{
  font-size:12px;
  font-weight:600;
  direction:rtl;
  white-space:normal;
  line-height:1.6;
}
.topmeta{
  direction:rtl;
  gap:14px;
  font-size:11px;
  font-weight:500;
  white-space:nowrap;
}
.browser-url{direction:rtl;font-size:11px;font-weight:500}
.footerline{direction:rtl}
@media screen and (max-width:600px){
  .section-tag,.slide .section-tag,.dark .section-tag{
    font-size:10px;
    line-height:1.65;
  }
  .panel-number,.slide .panel-number{font-size:11px}
}
@media print{
  .slide .section-tag,.slide.dark .section-tag{
    direction:rtl;
    font-family:Modam,Tahoma,sans-serif!important;
    font-size:11px!important;
    letter-spacing:0!important;
    text-transform:none!important;
  }
}
/* Keep the decorative final-slide artwork inside the slide bounds on desktop. */
@media screen and (min-width:900px){
  .slide .final-ornament{left:0!important}
}
