/* Nea Ilektriki: responsive public-site layout. Existing assets and copy retained. */
:root{--blue:#008fd5;--orange:#d38412;--white:#fff;--content-width:960px}
*,*::before,*::after{box-sizing:border-box}
html{min-width:0;min-height:100%;-webkit-text-size-adjust:100%}
body{margin:0;min-height:100vh;background:#111;color:var(--white);font:14px/1.65 Ubuntu,Arial,sans-serif}
button,a{-webkit-tap-highlight-color:transparent}
button{font:inherit}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:3px}
a:focus-visible,button:focus-visible{outline:3px solid #ffb947;outline-offset:4px}
button{cursor:pointer}
img{max-width:100%;height:auto;vertical-align:middle;border:0}
[hidden]{display:none!important}
h1,h2,p{margin:0}
h1{font-size:18px;line-height:1.4;margin-bottom:22px}
.container{width:calc(100% - 40px);max-width:var(--content-width);margin-inline:auto;min-width:0}
.site-background{position:fixed;inset:0;z-index:-1;background:#111;overflow:hidden;pointer-events:none}
.background-slide{position:absolute;inset:0;background-position:center;background-size:cover;background-repeat:no-repeat;opacity:0;transition:opacity 1.4s ease}
.background-slide.is-visible{opacity:1}
.site-shell{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
.site-header{background:url(images/bg-header.png) repeat-x center top;position:relative;z-index:10;flex:none}
.header-inner{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;min-height:126px}
.brand{display:block;flex:0 0 219px;line-height:0}
.brand img{display:block;width:219px;height:auto}
.main-nav{padding-top:3px;position:relative;min-width:0}
.main-nav ul{list-style:none;margin:0;padding:0}
#main-menu{display:flex;align-items:flex-start}
#main-menu>li{position:relative;flex-shrink:0}
#main-menu>li>a,.submenu-toggle{display:flex;align-items:center;justify-content:center;gap:8px;min-height:64px;padding:20px 16px;color:#666;font-weight:700;font-size:13px;line-height:24px;background:none;border:0;white-space:nowrap;text-decoration:none}
#main-menu>li>a:hover,#main-menu>li>a[aria-current],.submenu-toggle:hover,.submenu-toggle[aria-expanded="true"]{color:var(--orange)}
.chevron{width:6px;height:6px;border-bottom:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);margin-top:-3px}
#products-menu{position:absolute;top:64px;left:0;min-width:210px;background:var(--orange);box-shadow:0 8px 20px #0003;padding:5px 0}
#products-menu a{display:block;padding:12px 16px;font-size:13px;font-weight:700;line-height:1.5}
#products-menu a:hover,#products-menu a:focus-visible{background:#0002;text-decoration:none}
html:not(.js) #products-menu{position:static;box-shadow:none}
.menu-toggle{display:none;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:8px 12px;border:1px solid #ddd;border-radius:3px;background:#fff;color:#555;font-size:13px;font-weight:700}
.menu-icon{display:inline-block;width:18px;height:12px;border-block:2px solid currentColor;position:relative}
.menu-icon::after{content:"";position:absolute;top:3px;left:0;width:18px;border-top:2px solid currentColor}
.home-main{flex:1;display:flex;flex-direction:column;justify-content:flex-end;min-width:0}
.home-space{min-height:200px;flex:1}
.home-bottom-space{height:50px;flex:none}
.products-band,.content-band{padding:20px 0;background:url(images/repeat_transp.png) repeat}
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;max-width:920px}
.product-card{display:block;position:relative;min-width:0;border:1px solid #eee8;overflow:hidden;background:#fff;color:#fff;box-shadow:0 0 5px #0006}
.product-card>img{display:block;width:100%;height:auto;aspect-ratio:280/158;object-fit:contain}
.product-caption{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px;background:#008fd5e8;opacity:0;transition:opacity .25s ease;text-align:center}
.product-caption h2{font-size:16px;line-height:1.5;font-weight:700}
.product-caption p{margin-top:8px;font-size:13px}
.product-card:hover .product-caption,.product-card:focus-visible .product-caption{opacity:1}
.inner-main{padding-top:50px;flex:1;min-width:0}
.inner-space{height:120px}
.profile-panel{padding:24px;background:var(--blue);display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:40px;align-items:center}
.profile-copy{min-width:0;line-height:1.75;overflow-wrap:anywhere}
.profile-copy a{font-weight:700;text-decoration:underline}
.profile-image{width:200px;justify-self:end}
.title_textb{font-weight:700}
.contact-panel{background:var(--orange)}
.contact-copy{padding:24px;overflow-wrap:anywhere;line-height:1.75}
.contact-copy h1{margin-bottom:22px}
.contact-copy a{text-decoration:underline;text-underline-offset:3px}
.contact-map{background:#e6e6e6}
.contact-map iframe{display:block;width:100%;max-width:100%;height:350px;border:0}
.team-panel{background:#fff;color:#555}
.team-panel>h1{padding:14px 20px;margin:0;background:var(--orange);color:#fff;text-align:center}
.team-table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left}
.team-table th{background:var(--blue);color:#fff;font-size:14px;font-weight:700;padding:14px 18px;vertical-align:top;overflow-wrap:anywhere}
.team-table td{padding:14px 18px;border-bottom:1px solid #e5e5e5;vertical-align:top;overflow-wrap:anywhere}
.team-table th:nth-child(1){width:28%}
.team-table th:nth-child(2){width:22%}
.team-table th:nth-child(3){width:26%}
.team-table th:nth-child(4){width:24%}
.team-table tbody tr:last-child td{border-bottom:0}
.team-empty .alert{display:block;padding:20px;text-align:center}
.site-footer{background:var(--blue);flex:none;padding:14px 0;font-size:14px;line-height:1.8}
.footer-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:12px 20px}
.footer-links{display:flex;align-items:flex-start;flex-wrap:wrap;gap:2px 10px}
.footer-contact,.footer-credit{text-align:right;overflow-wrap:anywhere}
.footer-contact a{display:inline-block}
.skip-link{position:absolute;top:-100px;left:16px;background:#fff;color:#111;padding:12px;z-index:100}
.skip-link:focus{top:8px}
.slideshow-toggle{position:fixed;right:12px;bottom:12px;z-index:20;border:1px solid #ffffff99;border-radius:50%;background:#111b;color:#fff;width:40px;height:40px;line-height:1;font-size:19px}
@media(max-width:1000px){
  #main-menu>li>a,.submenu-toggle{padding-inline:12px;font-size:12px}
  .product-grid{gap:22px}
  .footer-inner{grid-template-columns:1fr}
  .footer-contact,.footer-credit{text-align:left}
}
@media(max-width:850px){
  .site-header{background:#fff}
  .header-inner{align-items:center;flex-wrap:wrap;gap:0;min-height:0;position:relative}
  .brand{flex-basis:185px}
  .brand img{width:185px}
  .main-nav{width:100%;padding:0 0 14px}
  #main-menu{flex-wrap:wrap;justify-content:center}
  #main-menu>li>a,.submenu-toggle{min-height:44px;padding:10px 14px;font-size:13px}
  #products-menu{top:44px}
  .js .main-nav{width:auto;padding:0}
  .js .menu-toggle{display:flex}
  .js #main-menu{position:absolute;top:calc(100% + 14px);right:0;width:min(340px,calc(100vw - 40px));background:#fff;box-shadow:0 10px 24px #0003;border-top:3px solid var(--orange);padding:8px 0;display:block}
  .js #main-menu>li>a,.js .submenu-toggle{width:100%;justify-content:space-between;text-align:left;padding:12px 20px;min-height:48px}
  .js #main-menu>li+li{border-top:1px solid #eee}
  .js #products-menu{position:static;box-shadow:none;min-width:0;padding:4px 0}
  .js #products-menu a{padding:12px 28px;min-height:44px}
  .home-space{min-height:180px}
  .profile-panel{gap:24px;grid-template-columns:minmax(0,1fr) 160px}
  .profile-image{width:160px}
}
@media(max-width:640px){
  body{font-size:15px}
  .container{width:calc(100% - 32px)}
  .brand{flex-basis:165px}
  .brand img{width:165px}
  .js #main-menu{width:min(340px,calc(100vw - 32px))}
  .home-space{min-height:150px}
  .home-bottom-space{height:32px}
  .products-band,.content-band{padding-block:20px}
  .product-grid{grid-template-columns:minmax(0,1fr);max-width:380px;gap:18px}
  .product-caption{position:static;opacity:1;padding:12px;background:var(--blue)}
  .product-caption h2{font-size:15px}
  .product-caption p{font-size:12px;margin-top:3px}
  .inner-main{padding-top:32px}
  .inner-space{height:48px}
  .profile-panel{padding:22px;grid-template-columns:minmax(0,1fr);gap:28px}
  .profile-copy{line-height:1.8}
  .profile-image{width:160px;justify-self:center}
  .contact-copy{padding:22px;line-height:1.85}
  .contact-map iframe{height:300px}
  .team-table,.team-table tbody{display:block;width:100%}
  .team-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .team-table tbody{padding:14px}
  .team-table tbody:empty{padding:0}
  .team-table tbody tr{display:block;border:1px solid #ddd;border-top:3px solid var(--blue);border-radius:2px;padding:8px 14px;margin-bottom:14px;background:#fff}
  .team-table tbody tr:last-child{margin-bottom:0}
  .team-table td{display:block;width:100%;padding:9px 0;font-size:15px;border-bottom:1px solid #eee}
  .team-table tbody tr:last-child td{border-bottom:1px solid #eee}
  .team-table tbody tr td:last-child{border-bottom:0}
  .team-table td::before{content:attr(data-label);display:block;color:#006b9f;font-size:12px;font-weight:700;line-height:1.6;margin-bottom:2px}
  .site-footer{padding:20px 0;font-size:14px}
  .footer-inner{gap:15px}
  .footer-links{gap:4px 10px}
  .footer-links a{padding-block:5px}
  .footer-contact{line-height:2}
  .footer-credit{padding-right:38px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
