/* ePanthi.lk Manager 1.0 */
html,body,input,select,textarea,button{font-family:Arial,"Noto Sans Sinhala",sans-serif}
body:lang(si),.si,sinhala,[lang="si"]{font-family:"Noto Sans Sinhala",Arial,sans-serif}
.postfree{font-size:18px!important;padding:18px 44px!important;min-width:210px!important;text-align:center!important;line-height:1.1!important}
.panel-body a .pcu-count{font-weight:700;color:#3e5991}
@media(max-width:800px){.postfree{font-size:15px!important;padding:13px 18px!important;min-width:150px!important}}

.pcu-submit-success,.pcu-submit-error{padding:12px 14px;margin:0 0 10px;border:1px solid;font-size:13px;line-height:1.5}
.pcu-submit-success{background:#e9f8e7;border-color:#75c22a;color:#185d16}
.pcu-submit-error{background:#fff0f0;border-color:#c40000;color:#8d0000}

@font-face{font-family:"PCU Sinhala";src:url("fonts/NotoSansSinhala-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"PCU Sinhala";src:url("fonts/NotoSansSinhala-Bold.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}
html,body,body *{font-family:Arial,"PCU Sinhala","Noto Sans Sinhala",sans-serif}
input,textarea,select,button{font-family:Arial,"PCU Sinhala","Noto Sans Sinhala",sans-serif!important}
.premium,.standard,.detail,.pcc-form{font-family:Arial,"PCU Sinhala","Noto Sans Sinhala",sans-serif!important}

/* 1.3 listing card match to supplied reference */
.standard.pcu-video-card{width:100%;min-height:0;margin:0 0 8px;padding:0;background:#e5f8fa;border:0;overflow:hidden}
.standard.pcu-video-card h2{display:flex;align-items:center;min-height:38px;height:38px;margin:0;padding:0 13px;background:#3f5f9a;color:#fff;font-size:16px;line-height:38px;font-weight:700}
.standard.pcu-video-card h2 a{color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.standard.pcu-video-card h2 span{margin-left:auto!important;float:none!important;color:#ffff00;font-size:15px;font-weight:700}
.standard.pcu-video-card .pcu-card-body{min-height:236px;padding:4px 7px 7px;overflow:hidden}
.standard.pcu-video-card .listing-img{float:left;width:185px;height:215px;object-fit:cover;margin:0 13px 4px 0}
.standard.pcu-video-card .pcu-card-content{font-size:14px;line-height:21px;color:#000}
.standard.pcu-video-card .pcu-description{margin:0;font-size:14px;line-height:21px}
.standard.pcu-video-card .pcu-label{color:#008900;font-weight:700}
.standard.pcu-video-card .pcu-readmore{display:block;text-align:right;color:#0000ee;font-style:italic;font-size:14px;line-height:20px;margin:0 1px 7px}
.standard.pcu-video-card .pcu-contact{margin-left:198px;font-size:14px;line-height:18px}
.standard.pcu-video-card .pcu-phone:before{content:"☎ ";color:#d40000;font-size:17px}
.standard.pcu-video-card .pcu-wa:before{content:"◉ ";color:#00a126;font-size:17px}
.standard.pcu-video-card .pcu-phone,.standard.pcu-video-card .pcu-wa{font-weight:700}
.standard.pcu-video-card .pcu-published{margin-left:198px;font-size:14px;line-height:18px}
.panel-body a{font-size:14px!important;line-height:20px!important;padding:5px 4px!important}
.panel-title{font-size:14px!important}
.premium .desc,.premium .contact,.premium .published,.premium .more{font-size:14px!important}
@media(max-width:800px){
 .standard.pcu-video-card .listing-img{width:38%;height:auto;margin-right:9px}
 .standard.pcu-video-card .pcu-contact,.standard.pcu-video-card .pcu-published{margin-left:0}
 .standard.pcu-video-card .pcu-card-content,.standard.pcu-video-card .pcu-description,.standard.pcu-video-card .pcu-readmore{font-size:14px;line-height:19px}
}

/* ePanthiLK 1.4 colour and paid-placement layer */
:root{--blue:#149777!important;--green:#149777!important;--lime:#ffc800!important}
.topbar,.searchtop,.premium-head,.standard.pcu-video-card h2,.panel-title,.page-title,.detail-head{background:#149777!important}
.searchbtn{background:#149777!important;border-color:#ffc800!important;color:#ffc800!important}
.postfree{background:#ffc800!important;color:#111!important}
.standard.pcu-video-card.epm-highlight,.premium.epm-highlight{background:#fff9c9!important}
.epm-advertise{font-size:14px;line-height:1.6}.epm-advertise h1{background:#149777;color:#fff;padding:8px 10px}.epm-advertise h2{color:#149777}.epm-advertise h3{margin-top:20px}.epm-wa-advertise{display:inline-block;background:#149777;color:#fff;padding:10px 18px;font-weight:bold;border-radius:4px}
footer .epm-copyright{text-align:center;border-top:1px solid #ddd;margin-top:14px;padding-top:10px;font-size:13px}

/* ePanthiLK Manager 1.5 responsive repair */
footer .epm-copyright,footer .wrap .epm-copyright{display:block!important;width:100%!important;max-width:none!important;float:none!important;clear:both!important;text-align:center!important;margin:14px auto 0!important;padding:12px 0!important;box-sizing:border-box}
img{max-width:100%;height:auto}
.wrap{width:min(1180px,calc(100% - 20px));max-width:1180px;margin-left:auto;margin-right:auto}
.layout{display:grid;grid-template-columns:minmax(0,275px) minmax(0,610px) minmax(0,275px);gap:20px;width:100%;box-sizing:border-box}
.feed{min-width:0}.rail{min-width:0}
.searchbox,.searchrow,.topbar .wrap,.nav .wrap,footer .foot{box-sizing:border-box}
.epm-advertise{max-width:900px;margin:0 auto;padding:10px 14px;box-sizing:border-box;font-size:15px;line-height:1.65}
.epm-advertise h1{background:#149777;color:#fff;padding:10px 14px}
@media(max-width:1000px){
 .layout{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
 .rail.right{display:none}
 .topbar .wrap{flex-wrap:wrap}
 .searchrow{grid-template-columns:1fr 1fr!important}
}
@media(max-width:720px){
 html,body{overflow-x:hidden}
 .wrap{width:calc(100% - 16px)}
 .layout{display:flex!important;flex-direction:column!important;gap:10px!important}
 .feed{order:1;width:100%}.rail.left{order:2;width:100%}.rail.right{display:none}
 .topbar .wrap{display:flex!important;flex-wrap:wrap!important;height:auto!important;padding:8px 0!important}
 .logo{max-width:48%!important;height:auto!important}
 .postfree{font-size:14px!important;padding:12px 14px!important;min-width:140px!important}
 .nav .wrap{display:flex!important;flex-wrap:wrap!important;gap:4px 12px!important;height:auto!important;padding:8px 0!important}
 .searchrow,.searchbox{display:block!important;height:auto!important}
 .searchrow select,.searchrow input,.searchrow button,.searchbox select,.searchbox input,.searchbox button{display:block!important;width:100%!important;max-width:none!important;margin:0 0 7px!important;box-sizing:border-box}
 .premium-head,.standard.pcu-video-card h2{font-size:15px!important}
 .premium-body,.standard.pcu-video-card .pcu-card-body{padding:5px!important}
 .premium-img,.standard.pcu-video-card .listing-img{float:left!important;width:38%!important;height:auto!important;max-height:220px!important;object-fit:cover!important;margin:0 8px 5px 0!important}
 .premium .contact,.premium .published,.standard.pcu-video-card .pcu-contact,.standard.pcu-video-card .pcu-published{margin-left:0!important}
 .premium .desc,.standard.pcu-video-card .pcu-description,.standard.pcu-video-card .pcu-card-content{font-size:14px!important;line-height:19px!important}
 .detail-table{width:100%!important;table-layout:auto!important}.detail-table td{word-break:break-word!important}
 footer .foot{display:block!important}footer .foot>div{width:100%!important;margin-bottom:18px!important}
}

/* 1.6 exact listing contact rows */
.standard.pcu-video-card .pcu-contact{white-space:normal}
.standard.pcu-video-card .pcu-phone,.standard.pcu-video-card .pcu-wa{display:inline-block;white-space:nowrap}
.standard.pcu-video-card .pcu-wa:before{content:"◉ ";color:#00a126;font-size:17px;font-weight:700}
.standard.pcu-video-card .pcu-published{white-space:nowrap}

/* 1.7 exact SVG contact icons */
.standard.pcu-video-card .pcu-phone:before,.standard.pcu-video-card .pcu-wa:before{content:none!important}
.pcu-contact-icon{width:18px;height:18px;display:inline-block;vertical-align:-4px;margin-right:5px;flex:0 0 18px}
.standard.pcu-video-card .pcu-phone,.standard.pcu-video-card .pcu-wa{display:block!important;white-space:nowrap!important;line-height:20px!important}

/* 1.8 reference-card lock: match supplied Panthi-style card */
.standard.pcu-video-card{
  background:#e2f7f9!important;
  margin:0 0 7px!important;
  padding:0!important;
  border:0!important;
  min-height:246px!important;
}
.standard.pcu-video-card .pcu-card-body{
  display:block!important;
  min-height:246px!important;
  padding:6px 7px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.standard.pcu-video-card .listing-img{
  float:left!important;
  display:block!important;
  width:190px!important;
  height:178px!important;
  max-width:190px!important;
  object-fit:cover!important;
  object-position:center!important;
  margin:0 8px 5px 0!important;
}
.standard.pcu-video-card .pcu-card-content{
  display:block!important;
  margin:0!important;
  padding:0!important;
  color:#000!important;
  font-family:Arial,"PCU Sinhala","Noto Sans Sinhala",sans-serif!important;
  font-size:14px!important;
  line-height:21px!important;
}
.standard.pcu-video-card .pcu-description{
  display:block!important;
  margin:0!important;
  padding:0!important;
  color:#000!important;
  font-size:14px!important;
  line-height:21px!important;
  font-weight:400!important;
}
.standard.pcu-video-card .pcu-label{
  color:#008800!important;
  font-size:14px!important;
  font-weight:700!important;
}
.standard.pcu-video-card .pcu-readmore{
  display:block!important;
  clear:none!important;
  width:auto!important;
  margin:1px 0 7px!important;
  padding:0!important;
  text-align:right!important;
  color:#0000ee!important;
  font-size:14px!important;
  line-height:20px!important;
  font-style:italic!important;
  font-weight:400!important;
  text-decoration:none!important;
}
.standard.pcu-video-card .pcu-contact{
  display:block!important;
  margin:0!important;
  padding:0!important;
  color:#000!important;
  font-size:14px!important;
  line-height:20px!important;
  font-weight:400!important;
}
.standard.pcu-video-card .pcu-phone,
.standard.pcu-video-card .pcu-wa{
  display:block!important;
  margin:0!important;
  padding:0!important;
  color:#000!important;
  font-size:14px!important;
  line-height:20px!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
.standard.pcu-video-card .pcu-published{
  display:block!important;
  margin:0!important;
  padding:0!important;
  color:#000!important;
  font-size:14px!important;
  line-height:20px!important;
  font-weight:400!important;
  white-space:nowrap!important;
}
.standard.pcu-video-card .pcu-contact-icon{
  width:16px!important;
  height:16px!important;
  display:inline-block!important;
  vertical-align:-3px!important;
  margin:0 5px 0 0!important;
}
@media(max-width:720px){
 .standard.pcu-video-card{min-height:0!important}
 .standard.pcu-video-card .pcu-card-body{min-height:0!important}
 .standard.pcu-video-card .listing-img{
   width:38%!important;height:auto!important;max-width:190px!important;
   max-height:190px!important;margin:0 8px 5px 0!important
 }
 .standard.pcu-video-card .pcu-card-content,
 .standard.pcu-video-card .pcu-description,
 .standard.pcu-video-card .pcu-contact,
 .standard.pcu-video-card .pcu-published{font-size:14px!important;line-height:19px!important}
}

/* 1.9 final reference card - independent of old card markup */
.standard.pcu-video-card.epm19-card{background:#e5f8fa!important;min-height:0!important;height:auto!important}
.standard.pcu-video-card.epm19-card .pcu-card-body{display:block!important;min-height:220px!important;height:auto!important;padding:5px 7px 7px!important;overflow:hidden!important}
.standard.pcu-video-card.epm19-card .listing-img{float:left!important;width:190px!important;height:178px!important;max-width:190px!important;margin:0 8px 4px 0!important;object-fit:cover!important}
.standard.pcu-video-card.epm19-card .pcu-card-content{margin:0!important;padding:0!important;font:14px/21px Arial,"PCU Sinhala","Noto Sans Sinhala",sans-serif!important;color:#000!important}
.standard.pcu-video-card.epm19-card .pcu-description{margin:0!important;padding:0!important;font:14px/21px Arial,"PCU Sinhala","Noto Sans Sinhala",sans-serif!important;color:#000!important}
.standard.pcu-video-card.epm19-card .pcu-label{color:#008800!important;font-weight:700!important;font-size:14px!important}
.standard.pcu-video-card.epm19-card .pcu-readmore{display:block!important;margin:0 0 7px!important;padding:0!important;text-align:right!important;color:#0000ee!important;font:italic 14px/20px Arial,sans-serif!important}
.standard.pcu-video-card.epm19-card .pcu-contact,.standard.pcu-video-card.epm19-card .pcu-published{margin:0!important;padding:0!important;font:14px/20px Arial,"PCU Sinhala","Noto Sans Sinhala",sans-serif!important;color:#000!important}
.standard.pcu-video-card.epm19-card .pcu-phone,.standard.pcu-video-card.epm19-card .pcu-wa{display:block!important;margin:0!important;padding:0!important;font:700 14px/20px Arial,sans-serif!important;color:#000!important}
.standard.pcu-video-card.epm19-card .pcu-contact-icon{width:16px!important;height:16px!important;vertical-align:-3px!important;margin-right:5px!important}
@media(max-width:720px){
 .standard.pcu-video-card.epm19-card .listing-img{width:38%!important;height:auto!important;max-height:178px!important}
 .standard.pcu-video-card.epm19-card .pcu-card-body{min-height:0!important}
}

/* 2.0 exact requested Panthi style_details listing structure */
.standard.epm20-card .epm20-listing-body{display:flex!important;align-items:flex-start!important;background:inherit!important;padding:8px!important;box-sizing:border-box!important}
.standard.epm20-card .listing-img{float:none!important;flex:0 0 190px!important;width:190px!important;height:215px!important;max-width:190px!important;object-fit:cover!important;margin:0 10px 0 0!important}
.standard.epm20-card .style_details{flex:1!important;min-width:0!important;font-size:14px!important;line-height:21px!important;color:#000!important;text-align:left!important}
.standard.epm20-card .style_details #new{font-size:14px!important;line-height:21px!important;margin-bottom:5px!important}
.standard.epm20-card .style_details p[align="right"]{margin:0!important;text-align:right!important;line-height:21px!important}
.standard.epm20-card .style_details p[align="right"] a{text-decoration:none!important}
.standard.epm20-card .style_details svg{display:inline-block!important;margin:0 3px 0 0!important}
.standard.epm20-card .style_details strong{font-weight:700!important}
.epm-copyright{text-align:center!important;width:100%!important;display:block!important}
@media(max-width:700px){.standard.epm20-card .epm20-listing-body{display:block!important}.standard.epm20-card .listing-img{float:left!important;width:38%!important;height:auto!important;max-width:190px!important;margin:0 9px 5px 0!important}.standard.epm20-card .style_details{font-size:14px!important;line-height:21px!important}}
/* 2.1 exact source-style listing body */
.standard.epm21-card,.premium.epm21-card{background:#e5f8fa!important;height:auto!important;min-height:0!important;overflow:hidden!important}
.standard.epm21-card .epm21-listing-body,.premium.epm21-card .epm21-listing-body{display:flex!important;align-items:flex-start!important;padding:4px!important;box-sizing:border-box!important;background:#e5f8fa!important;min-height:218px!important}
.standard.epm21-card .epm21-listing-body>.listing-img,.premium.epm21-card .epm21-listing-body>.listing-img{display:block!important;float:none!important;flex:0 0 184px!important;width:184px!important;height:215px!important;max-width:184px!important;margin:0 13px 0 0!important;padding:0!important;object-fit:cover!important}
.standard.epm21-card .style_details,.premium.epm21-card .style_details{display:block!important;flex:1!important;min-width:0!important;margin:0!important;padding:0!important;font-family:Arial,"PCU Sinhala","Noto Sans Sinhala",sans-serif!important;font-size:14px!important;line-height:21px!important;color:#000!important;text-align:left!important}
.standard.epm21-card .style_details #new,.premium.epm21-card .style_details #new{font-size:14px!important;line-height:21px!important;margin:0 0 5px!important;padding:0!important}
.standard.epm21-card .style_details p[align="right"],.premium.epm21-card .style_details p[align="right"]{display:block!important;margin:0!important;padding:0!important;text-align:right!important;line-height:21px!important}
.standard.epm21-card .style_details a,.premium.epm21-card .style_details a{text-decoration:none!important}
.standard.epm21-card .style_details svg,.premium.epm21-card .style_details svg{display:inline-block!important;margin:0 3px 0 0!important;vertical-align:text-bottom!important}
@media(max-width:700px){.standard.epm21-card .epm21-listing-body,.premium.epm21-card .epm21-listing-body{display:block!important;min-height:0!important}.standard.epm21-card .epm21-listing-body>.listing-img,.premium.epm21-card .epm21-listing-body>.listing-img{float:left!important;width:38%!important;height:auto!important;max-width:184px!important;margin:0 9px 5px 0!important}.standard.epm21-card .style_details,.premium.epm21-card .style_details{font-size:14px!important;line-height:21px!important}}
