/* WEtravel NEWS · Area Clienti v1.0 — scoped to .wtn-ac */
.wtn-ac{--wtn-red:#cc0000;--wtn-ink:#20242a;--wtn-line:#e4e5e7;--wtn-soft:#f8f8f9;--wtn-muted:#687079;font-family:inherit;color:var(--wtn-ink);max-width:1210px;margin:36px auto 58px;font-size:15px;line-height:1.55}
.wtn-ac *{box-sizing:border-box}
.wtn-ac__top{display:flex;align-items:end;justify-content:space-between;border-bottom:1px solid var(--wtn-line);padding:0 0 22px;margin:0 0 27px;gap:16px}
.wtn-ac .wtn-ac__top h1{font-size:clamp(28px,3.5vw,37px)!important;line-height:1.15;font-weight:750;color:var(--wtn-ink);margin:5px 0 8px!important}
.wtn-ac .wtn-ac__top p{margin:0!important;color:var(--wtn-muted)}
.wtn-ac__eyebrow{color:var(--wtn-red);font-size:10px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.wtn-ac__identity{color:var(--wtn-muted);font-size:12px;white-space:nowrap}.wtn-ac__identity strong{display:block;color:var(--wtn-ink);font-size:18px;letter-spacing:.03em}
.wtn-ac__shell{display:grid;grid-template-columns:228px minmax(0,1fr);align-items:start;gap:28px}
.wtn-ac__side{position:sticky;top:23px;padding:7px;background:var(--wtn-soft);border:1px solid var(--wtn-line);border-radius:16px}
.wtn-ac__side a{display:block;text-decoration:none!important;white-space:nowrap;color:#343b43!important;padding:14px 15px;border-radius:10px;transition:background-color .15s,color .15s;font-size:14px;font-weight:650;line-height:1.2}
.wtn-ac__side a:hover{color:var(--wtn-red)!important;background:#fff}
.wtn-ac__side a[aria-current="page"]{background:#fff;color:var(--wtn-red)!important;box-shadow:0 1px 6px #1a28350d;border-left:3px solid var(--wtn-red);padding-left:12px}
.wtn-ac__main{min-width:0}
.wtn-ac__main h2{margin:0 0 10px!important;font-size:24px!important;line-height:1.23;font-weight:760;color:var(--wtn-ink)!important}
.wtn-ac__main h3{margin:0 0 14px!important;font-size:18px!important;line-height:1.3;font-weight:740;color:var(--wtn-ink)!important}
.wtn-ac__main p{margin:0 0 14px;line-height:1.62}
.wtn-ac__muted{color:var(--wtn-muted)!important;font-size:13px}
.wtn-ac__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:24px 0}
.wtn-ac__stat{display:flex;flex-direction:column;justify-content:space-between;gap:8px;border:1px solid var(--wtn-line);padding:20px 18px;border-radius:15px;background:#fff;min-height:145px}
.wtn-ac__stat>span{font-size:12px;color:var(--wtn-muted);font-weight:600;line-height:1.3}
.wtn-ac__stat strong{font-size:clamp(18px,2vw,24px);font-weight:800;line-height:1.18;color:var(--wtn-ink)}
.wtn-ac__stat small{font-size:11px;color:var(--wtn-muted)}
.wtn-ac__card{margin:0 0 18px;padding:25px;background:#fff;border:1px solid var(--wtn-line);border-radius:16px;box-shadow:0 4px 14px rgba(28,31,35,.025)}
.wtn-ac__card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.wtn-ac__card-head h3{margin:5px 0 0!important}
.wtn-ac__card-head h2{margin:6px 0!important}
.wtn-ac__pill{display:inline-flex;align-items:center;border-radius:99px;border:1px solid #e7e8ea;background:#f8f8fa;padding:5px 9px;font-size:11px;line-height:1.2;color:#3e444e;font-weight:700;white-space:nowrap}
.wtn-ac__details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:0;margin:14px 0 18px!important}
.wtn-ac__details div{min-width:0;border-bottom:1px solid #f0f0f1;padding-bottom:9px}
.wtn-ac__details dt{font-size:11px;color:var(--wtn-muted);margin:0 0 4px}
.wtn-ac__details dd{overflow-wrap:anywhere;font-weight:650;margin:0;color:#252a31;font-size:14px}
.wtn-ac__actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:18px}
.wtn-ac__btn,.wtn-ac__main button.wtn-ac__btn{display:inline-flex;align-items:center;justify-content:center;min-height:41px;text-decoration:none!important;border-radius:9px!important;border:1px solid var(--wtn-red)!important;padding:10px 15px!important;background:var(--wtn-red)!important;color:#fff!important;font-weight:750!important;font-size:12px!important;line-height:1.45!important;letter-spacing:0!important;text-transform:none!important;box-shadow:none!important;cursor:pointer;text-align:center;white-space:normal;transition:opacity .15s}
.wtn-ac__btn:hover,.wtn-ac__main button.wtn-ac__btn:hover{opacity:.87}
.wtn-ac__btn--outline,.wtn-ac__main button.wtn-ac__btn--outline{background:white!important;color:var(--wtn-red)!important}
.wtn-ac__tabs{display:flex;gap:9px;flex-wrap:wrap;margin:22px 0 19px;border-bottom:1px solid var(--wtn-line)}
.wtn-ac__tabs a{display:inline-block;text-decoration:none!important;padding:9px 13px 13px;color:var(--wtn-muted)!important;font-size:13px;font-weight:750;border-bottom:3px solid transparent}
.wtn-ac__tabs a[aria-current="page"]{color:var(--wtn-red)!important;border-color:var(--wtn-red)}
.wtn-ac__table-wrap{max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}
.wtn-ac__table-wrap table{width:100%;min-width:560px;margin:4px 0 0;border-collapse:collapse;table-layout:auto}
.wtn-ac__table-wrap th{padding:11px 12px;text-align:left;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#727981;background:#fafafa;white-space:nowrap;border-bottom:1px solid var(--wtn-line)}
.wtn-ac__table-wrap td{padding:13px 12px;font-size:12px;border-bottom:1px solid #edeef0;color:#252a31;white-space:normal}
.wtn-ac__table-wrap a{color:var(--wtn-red);font-weight:700;text-decoration:none}
.wtn-ac__table-wrap code{font-size:11px;word-break:break-word}
.wtn-ac label{display:block;font-size:12px;font-weight:700;margin-bottom:7px;color:#3b4249}
.wtn-ac input[type=text],.wtn-ac input[type=email],.wtn-ac input[type=password],.wtn-ac input[type=tel],.wtn-ac textarea,.wtn-ac select{display:block;min-height:43px;width:100%;max-width:100%;padding:11px 12px!important;margin:0 0 17px!important;background:#fff!important;color:#222!important;border:1px solid #dce0e4!important;border-radius:9px!important;box-shadow:none!important;font-size:14px!important;line-height:1.4!important}
.wtn-ac textarea{resize:vertical;min-height:110px}
.wtn-ac__form-row{display:grid;grid-template-columns:1.4fr 1fr;gap:15px}
.wtn-ac__notice{background:#f1f8f3;border:1px solid #c8e3cf;border-radius:9px;padding:14px 16px;margin-bottom:18px;font-size:13px;color:#245933}
.wtn-ac__notice--error{background:#fff6f5;border-color:#f1cecc;color:#9b2921}
.wtn-ac__back{display:inline-block;margin:0 0 20px;text-decoration:none;color:var(--wtn-red)!important;font-weight:700}
.wtn-ac__thread{margin-top:20px}
.wtn-ac__message{background:#f8f8f9;border:1px solid #eceef0;border-radius:12px;padding:16px 18px;margin-bottom:12px}
.wtn-ac__message--support{background:#fffafa;border-color:#efdddd}
.wtn-ac__message>div{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.wtn-ac__message strong{font-size:12px}.wtn-ac__message time{font-size:11px;color:var(--wtn-muted)}
.wtn-ac__message p{white-space:normal;overflow-wrap:anywhere;margin-bottom:0!important}
.wtn-ac__guest,.wtn-ac__alert{max-width:670px;margin:45px auto;padding:34px;border:1px solid #e5e5e5;border-radius:17px;background:#fff}
.wtn-ac__guest h2{font-size:25px;margin:0 0 15px}
.wtn-ac__native{overflow-wrap:anywhere}
.wtn-ac__native form{max-width:700px}
.wtn-ac__native .swpm-profile-form div{max-width:100%}
.wtn-ac__native input[type=submit],.wtn-ac__native button[type=submit]{background:var(--wtn-red)!important;color:#fff!important;border:0!important;border-radius:9px!important;padding:11px 17px!important;font-size:13px!important;cursor:pointer}
.wtn-ac__native a{color:var(--wtn-red)}
.wtn-ac :focus-visible{outline:2px solid var(--wtn-red)!important;outline-offset:3px}
@media(max-width:950px){.wtn-ac__shell{grid-template-columns:185px minmax(0,1fr);gap:18px}.wtn-ac__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.wtn-ac__card{padding:20px}}
@media(max-width:690px){.wtn-ac{margin:20px auto 38px}.wtn-ac__shell{display:block}.wtn-ac__side{position:static;display:flex;gap:4px;overflow:auto;white-space:nowrap;margin-bottom:18px;padding:5px;border-radius:11px}.wtn-ac__side a{padding:10px 13px!important;font-size:12px}.wtn-ac__side a[aria-current="page"]{border-left:0;border-bottom:2px solid var(--wtn-red)}.wtn-ac__top{padding-bottom:16px;margin-bottom:18px}.wtn-ac__identity{font-size:10px}.wtn-ac__identity strong{font-size:14px}.wtn-ac__stats{grid-template-columns:1fr 1fr;gap:9px;margin:17px 0}.wtn-ac__stat{min-height:120px;padding:15px 12px}.wtn-ac__stat:last-child{grid-column:span 2;min-height:94px}.wtn-ac__card{padding:19px 15px;border-radius:13px}.wtn-ac__form-row{grid-template-columns:1fr;gap:0}.wtn-ac__details{grid-template-columns:1fr;gap:10px}.wtn-ac__tabs a{font-size:11px;padding:9px 8px 11px}.wtn-ac__message>div{align-items:flex-start;flex-direction:column;gap:3px}}

/* WEtravel v1.1: reduced page whitespace / overrides scoped to our portal. */
body.wtn-ac-page .entry-header, body.wtn-ac-page .page-title-section {display:none!important}
body.wtn-ac-page .main-container{padding-top:16px!important;padding-bottom:16px!important;min-height:0!important}
body.wtn-ac-page .content-area,body.wtn-ac-page .entry-content,body.wtn-ac-page #primary{padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important;min-height:0!important}
body.wtn-ac-page article.page{margin-top:0!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important}
.wtn-ac{margin:8px auto 18px!important}
.wtn-ac__top{padding-bottom:12px;margin-bottom:18px}
.wtn-ac__top h1{margin-top:0!important}
.wtn-ac__card:last-child,.wtn-ac__main>*:last-child{margin-bottom:0!important}
.wtn-ac__shell{gap:22px}
/* Flat, vivid buttons; Shapely's link pseudo-elements and underline disabled. */
.wtn-ac .wtn-ac__btn,.wtn-ac .wtn-ac__main button.wtn-ac__btn,
.wtn-ac .wtn-ac__btn--outline,.wtn-ac .wtn-ac__main button.wtn-ac__btn--outline,
.wtn-ac .wtn-ac__native input[type=submit],.wtn-ac .wtn-ac__native button[type=submit]{background:#cc0000!important;border:1px solid #cc0000!important;color:#fff!important;text-decoration:none!important;text-decoration-line:none!important;box-shadow:none!important;opacity:1!important;transition:background .18s,color .18s,border-color .18s!important}
.wtn-ac .wtn-ac__btn:hover,.wtn-ac .wtn-ac__btn:focus-visible,
.wtn-ac .wtn-ac__main button.wtn-ac__btn:hover,.wtn-ac .wtn-ac__main button.wtn-ac__btn:focus-visible,
.wtn-ac .wtn-ac__native input[type=submit]:hover,.wtn-ac .wtn-ac__native button[type=submit]:hover{background:#30343a!important;border-color:#30343a!important;color:#fff!important;opacity:1!important}
.wtn-ac a::before,.wtn-ac a::after,.wtn-ac button::before,.wtn-ac button::after{box-shadow:none!important;text-decoration:none!important}
.wtn-ac__tabs a{background:#cc0000!important;border:0!important;border-radius:8px 8px 0 0;color:#fff!important;margin-bottom:0;padding:10px 13px!important;text-decoration:none!important}
.wtn-ac__tabs a:hover,.wtn-ac__tabs a:focus-visible,.wtn-ac__tabs a[aria-current="page"]{background:#30343a!important;color:#fff!important;border:0!important}
.wtn-ac__side a{color:#cc0000!important;text-decoration:none!important;text-decoration-line:none!important;border-left:0!important}
.wtn-ac__side a:hover,.wtn-ac__side a:focus-visible{background:#30343a!important;color:#fff!important}
.wtn-ac__side a[aria-current="page"]{background:#cc0000!important;color:#fff!important;border:0!important;padding-left:15px}
.wtn-ac__side a[aria-current="page"]:hover{background:#30343a!important;color:#fff!important}
.wtn-ac__back{text-decoration:none!important}
.wtn-ac__back:hover{color:#30343a!important}
/* High-visibility confirmation messages, accessible white text. */
.wtn-ac .wtn-ac__notice{background:#158747!important;border:1px solid #158747!important;color:#fff!important;font-weight:650;border-radius:10px;padding:13px 18px;box-shadow:none!important}
.wtn-ac .wtn-ac__notice a{color:#fff!important;text-decoration:underline!important}
.wtn-ac .wtn-ac__notice--error{background:#c9252e!important;border-color:#c9252e!important;color:#fff!important}
/* Strong contrasting status colors across subscriptions and tickets. */
.wtn-ac .wtn-ac__pill{font-size:11px;font-weight:800;padding:6px 12px;border-radius:50px}
.wtn-ac .wtn-ac__pill--aperto{background:#176dc4!important;border-color:#176dc4!important;color:#fff!important}
.wtn-ac .wtn-ac__pill--in_lavorazione{background:#c46900!important;border-color:#c46900!important;color:#fff!important}
.wtn-ac .wtn-ac__pill--in_attesa,.wtn-ac .wtn-ac__pill--pending{background:#a724a9!important;border-color:#a724a9!important;color:#fff!important}
.wtn-ac .wtn-ac__pill--risolto,.wtn-ac .wtn-ac__pill--active,.wtn-ac .wtn-ac__pill--trialing{background:#168748!important;border-color:#168748!important;color:#fff!important}
.wtn-ac .wtn-ac__pill--chiuso,.wtn-ac .wtn-ac__pill--expired,.wtn-ac .wtn-ac__pill--inactive,.wtn-ac .wtn-ac__pill--canceled,.wtn-ac .wtn-ac__pill--cancelled{background:#ce2028!important;border-color:#ce2028!important;color:#fff!important}
@media(max-width:690px){.wtn-ac{margin:8px auto 14px!important}.wtn-ac__top{padding-bottom:12px;margin-bottom:14px}.wtn-ac__side a[aria-current="page"]{border:0!important;padding:10px 13px!important}.wtn-ac__tabs a{border-radius:6px 6px 0 0!important}}

/* 1.1.1: Shapely page template: tighten spacing around customer portal pages.
   Constrained to the four Area Clienti pages via wtn_ac_body_class(). */
body.wtn-ac-page .page-title-section,
body.wtn-ac-page .entry-header,
body.wtn-ac-page h1.entry-title,
body.wtn-ac-page .entry-footer,
body.wtn-ac-page article.page > footer {display:none!important}
body.wtn-ac-page #content > section.content-area,
body.wtn-ac-page section.content-area,
body.wtn-ac-page section.content-area.pt0,
body.wtn-ac-page .content-area,
body.wtn-ac-page .main-container {
  min-height:0!important;
  height:auto!important;
  padding-top:8px!important;
  padding-bottom:8px!important;
  margin-top:0!important;
  margin-bottom:0!important;
}
body.wtn-ac-page .container.mt20,
body.wtn-ac-page #main,
body.wtn-ac-page #primary,
body.wtn-ac-page article.page,
body.wtn-ac-page .post-content,
body.wtn-ac-page .entry-content {
  min-height:0!important;
  height:auto!important;
  padding-top:0!important;
  padding-bottom:0!important;
  margin-top:0!important;
  margin-bottom:0!important;
}
body.wtn-ac-page #main > .row,
body.wtn-ac-page #main > .container {min-height:0!important;padding-bottom:0!important;margin-bottom:0!important}
body.wtn-ac-page .wtn-ac {margin:0 auto 8px!important;min-height:0!important}
body.wtn-ac-page .wtn-ac__main > :last-child {margin-bottom:0!important}
body.wtn-ac-page .site-footer {margin-top:0!important}
@media(max-width:690px){body.wtn-ac-page .wtn-ac {margin:0 auto 5px!important}}

/* v1.1.2: Dedicated compact full-width layout on Area Clienti pages only.
   No extra .row, article, Gutenberg spacers or duplicate title from the page template.
   The normal theme header and footer remain in place. */
body.wtn-ac-page .header-callout,
body.wtn-ac-page .footer-callout { display:none!important; }
body.wtn-ac-page #page,
body.wtn-ac-page #content,
body.wtn-ac-page #content > section.content-area,
body.wtn-ac-page #main {
    height:auto!important;
    min-height:0!important;
}
body.wtn-ac-page #content {
    padding:0!important;
    margin:0!important;
}
body.wtn-ac-page #content > section.content-area {
    padding:0!important;
    margin:0!important;
}
body.wtn-ac-page #content > section.content-area > #main {
    max-width:100%!important;
    width:100%!important;
    margin:0 auto!important;
    padding:0!important;
}
body.wtn-ac-page .wtn-ac-page-layout {
    width:100%;
    max-width:1242px;
    padding:0 16px;
    margin:0 auto;
    min-height:0!important;
    height:auto!important;
}
body.wtn-ac-page .wtn-ac-page-layout .wtn-ac {
    margin:12px auto 18px!important;
    padding:0!important;
    min-height:0!important;
}
body.wtn-ac-page .wtn-ac-page-layout .wtn-ac__shell {margin-bottom:0!important;}
body.wtn-ac-page .wtn-ac-page-layout .wtn-ac__main > *:last-child,
body.wtn-ac-page .wtn-ac-page-layout .wtn-ac__main > *:last-child > *:last-child {
    margin-bottom:0!important;
}
@media(max-width:690px) {
    body.wtn-ac-page .wtn-ac-page-layout {padding:0 12px;}
    body.wtn-ac-page .wtn-ac-page-layout .wtn-ac {margin:9px auto 12px!important;}
}

/* v1.2.1 – Riabbonamento su profilo esistente, senza nuovi account */
.wtn-ac__renewal {border:1px solid #f2c0c0;background:#fff8f8;border-left:4px solid #cc0000;border-radius:10px;padding:19px 21px;margin:0 0 19px;color:#242424}
.wtn-ac__renewal h3{font-size:17px!important;margin:0 0 8px!important;color:#aa0000}
.wtn-ac__renewal p{font-size:13px;line-height:1.65;margin:0 0 14px}
.wtn-ac-renewal-banner{background:#fff8f8;border:1px solid #eccaca;border-left:4px solid #cc0000;border-radius:9px;padding:14px 17px;font-size:13px;line-height:1.55;margin:0 0 21px;color:#282828}
.wtn-ac-renewal-banner a{color:#cc0000;text-decoration:underline;font-weight:700}
