/* v18 | Coursework structure + distinct enlarged homepage (referat) hero. */
body.rf-home-page main > .pl18-structure-section,
body.rf-home-page main > .pl18-structure-section *{box-sizing:border-box}
body.rf-home-page main > section.pl18-structure-section:not(.hero){
  position:relative!important;isolation:isolate;clear:both;overflow:clip;
  background:#fff!important;background-image:none!important;
  padding:clamp(38px,4.2vw,78px) 0 clamp(45px,4.9vw,86px)!important;
  font-family:'Manrope','Segoe UI',system-ui,sans-serif;color:#0a1e3d;
}
body.rf-home-page .pl18-structure-inner{width:min(1840px,calc(100% - 70px));margin-inline:auto}
body.rf-home-page .pl18-structure-inner > h2{
  text-align:center!important;margin:0 auto clamp(27px,3vw,50px)!important;
  color:#081b3b!important;font-family:'Manrope','Segoe UI',system-ui,sans-serif!important;
  font-size:clamp(34px,3.95vw,72px)!important;line-height:1.08!important;
  letter-spacing:-.052em!important;font-weight:850!important;text-wrap:balance;
}
body.rf-home-page .pl18-structure-inner > h2 strong{
  position:relative;display:inline-block;color:#df0b1e!important;
  font-weight:inherit!important;-webkit-text-fill-color:#df0b1e!important;background:none!important;
}
body.rf-home-page .pl18-structure-inner > h2 strong::before{content:none!important;display:none!important}
body.rf-home-page .pl18-structure-inner > h2 strong::after{
  content:''!important;display:block!important;position:absolute;
  left:8%;right:7%;bottom:-.14em;height:5px;border-radius:20px;
  background:#e10d23;transform:rotate(-2deg);
}
body.rf-home-page .pl18-structure-layout{
  display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.05fr);
  gap:clamp(18px,2.3vw,50px);align-items:center;
}
body.rf-home-page .pl18-structure-picture{min-width:0;display:flex;align-items:center;justify-content:center;align-self:stretch}
body.rf-home-page .pl18-structure-picture img{
  display:block;width:100%;max-width:770px;height:auto;max-height:700px;
  object-fit:contain;object-position:center;filter:none!important;
}
body.rf-home-page .pl18-structure-table{min-width:0;display:grid;gap:clamp(8px,.75vw,14px)}
body.rf-home-page .pl18-structure-row{
  display:grid;grid-template-columns:minmax(170px,.38fr) minmax(0,1fr);
  align-items:center;min-height:clamp(74px,5.15vw,99px);
  border:1.5px solid #f0e3e7;border-radius:clamp(19px,1.5vw,28px);
  overflow:hidden;background:#fff;box-shadow:none;
}
body.rf-home-page .pl18-structure-row h3{
  display:flex;align-items:center;height:100%;padding:14px clamp(15px,2vw,38px);
  margin:0!important;border:0!important;border-radius:clamp(19px,1.5vw,28px);
  background:linear-gradient(110deg,#fff0f2,#fff6f7)!important;
  color:#0b1d3e!important;font-size:clamp(20px,1.55vw,30px)!important;
  font-weight:850!important;line-height:1.12!important;letter-spacing:-.037em;
}
body.rf-home-page .pl18-structure-row p{
  color:#102344!important;margin:0!important;padding:10px 18px 10px clamp(20px,2.2vw,40px)!important;
  font-size:clamp(17px,1.19vw,23px)!important;line-height:1.36!important;
  border-left:2px solid #ec172c!important;
}
body.rf-home-page .pl18-structure-notes{
  display:grid;grid-template-columns:minmax(0, .79fr) minmax(0,1fr);
  gap:clamp(14px,2vw,36px);margin-top:clamp(25px,3vw,52px);
}
body.rf-home-page .pl18-note{
  display:flex;align-items:center;gap:clamp(11px,1.4vw,25px);
  padding:clamp(14px,1.5vw,25px) clamp(17px,1.7vw,28px);
  border-radius:clamp(20px,1.6vw,30px);min-width:0;
}
body.rf-home-page .pl18-note-info{background:#eef2ff}
body.rf-home-page .pl18-note-alert{background:#fff0f2}
body.rf-home-page .pl18-note img{display:block;width:clamp(43px,4.2vw,68px);height:clamp(43px,4.2vw,68px);object-fit:contain;flex:0 0 auto}
body.rf-home-page .pl18-note p{margin:0!important;color:#102447!important;font-size:clamp(17px,1.33vw,25px)!important;line-height:1.34!important}
body.rf-home-page .pl18-note p strong{color:#da1428!important;font-weight:850}
@media(max-width:1180px){
 body.rf-home-page .pl18-structure-inner{width:calc(100% - 38px)}
 body.rf-home-page .pl18-structure-layout{grid-template-columns:minmax(0,.83fr) minmax(0,1.16fr);gap:16px}
 body.rf-home-page .pl18-structure-row{grid-template-columns:minmax(130px,.45fr) minmax(0,1fr)}
 body.rf-home-page .pl18-structure-row h3{font-size:clamp(17px,1.9vw,23px)!important;padding:12px 16px}
 body.rf-home-page .pl18-structure-row p{font-size:clamp(15px,1.65vw,20px)!important;padding-left:16px!important}
}
@media(max-width:820px){
 body.rf-home-page .pl18-structure-inner{width:calc(100% - 32px)}
 body.rf-home-page .pl18-structure-inner > h2{font-size:clamp(31px,6vw,50px)!important;margin-bottom:22px!important}
 body.rf-home-page .pl18-structure-layout{display:flex;flex-direction:column;gap:10px}
 body.rf-home-page .pl18-structure-picture{width:min(100%,520px);margin:0 auto 10px}
 body.rf-home-page .pl18-structure-picture img{max-height:490px}
 body.rf-home-page .pl18-structure-table{width:100%}
 body.rf-home-page .pl18-structure-notes{grid-template-columns:1fr;gap:12px;margin-top:26px}
}
@media(max-width:540px){
 body.rf-home-page main > section.pl18-structure-section:not(.hero){padding:38px 0 48px!important}
 body.rf-home-page .pl18-structure-inner{width:calc(100% - 24px)}
 body.rf-home-page .pl18-structure-inner > h2{font-size:clamp(28px,8.1vw,39px)!important;margin-bottom:20px!important}
 body.rf-home-page .pl18-structure-inner > h2 strong::after{height:3px}
 body.rf-home-page .pl18-structure-picture{max-width:350px;margin-bottom:12px}
 body.rf-home-page .pl18-structure-row{grid-template-columns:minmax(112px,.38fr) minmax(0,1fr);min-height:85px;border-radius:17px}
 body.rf-home-page .pl18-structure-row h3{font-size:clamp(15px,4.2vw,19px)!important;padding:11px!important;border-radius:17px}
 body.rf-home-page .pl18-structure-row p{font-size:clamp(13px,3.55vw,16px)!important;padding:7px 9px 7px 11px!important;line-height:1.3!important}
 body.rf-home-page .pl18-note{padding:14px 15px;border-radius:19px;gap:14px}
 body.rf-home-page .pl18-note img{width:42px;height:42px}
 body.rf-home-page .pl18-note p{font-size:15px!important}
}
/* The main referat homepage has a wide illustration; unlike coursework's tall image,
   it should start level with the headline and use its own intrinsic aspect ratio. */
@media(min-width:1151px){
 body.rf-home-page section.hero#generator.pl-home-hero .pl-hero-stage.pl-referat-stage{
   display:grid!important;grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr)!important;
   align-items:start!important;gap:clamp(10px,1.4vw,25px)!important;
   width:min(1830px,calc(100vw - 60px))!important;
   min-height:0!important;height:auto!important;padding:10px 0 20px!important;
 }
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-content{
   align-self:center!important;width:100%!important;max-width:none!important;
   padding:8px 0 15px!important;z-index:2!important;
 }
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-visual{
   position:relative!important;inset:auto!important;display:flex!important;
   align-self:start!important;align-items:flex-start!important;justify-content:center!important;
   width:100%!important;max-width:none!important;height:auto!important;
   margin:0!important;min-width:0!important;z-index:1!important;
 }
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-visual img{
   display:block!important;width:100%!important;height:auto!important;
   max-width:100%!important;max-height:none!important;object-fit:contain!important;
   object-position:center top!important;
 }
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-title{
   font-size:clamp(65px,5.4vw,106px)!important;line-height:1.02!important;
   letter-spacing:-.06em!important;margin:0 0 22px!important;
 }
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-description{
   font-size:clamp(21px,1.58vw,29px)!important;line-height:1.36!important;
   margin-bottom:32px!important;max-width:100%!important;
 }
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-benefits{
   margin:0 0 34px!important;max-width:100%!important;gap:0!important;
 }
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-benefit{gap:12px!important;padding-right:7px!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-benefit:not(:first-child){padding-left:13px!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-benefit-icon{
   width:clamp(53px,4vw,72px)!important;height:clamp(53px,4vw,72px)!important;flex-basis:clamp(53px,4vw,72px)!important;
 }
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-benefit-icon img{
   width:clamp(40px,3.3vw,54px)!important;height:clamp(40px,3.3vw,54px)!important;
 }
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-benefit b{font-size:clamp(16px,1.3vw,23px)!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-benefit small{font-size:clamp(13px,1.03vw,18px)!important;line-height:1.32!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-actions{gap:14px!important;flex-wrap:wrap!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-actions a{
   min-width:0!important;min-height:clamp(62px,5vw,80px)!important;
   padding:0 clamp(12px,1.5vw,28px)!important;font-size:clamp(16px,1.3vw,22px)!important;flex:1 1 220px!important;
 }
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-actions img{width:clamp(28px,2.3vw,39px)!important;height:clamp(28px,2.3vw,39px)!important}
}
@media(min-width:1151px) and (max-height:780px){
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-title{font-size:clamp(59px,4.9vw,86px)!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-description{margin-bottom:20px!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-benefits{margin-bottom:23px!important}
}
@media(min-width:741px) and (max-width:1150px){
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-content{max-width:880px!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-title{font-size:clamp(59px,7vw,80px)!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-description{font-size:clamp(19px,2.15vw,24px)!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-visual{width:min(100%,850px)!important;max-width:850px!important;margin:4px auto 0!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-visual img{max-height:none!important;width:100%!important;height:auto!important}
}
@media(max-width:740px){
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-title{font-size:clamp(39px,9vw,63px)!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-visual{margin:6px auto 0!important;width:100%!important}
 body.rf-home-page section.hero#generator.pl-home-hero .pl-referat-stage .pl-hero-visual img{width:100%!important;height:auto!important;max-height:none!important}
}
