/* TodayExpress – rebuilt theme stylesheet for PBN Builder
   (the template's own style.css was not shipped; this recreates its look:
   Oswald headings, Poppins text, red accent, overlay post tiles) */
:root{--acc:#e95252;--dark:#111;--txt:#555;--line:#e8e8e8;--soft:#f5f5f5}
html,body{overflow-x:hidden}
body{font-family:"Poppins",Arial,sans-serif;font-size:14px;line-height:1.7;color:var(--txt);background:#fff}
a{color:var(--dark);transition:color .2s}
a:hover,a:focus{color:var(--acc);text-decoration:none}
h1,h2,h3,h4,h5{font-family:"Oswald",Arial,sans-serif;color:var(--dark);font-weight:400}
img{max-width:100%}
.box{display:block;width:100%}
.box:after{content:"";display:table;clear:both}
.float-left{float:left}.float-right{float:right}.align-right{text-align:right}.center{text-align:center}

/* ---------- header ---------- */
.header-v1 .header-top{padding:28px 0}
.header-v1 .header-top .box{display:flex;align-items:center;justify-content:space-between;gap:20px}
.header-v1 .logo a{display:inline-block}
.pbn-logo{height:52px;width:auto;max-width:100%;display:block}
.header-v1 .box-right{text-align:right}
.pbn-tagline{margin:0;font-family:"Playfair Display",serif;font-style:italic;font-size:16px;color:#888}
.icon-menu-mobile{display:none;margin:0;cursor:pointer}
.icon-menu-mobile img{width:25px;height:20px}
.icon-menu-mobile .ico-close{display:none}
.mega-menu{border-top:3px solid var(--dark);border-bottom:1px solid var(--line)}
.mega-menu .navbar-nav{float:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center}
.mega-menu .navbar-nav>li{float:none}
.mega-menu .navbar-nav>li>a{font-family:"Oswald",sans-serif;text-transform:uppercase;font-size:14px;letter-spacing:1.5px;color:var(--dark);padding:17px 22px;position:relative}
.mega-menu .navbar-nav>li>a:hover,.mega-menu .navbar-nav>li>a:focus{background:none;color:var(--acc)}
.mega-menu .navbar-nav>li>a:after{content:"";position:absolute;left:22px;right:22px;bottom:-1px;height:2px;background:var(--acc);transform:scaleX(0);transition:transform .25s}
.mega-menu .navbar-nav>li>a:hover:after{transform:scaleX(1)}

/* ---------- labels & tags ---------- */
.tag{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px}
.tag p{margin:0}
.tag .date{font-size:12px;color:#999}
.tag .date i{margin-right:4px}
.lable{display:inline-block;background:var(--acc);color:#fff!important;font-family:"Oswald",sans-serif;font-size:11px;text-transform:uppercase;letter-spacing:1px;line-height:20px;padding:0 8px;white-space:nowrap}
.cat-1 .lable,.lable.cat-1{background:#e95252}
.cat-2 .lable,.lable.cat-2{background:#2b7de9}
.cat-3 .lable,.lable.cat-3{background:#f2b01e}
.cat-4 .lable,.lable.cat-4{background:#27ae60}
.cat-5 .lable,.lable.cat-5{background:#8e44ad}

/* ---------- post items ---------- */
.post-item{position:relative;margin-bottom:30px}
.post-item h2{margin:0 0 8px;line-height:1.3}
.post-item .images{display:block;overflow:hidden}
.post-item .images img{width:100%;object-fit:cover;transition:transform .6s}
.post-item:hover .images img{transform:scale(1.05)}
/* ver1: image with overlaid text */
.post-item.ver1 .images img{height:250px}
.post-item.ver1.big .images img{height:430px}
.post-item.ver1.overlay .images{position:relative}
.post-item.ver1.overlay .images:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 35%,rgba(0,0,0,.82) 100%)}
.post-item.ver1 .text{position:absolute;left:0;right:0;bottom:0;padding:22px 24px;z-index:2}
.post-item.ver1 .text h2{font-size:20px}
.post-item.ver1.big .text h2{font-size:30px}
.post-item.ver1 .text h2 a,.post-item.ver1 .text .description{color:#fff}
.post-item.ver1 .text h2 a:hover{color:#f2b01e}
.post-item.ver1 .text .description{font-size:13px;opacity:.85;margin:0 0 10px}
.post-item.ver1 .tag .date{color:rgba(255,255,255,.8)}
.post-item.ver1.small .images img{height:180px}
.post-item.ver1.small .text{padding:14px 16px}
.post-item.ver1.small .text h2{font-size:16px}
/* ver2: thumb + title */
.post-item.ver2{display:flex;gap:16px;align-items:flex-start;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--line)}
.post-item.ver2:last-child{border-bottom:0}
.post-item.ver2 .images{flex:0 0 110px;width:110px}
.post-item.ver2 .images img{height:80px}
.post-item.ver2 .text{flex:1;min-width:0}
.post-item.ver2 .text h2{font-size:16px}
.post-item.ver2 .description{margin:8px 0 6px;font-size:13px}
.technnology .post-item.ver2 .images{flex-basis:260px;width:260px}
.technnology .post-item.ver2 .images img{height:175px}
.technnology .post-item.ver2 .text h2{font-size:22px}
.read-more{font-family:"Oswald",sans-serif;text-transform:uppercase;font-size:12px;letter-spacing:2px;color:var(--acc);border-bottom:1px solid var(--acc)}
/* ver3: image card, text below */
.post-item.ver3 .wrap-images{position:relative}
.post-item.ver3 .images img{height:230px}
.post-item.ver3 .wrap-images .tag{position:absolute;left:0;bottom:0;right:0;padding:10px 14px;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.7));z-index:2}
.post-item.ver3 .wrap-images .tag .date{color:#fff}
.post-item.ver3 .text{padding-top:16px}
.post-item.ver3 .text h2{font-size:21px}
.post-item.ver3 .text p{font-size:13px;margin:0 0 10px}
.size-18 .post-item.ver3 .text h2{font-size:18px}

/* ---------- head tiles ---------- */
.home2-head{margin-bottom:45px}
.home2-head>[class*="col-"]{padding:0 1px}
.home2-head .post-item{margin:0}
.home2-head .post-item.ver1 .images img{height:470px}
.home2-head .post-item.ver1 .text{padding:30px}
.home2-head .post-item.ver1 .text h2{font-size:28px}
/* owner's partner box overlay on the third tile */
.post-item.ver1{position:relative}
.tt-pw3{position:absolute;left:0;top:0;right:0;bottom:0;overflow-y:auto;background:rgba(17,17,17,.88);padding:18px 22px;z-index:3}
.tt-pw3 *{color:#fff!important;background:transparent!important;border-color:rgba(255,255,255,.25)!important}
.tt-pw3 a:hover{color:#f2b01e!important}

/* ---------- section titles ---------- */
.title-v1{border-bottom:1px solid var(--line);margin-bottom:25px;position:relative}
.title-v1 h3{display:inline-block;margin:0;padding:0 0 10px;font-size:20px;text-transform:uppercase;letter-spacing:2px;border-bottom:3px solid var(--acc);margin-bottom:-1px}
.title-v1 h3 a{color:var(--dark)}

/* ---------- sidebar widgets ---------- */
.widget{margin-bottom:40px}
.widget-title{font-size:18px;text-transform:uppercase;letter-spacing:2px;margin:0 0 22px;padding-bottom:10px;border-bottom:3px solid var(--dark)}
.widget.popular .post-item.ver1 .images img{height:220px}
.widget.categories ul,.widget.footer-info ul,.widget.recent-posts ul,.flick-photo ul{list-style:none;margin:0;padding:0}
.widget.categories li{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px dashed var(--line)}
.widget.categories li .count{color:#999}
.tab-widget .tabs{list-style:none;margin:0 0 22px;padding:0;display:flex;border-bottom:3px solid var(--dark)}
.tab-widget .tabs .item{cursor:pointer;padding:8px 16px;background:var(--soft);margin-right:2px}
.tab-widget .tabs .item h3{margin:0;font-size:15px;text-transform:uppercase;letter-spacing:1.5px}
.tab-widget .tabs .item.active{background:var(--dark)}
.tab-widget .tabs .item.active h3{color:#fff}
.tab-widget .tab-content{display:none}
.tab-widget .tab-content.active{display:block}

/* ---------- dark band (was the video block) ---------- */
.pbn-band{background:#151515;padding:50px 0 20px;margin-top:20px}
.pbn-band .post-item.ver2{border-color:rgba(255,255,255,.12)}
.pbn-band .post-item.ver2 h2 a{color:#fff}
.pbn-band .post-item.ver2 h2 a:hover{color:#f2b01e}
.pbn-band .item-youtube-slide{max-height:430px;overflow-y:auto;padding-right:6px;scrollbar-width:thin}

/* ---------- pagination ---------- */
.pbn-pagination ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.pbn-pagination a{display:inline-block;min-width:38px;text-align:center;padding:7px 12px;border:1px solid var(--line);font-family:"Oswald",sans-serif;color:var(--dark)}
.pbn-pagination li.active a,.pbn-pagination a:hover{background:var(--acc);border-color:var(--acc);color:#fff}

/* ---------- inner page head + article ---------- */
.pbn-pagehead{background:var(--soft);padding:45px 0;margin-bottom:45px;border-bottom:1px solid var(--line)}
.pbn-pagehead h1{font-size:40px;line-height:1.2;margin:8px 0 14px;text-transform:none}
.pbn-crumbs{margin:0;font-size:12px;text-transform:uppercase;letter-spacing:1.5px;color:#999}
.pbn-crumbs i{margin:0 6px}
.pbn-head-tag .date{font-size:13px}
.pbn-article-img{margin-bottom:30px}
.pbn-article-img img{width:100%;max-height:520px;object-fit:cover}
.pbn-content{font-size:16px;line-height:1.85;color:#444}
.pbn-content p{margin:0 0 22px}
.pbn-content h2,.pbn-content h3{margin:32px 0 14px;font-size:26px}
.pbn-content ul,.pbn-content ol{margin:0 0 22px;padding-left:22px}
.pbn-content li{margin-bottom:6px}
.pbn-content blockquote{border-left:4px solid var(--acc);margin:0 0 26px;padding:16px 26px;font-family:"Playfair Display",serif;font-style:italic;font-size:21px;color:var(--dark);background:var(--soft)}
.pbn-content img{max-width:100%;height:auto}
.pbn-content a{color:var(--acc)}
.pbn-postnav{display:flex;gap:20px;justify-content:space-between;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0}
.pbn-postnav>div{flex:1}
.pbn-postnav span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:1.5px;color:#999}
.pbn-postnav a{font-family:"Oswald",sans-serif;font-size:17px}
.pbn-empty{font-size:17px;color:#888;padding:40px 0}

/* ---------- footer ---------- */
#back-to-top{position:fixed;right:20px;bottom:20px;width:42px;height:42px;line-height:42px;text-align:center;background:var(--acc);color:#fff;cursor:pointer;opacity:0;visibility:hidden;transition:.3s;z-index:50}
#back-to-top.show{opacity:1;visibility:visible}
.footer-v1{background:var(--soft);padding-top:60px;margin-top:40px;border-top:3px solid var(--dark)}
.footer-v1 .logo-footer{display:inline-block;margin-bottom:20px}
.footer-v1 .logo-footer .pbn-logo{height:44px}
.footer-v1 .widget{margin-bottom:35px}
.footer-v1 .widget-title{font-size:16px;border-bottom-width:2px}
.footer-info li{padding:5px 0}
.footer-info li i{color:var(--acc);margin-right:4px}
.recent-posts li{display:flex;gap:12px;margin-bottom:16px}
.recent-posts .images{flex:0 0 75px}
.recent-posts .images img{width:75px;height:60px;object-fit:cover}
.recent-posts .title{font-size:14px;line-height:1.35;margin:0 0 4px}
.recent-posts .date{margin:0;font-size:12px;color:#999}
.flick-photo ul{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.flick-photo img{width:100%;aspect-ratio:1/1;object-fit:cover}
.footer-bottom{background:var(--dark);color:#aaa;padding:18px 0;font-size:13px}
.footer-bottom .container{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px}
.footer-bottom .container:before,.footer-bottom .container:after{display:none}
.footer-bottom p{margin:0}
.footer-bottom a{color:#fff}
.footer-bottom p a{color:#f56666}
.menu-footer{list-style:none;margin:0;padding:0}
.menu-footer li{display:inline-block;margin-left:22px}
.menu-footer li a{font-family:"Oswald",sans-serif;text-transform:uppercase;letter-spacing:2px;font-size:12px}

/* ---------- responsive ---------- */
@media (max-width:991px){
  .home2-head .post-item.ver1 .images img{height:380px}
  .home2-head .post-item.ver1 .text h2{font-size:22px}
  .technnology .post-item.ver2 .images{flex-basis:180px;width:180px}
  .technnology .post-item.ver2 .images img{height:130px}
}
@media (max-width:767px){
  .header-v1 .header-top{padding:16px 0}
  .header-v1 .box-right{display:none}
  .icon-menu-mobile{display:block;order:2}
  .pbn-logo{height:36px}
  .mega-menu{display:none;border-top-width:2px}
  .pbn-menu-open .mega-menu{display:block}
  .pbn-menu-open .icon-menu-mobile .ico-open{display:none}
  .pbn-menu-open .icon-menu-mobile .ico-close{display:block}
  .mega-menu .navbar-nav{flex-direction:column}
  .mega-menu .navbar-nav>li>a{padding:12px 0;border-bottom:1px solid var(--line)}
  .home2-head>[class*="col-"]{padding:0;margin-bottom:2px}
  .home2-head .post-item.ver1 .images img{height:340px}
  .post-item.ver1.big .images img{height:300px}
  .post-item.ver1.big .text h2{font-size:22px}
  .technnology .post-item.ver2{flex-direction:column}
  .technnology .post-item.ver2 .images{flex-basis:auto;width:100%}
  .technnology .post-item.ver2 .images img{height:200px}
  .pbn-pagehead h1{font-size:28px}
  .footer-bottom .container{flex-direction:column;align-items:flex-start}
  .menu-footer li{margin:0 16px 0 0}
}
