.site-branding, .site-branding-text, .site-title, .site-description { text-align: center !important; justify-content: center !important; }
.archive-layout-list article:nth-of-type(n+10) { display: none !important; }
.site-title, .site-title a { font-size: 28px !important; }
.main-header .af-container-row.af-flex-container { padding-top: 15px !important; padding-bottom: 15px !important; }
.aft-main-banner-wrapper, .aft-add-gaps-between { padding-top: 0 !important; margin-top: 0 !important; }
.aft-banner-box-wrapper { padding-top: 0 !important; }

.top-header { display: flex !important; align-items: center !important; padding-top: 2px !important; padding-bottom: 2px !important; }
.top-header .container-wrapper { width: 100% !important; display: flex !important; align-items: center !important; position: relative !important; height: 42px !important; }

/* Header: aumento di circa 8 mm dello spazio visibile */
.main-header .af-container-row.af-flex-container { padding-bottom: calc(15px + 22mm) !important; }
.top-header .date-bar-left { top: 0 !important; position: relative !important; }
.top-header .top-bar-left, .top-header .date-bar-left { white-space: nowrap !important; }
.top-header .container-wrapper > span { top: 50% !important; transform: translateY(-50%) !important; line-height: 1 !important; z-index: 5 !important; color: #fff !important; }
@media (max-width: 500px) { .top-header .date-bar-left { top: 36px !important; } }

@media (max-width: 767px) {
  .aft-banner-box-wrapper { display: flex !important; flex-direction: column !important; }
  .aft-carousel-part { order: 1 !important; }
  .af-editors-pick { order: 2 !important; }
  .af-trending-news-part { order: 3 !important; }
}

@media (min-width: 768px) { .aft-banner-box-wrapper { margin-top: 26px !important; } }

/* Mantiene la stessa inquadratura su entrambe le immagini casuali */
.main-header.data-bg { background-position: center 25% !important; }

/* Titolo e motto centrati sulla testata */
.main-header .af-container-row.af-flex-container { min-height: 171px !important; }
.main-header .logo-brand { position: absolute !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; width: 100% !important; z-index: 5 !important; }
@media (max-width: 767px) {
  .main-header .af-container-row.af-flex-container { min-height: 145px !important; }
  .site-title, .site-title a { font-size: 20px !important; }
  .site-description { font-size: 14px !important; }
}/* Testata intera: immagini 1900 × 600 */
.main-header {
  height: 31.58vw !important;
  min-height: 120px !important;
}

.main-header .container-wrapper {
  height: 100% !important;
  min-height: 0 !important;
}

.main-header .af-container-row.af-flex-container {
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: center !important;
}

.main-header .col-1.float-l.pad,
.main-header .logo-brand {
  height: 100% !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.main-header .site-branding {
  width: 100% !important;
  margin: auto !important;
}

.main-header.data-bg {
  background-size: cover !important;
  background-position: center center !important;
}

/* Su iPhone, COMUNICATION va a capo */
@media (max-width: 767px) {
  .main-header .site-title {
    width: 80vw !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    line-height: 1.08 !important;
  }

  .main-header .site-title a {
    display: inline-block !important;
    max-width: 100% !important;
    white-space: normal !important;
    font-size: clamp(22px, 6.5vw, 28px) !important;
    line-height: 1.08 !important;
  }
}.main-header { height: auto !important; min-height: 0 !important; }
.main-header .af-container-row.af-flex-container { min-height: 0 !important; padding-top: 130px !important; padding-bottom: 15px !important; }

/* Palette ASC ripristinata */
body.aft-light-mode { background-color: #efefef !important; color: #444 !important; }
body.aft-light-mode #masthead { background-color: #1b1b1b !important; }
body.aft-light-mode #masthead .main-header { background-color: #333333 !important; }
body.aft-light-mode #masthead .site-title,
body.aft-light-mode #masthead .site-title a { color: #ffffff !important; }
body.aft-light-mode #masthead .site-description,
body.aft-default-mode #masthead .site-description { color: #ff5a00 !important; }
body.aft-light-mode .site-footer {
  background-color: #111111 !important;
  color: #ffffff !important;
}
body.aft-light-mode .site-footer .primary-footer,
body.aft-light-mode .site-footer .site-info { background-color: #111111 !important; }
body.aft-light-mode .site-footer .primary-footer,
body.aft-light-mode .site-footer .site-info,
body.aft-light-mode .site-footer .widget-title,
body.aft-light-mode .site-footer p,
body.aft-light-mode .site-footer li,
body.aft-light-mode .site-footer a { color: #ffffff !important; }
body.aft-light-mode .aft-main-banner-section {
  background-color: #efefef !important;
}

body.aft-light-mode #secondary.sidebar-area {
  background-color: #f3f3f3 !important;
}