/* POE Corporate R7 - layout for Aruba, avoids photo/text overlap, keeps existing texts */
:root{--poe-r7-ink:#0b3046;--poe-r7-green:#318b40;--poe-r7-muted:#526676;--poe-r7-line:#e3eaed}
body{background:#fff;color:var(--poe-r7-ink)}
.site-header .head{max-width:1320px;min-height:82px;gap:22px}
.site-header .logo{width:180px;max-height:65px}
.site-header .menu{gap:clamp(10px,1.25vw,19px);flex-wrap:wrap;justify-content:flex-end}
.site-header .menu a{font-size:13px;white-space:nowrap}
.site-header .menu a.poe-private-area{padding:10px 14px;border:0;border-radius:6px;background:#267e35;color:#fff}
.site-header .menu a.poe-private-area:hover{background:#19672a;color:#fff}
/* The hero is a true two-column layout, not text painted over a photo. */
.hero{background:linear-gradient(120deg,#fff 8%,#f5fafb 100%)!important;color:var(--poe-r7-ink)!important;padding:62px 0 65px!important;min-height:0!important;isolation:auto!important;overflow:visible!important}
.hero::before,.hero::after{display:none!important;content:none!important;background:none!important}
.hero .wrap.poe-hero-grid{max-width:1320px;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,0.96fr);align-items:center;gap:clamp(26px,3.1vw,52px);position:relative;z-index:1}
.poe-hero-copy{min-width:0;width:100%;max-width:650px}
.hero .eyebrow{font-size:12px!important;color:#317f39!important;letter-spacing:1.15px!important}
.hero h1{color:var(--poe-r7-ink)!important;font-size:clamp(37px,3.7vw,54px)!important;line-height:1.12!important;max-width:none!important;letter-spacing:-.032em;margin:19px 0 18px!important}
.hero h1 .hero-subline{display:block!important;font-size:.50em!important;font-weight:500!important;line-height:1.3!important;margin:.27em 0 0!important;letter-spacing:-.016em!important}
.hero h1 .hero-subline strong{font-weight:800!important}
.hero p{color:#364f60!important;font-size:clamp(15px,1.24vw,18px)!important;line-height:1.58!important;max-width:610px!important;margin:23px 0 0!important}
.hero-actions{display:flex;gap:12px;margin-top:29px!important;flex-wrap:wrap}
.hero .btn,.hero .ghost{font-size:14px;border-radius:6px;padding:12px 17px}
.hero .btn{background:#328e3e;border-color:#328e3e;color:#fff}
.hero .ghost{background:#fff;color:#0b3046;border:1px solid #0b3046}
.poe-hero-media{min-width:0;align-self:stretch;min-height:390px;max-height:520px;overflow:hidden;border-radius:14px;border:1px solid #e0e7e9;box-shadow:0 9px 34px rgba(7,46,65,.08);background:#e2e9e6}
.poe-hero-media img{display:block;width:100%;height:100%;min-height:390px;max-height:520px;object-fit:cover;object-position:center center}
/* Six pillars given equal visual weight. */
.poe-focus-section{padding:59px 0 50px;background:#fff}
.poe-focus-section .wrap{max-width:1220px}
.poe-focus-section .eyebrow{color:#347a3d}
.poe-focus-section h2{margin:9px 0 27px;font-size:clamp(27px,2.75vw,37px);line-height:1.2}
.poe-focus-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.poe-focus-card{display:flex;position:relative;min-width:0;align-items:flex-start;gap:14px;min-height:144px;padding:22px 20px;background:#fff;border:1px solid var(--poe-r7-line);border-radius:10px;transition:box-shadow .18s,border-color .18s,transform .18s;text-decoration:none}
.poe-focus-card:hover,.poe-focus-card:focus-visible{transform:translateY(-2px);box-shadow:0 9px 26px rgba(7,46,65,.09);border-color:#b4d1c0;color:var(--poe-r7-ink)}
.poe-focus-icon{flex:0 0 52px;width:52px;height:52px;display:block}
.poe-focus-icon img{display:block;width:52px;height:52px}
.poe-focus-text{display:flex;flex-direction:column;gap:9px;min-width:0;padding-right:12px}
.poe-focus-text strong{font-size:17px;line-height:1.25;color:#0a3047}
.poe-focus-text small{font-size:13px;line-height:1.55;color:#526777}
.poe-focus-arrow{position:absolute;top:16px;right:16px;font-size:17px;color:#5a8370}
/* Original cards remain word-for-word unchanged but use distinctly colored icons. */
.poe-competence-section{background:#f8fafb;padding:63px 0!important}
.poe-competence-section .grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px!important;margin-top:30px}
.poe-competence-section .grid .card{min-width:0;display:block;background:#fff!important;padding:24px 20px!important;border:1px solid #e1eaed!important;border-radius:9px!important;box-shadow:0 3px 13px rgba(8,47,66,.035)!important}
.poe-competence-section .grid .card::before{content:"";display:block;width:51px;height:51px;background-repeat:no-repeat;background-size:contain;margin:0 0 11px}
.poe-competence-section .grid .card:nth-child(1)::before{background-image:url('focus-impianti.svg')!important}
.poe-competence-section .grid .card:nth-child(2)::before{background-image:url('focus-rinnovabili.svg')!important}
.poe-competence-section .grid .card:nth-child(3)::before{background-image:url('focus-consulenza.svg')!important}
.poe-competence-section .grid .card:nth-child(4)::before{background-image:url('focus-it.svg')!important}
.poe-competence-section .card .num{color:#4b8a5a;font-size:11px;letter-spacing:1px}
.poe-competence-section .grid .card h3{font-size:19px;margin:10px 0 10px;line-height:1.27}
.poe-competence-section .grid .card p{font-size:14px;line-height:1.62;color:#526777}
/* News use regular WordPress posts in category "News". */
.poe-news{background:#f5f9fa;padding:70px 0!important;border-top:1px solid #e7eef0}
.poe-news-head{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:24px}
.poe-news-head h2{margin:8px 0 8px}
.poe-news-head .intro{margin:0}
.poe-news-all{white-space:nowrap;border-bottom:1px solid #41904c;color:#287c37;font-weight:700;font-size:14px;padding-bottom:4px}
.poe-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.poe-news-card{background:#fff;border:1px solid #e0e8ed;border-radius:10px;overflow:hidden;min-width:0}
.poe-news-img{display:block;aspect-ratio:16/9;overflow:hidden;background:#edf3f4}
.poe-news-img img{display:block;width:100%;height:100%;object-fit:cover}
.poe-news-body{padding:24px}
.poe-news-body time{display:block;color:#567482;font-size:12px;margin-bottom:8px}
.poe-news-body h3{font-size:20px;line-height:1.3;margin:0 0 9px;color:#0b3046}
.poe-news-body h3 a:hover{color:#33823b}
.poe-news-body p{font-size:14px;line-height:1.6;color:#556a78;margin:0 0 15px}
.poe-news-read{color:#278038;font-size:13px;font-weight:700}
.poe-news-empty{padding:25px;background:#fff;border:1px dashed #ccddda;border-radius:8px;color:#667b85;font-size:15px}
/* Footer social: neutral placeholder until an official profile URL is configured. */
.site-footer .footgrid{grid-template-columns:1.6fr 1fr 1.2fr 1fr;gap:27px}
.site-footer a{transition:color .16s}
.poe-social{min-width:0}
.poe-social strong{display:block}
.poe-social p{margin:12px 0 0}
.poe-social a,.poe-linkedin-soon{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px}
.poe-linkedin-soon{color:#b5c9d1}
.poe-linkedin-soon small{display:block;font-size:11px;opacity:.8}
.poe-linkedin-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;background:#0a74b9;color:white;border-radius:5px;font:bold 16px Arial,sans-serif}
h2[id],.poe-focus-section[id]{scroll-margin-top:120px}
@media(max-width:1180px){
 .site-header .head{flex-direction:column;padding-top:12px;padding-bottom:12px;gap:8px}
 .site-header .menu{justify-content:center}
 .hero .wrap.poe-hero-grid{gap:24px}
 .hero h1{font-size:clamp(36px,4vw,49px)!important}
 .poe-competence-section .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .site-footer .footgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
 .hero{padding:48px 0!important}
 .hero .wrap.poe-hero-grid{grid-template-columns:minmax(0,1fr)!important;gap:23px}
 .poe-hero-copy{max-width:780px}
 .hero h1{font-size:clamp(35px,5vw,48px)!important}
 .poe-hero-media{min-height:260px;max-height:330px}
 .poe-hero-media img{min-height:260px;max-height:330px}
 .poe-focus-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .poe-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
 .site-header .menu{gap:7px 12px}
 .site-header .menu a{font-size:12px}
 .site-header .logo{width:163px}
 .hero h1{font-size:clamp(31px,7.5vw,40px)!important}
 .hero h1 .hero-subline{font-size:.5em!important}
 .hero .eyebrow{font-size:10.5px!important}
 .hero p{font-size:15px!important}
 .hero .wrap.poe-hero-grid{gap:24px}
 .poe-focus-section{padding:45px 0}
 .poe-focus-grid,.poe-competence-section .grid,.poe-news-grid{grid-template-columns:1fr!important}
 .poe-focus-card{min-height:110px;padding:18px 17px}
 .poe-focus-icon,.poe-focus-icon img{flex-basis:46px;width:46px;height:46px}
 .poe-news-head{align-items:flex-start;flex-direction:column;gap:12px}
 .poe-news{padding:48px 0!important}
 .site-footer .footgrid{grid-template-columns:1fr}
 .site-footer .footgrid>div{min-width:0}
}
@media(prefers-reduced-motion:reduce){.poe-focus-card{transition:none}}

.poe-single-article{max-width:910px;line-height:1.8}
.poe-single-article img{max-width:100%;height:auto}
.poe-single-featured{margin-bottom:30px}
.poe-single-featured img{width:100%;height:auto;border-radius:10px}
.poe-post-date{color:#536a75;font-size:14px}
.poe-news-back{margin-top:45px;border-top:1px solid #dce5e8;padding-top:22px;font-weight:700;color:#287c37}
.poe-news-archive{min-height:360px}
.poe-news-pages{margin-top:30px}
.poe-news-pages .nav-links{display:flex;gap:12px;justify-content:center}
.poe-news-pages a,.poe-news-pages span{padding:7px 12px;border:1px solid #cde0d5;border-radius:5px}


/* R7.2 — Logo del sito leggermente più grande (senza modificare contenuti o menu).
   Desktop: circa +21%; mobile: circa +12%. */
@media (min-width: 641px) {
  .site-header .logo { width: 218px; height: auto; max-height: none; }
  .site-header .head { min-height: 108px; }
}
@media (max-width: 640px) {
  .site-header .logo { width: 183px; height: auto; max-height: none; }
}
