/*
Theme Name: Penny Black Agency
Author: Penny Black
Author URL: https://pennyblackagency.it/

Version: 1.0.0
Text Domain: pennyblackagency
*/

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.clearer {
  clear: both;
}

img {
  border: none;
  height: auto;
  max-width: 100%;
}

*:focus {
  outline: none;
}

body {
  background-color: #f2f2f2;
  font-family: "Inclusive Sans", sans-serif;
  transition: background-color 500ms linear;
}

header,
nav,
article,
aside,
section,
footer,
main,
figure,
figcaption {
  display: block;
}

.clearfix::before,
.clearfix::after {
  content: "\0020";
  display: block;
  height: 0;
  overflow: hidden;
}

.clearfix::after {
  clear: both;
}

.content {
  width: 1160px;
  margin: 0 auto;
}

.row {
  width: 100%;
  clear: both;
  display: block;
}

.col-1 {
  float: left;
  width: 8.33333%;
}

.col-2 {
  float: left;
  width: 16.66666%;
}

.col-3 {
  float: left;
  width: 25%;
}

.col-4 {
  float: left;
  width: 33.33333%;
}

.col-6 {
  float: left;
  width: 50%;
}

.col-8 {
  float: left;
  width: 66.66666%;
}

.col-10 {
  float: left;
  width: 83.33333%;
}

.divider {
  padding: 20px 0;
}

.spacer {
  padding: 70px 0;
}

.responsive,
.responsive img {
  width: 100%;
  height: auto;
}

.center {
  text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
a.iubenda-embed,
a.iubenda-nostyle,
a.accessibilita {
  color: #E55C7A !important;
}
/**Global Style**/
/**Typography **/
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", sans-serif;
}

h1,
h3,
h4,
h5,
h6 {
  color: #252525
}
h1{
  font-size: 45px;
  font-weight:900;
}
h2 {
  font-size: 35px;
  color: #C92055 !important;
  font-weight: 800 !important;
}
h3{
  font-size: 25px;
  font-weight: 700;
}
p {
  font-size: 15px !important;
}

/* Header */
.penny_hd {
  background-color: #222;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.penny_hd-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.penny_logo img {
  height: 80px;
}

/* ===================
   MENU NAV
=================== */
.penny_menu {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 10001;
  flex-wrap: wrap;
}

.menu_pba {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.menu_pba li {
  position: relative;
}

.menu_pba li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  padding: 10px 15px;
  display: inline-block;
}

.menu_pba li a:hover,
.menu_pba li:hover>a {
  color: #C92055;
}

.penny-arrow {
  margin-left: 6px;
  font-size: 12px;
  color: #fff;
}

.menu_pba li:hover .penny-arrow {
  color: #C92055;
}


/* Dropdown */
.sub-penny {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #f2f2f2;
  padding: 10px 0;
  min-width: 180px;
  z-index: 1000;
}

.menu-item:hover .sub-penny {
  display: block;
}

.sub-penny li {
  margin: 0;
  padding: 0;
  list-style: none;

}

.sub-penny li .menu-link {
  color: #222;
  font-size: 14px;
  display: block;
  padding: 10px 25px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.sub-penny li:last-child a {
  border-bottom: none;
}

.sub-penny li a:hover {
  color: #C92055;
}

/* ===================
   SEARCH POPUP
=================== */
.search-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-icon {
  font-size: 18px;
  color: #f2f2f2;
  cursor: pointer;
  transition: color 0.3s ease;
}

.search-icon:hover {
  color: #C92055;
}

.search-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.search-popup.active {
  display: flex;
}

.search-popup-content {
  background: #fff;
  padding: 40px;
  border-radius: 4px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  position: relative;
}

.search-popup h2 {
  margin-bottom: 30px;
  font-weight: 900;
  color: #222;
}

.search-form {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ccc;
  overflow: hidden;
  border-radius: 3px;
}

.search-form input {
  padding: 12px;
  width: 100%;
  border: none;
  font-family: "Inclusive Sans", sans-serif;
  font-size: 14px;
}

.search-form .search-submit i {
  background: #222;
  color: #fff;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
}

.search-popup-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 50px;
  cursor: pointer;
  color: #fff;
}

.btn-calendly {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #C92055;
  border: none;
  color: #f2f2f2;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  font-size: 14px;
  height: 46px;
  padding: 15px 10px;
}

.btn-calendly i {
  font-size: 16px;
}

.btn-calendly:hover {
  background-color: #f2f2f2;
  color: #C92055;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
}

.popup-overlay.active {
  display: flex;
}

.popup-box {
  background: #f2f2f2;
  padding: 40px;
  border-radius: 4px;
  width: 90%;
  max-width: 1000px;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 50px;
  color: #fff;
  cursor: pointer;
}

.popup-box h2 {
  color: #222;
  margin-bottom: 10px;
}

.sub-text {
  color: #C92055;
  font-weight: bold;
  margin-bottom: 30px;
}



.btn-invia {
  background: #C92055;
  color: #fff;
  font-size: 15px;
  height: 46px;
  padding: 15px 20px;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.social_menu,
.bgmenu_pba,
.pba-close {
  display: none;
}

/** Hero section **/
.lazy-background {
  background-image: url(https://www.pennyblackagency.it/wp-content/uploads/penny_black_header_image-1.webp);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
  width: 100%;
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.penny_hero-pg {
  background-image: url(https://www.pennyblackagency.it/wp-content/uploads/penny_black_header_image-1.webp);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
  width: 100%;
  position: relative;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero-content {
  width: 750px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f2f2f2;
  padding: 30px 0 35px;
  text-align: center;
}

.title_pba {
  font-size: 50px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 20px 0;
}

.penny_hero span {
  margin-bottom: 15px;
  font-size: 17px;
  width: 600px;
}


.btn_pba {
  background-color: #C92055;
  color: #f2f2f2;
  border: none;
  text-decoration: none;
  border-radius: 10px;
  text-align: center;
  display: inline-block;
  margin-top: 20px;
font-size: 14px;
height: 52px;
padding: 18px 20px;
width: 100%;
max-width: 212px;
  transition: background-color 0.3s, transform 0.2s;
  cursor: pointer;
}

.btn_pba i {
  margin-right: 5px;
}

.btn_pba:hover {
  color: #C92055;
  background-color: transparent;
  border: 1px solid #C92055;
  transform: scale(1.05);
}

.btn_pba a {
  text-decoration: none;
  color: #f2f2f2;
}

/** Cosa siamo **/
.siamo_pba {
  padding: 50px 20px;
  margin: 20px 0;

}

.siamo_container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.siamo_desc {
  flex: 1 1 50%;
  padding: 20px;
  box-sizing: border-box;
}

.siamo_desc h2 {
  margin-bottom: 20px;
  color: #C92055;
}

.siamo_desc p {
  font-size: 17px;
  margin-bottom: 20px;
}
.siamo_desc .btn_pba{
  max-width: 160px !important;
  text-align:left;
}
.siamo_img {
  flex: 1 1 45%;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.siamo_img img {
  max-width: 550px;
  height: auto;
}

/**Offriamo **/
.offriamo_pba {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 30px;
}



.offriamo_title h2 {
  margin: 20px 15px;
  color: #C92055;
  text-align:center;
}

.offerta_content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 20px;
  width: 100%;
  max-width: 1450px;
  padding: 0 10%;
  margin: 20px 0;
}

.servizi {
  max-width: 400px;
  width: 100%;
  height: 365px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.servizi_img img {
  width: 120px;
  display: block;
  margin: 0 auto 20px;
}

.servizi_title h3 {
  text-align: center;
  margin: 5px 0;
  color: #252525;
}

.servizi_desc p {
  font-size: 17px;
  text-align: center;
}

.portfolio-section_pba {
  display: flex;
  background-color: #1e1e1e;
  color: #ffffff;
  padding: 60px 40px;
  max-width: 1000px;
  margin: 20px auto;
  border-radius: 10px;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.portfolio-content-pba {
  flex: 1 1 400px;
  max-width: 600px;
}

.portfolio-content-pba h3 {
  margin-bottom: 20px;
  color:#f2f2f2;
}

.portfolio-content-pba p {
  line-height: 1.5;
  margin-bottom: 30px;
  color: #fff;
}

.btn-portfolio {
  background-color: #C92055;
  color: #fff;
  font-size: 15px;
  height: 46px;
  padding: 15px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease;
}

.btn-portfolio:hover {
  background-color: #f2f2f2;
  color: #C92055;
  border: 1px solid #C92055;

}

.portfolio-image {
  flex: 1 1 400px;
  text-align: center;
}

.portfolio-image img {
  max-width: 100%;
  border-radius: 10px;
}

/** Preview blog **/
.blog-preview {
  padding: 60px 20px;
}

.section-title {
  color: #C92055;
  margin-bottom: 40px;
  text-align:center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  justify-items: center;
  margin-bottom: 40px;
}

.blog-card {
  max-width: 250px;
  text-align: left;
}

.blog-card img {
  width: 100%;
}

.read-more {
  color: #C92055;
  font-weight: 500;
  text-decoration: underline;
  display: inline-block;
  margin-top: 10px;
}

.cta-container {
  margin-top: 20px;
  text-align: center;
}

.blog-card .fa-comment-dots {
  float: right;
  margin-top: 10px;
  font-size: 20px;
}

.cta-button {
  background-color: #C92055;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/** Patner **/
.pba_patner {
  text-align: center;
  margin: 0 auto;
  width: 80%;
  padding-bottom: 25px;
}

.pba_patner h2 {
  margin: 25px 0;
  color: #252525;
}

.patner_container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pba_ptn {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.ptn_card {
  display: block !important;
  box-sizing: border-box !important;
  text-align: center !important;
  padding: 0 15px !important;
  margin-top: 10px !important;
}

.ptn_card img {
  width: 250px;
  height: 150px;
  object-fit: cover;
}

.ptn_card a {
  text-decoration: none;
}

.ptn_card span {
  font-size: 23px;
  font-weight: bold;
  color: #C92055;
  display: block !important;
  margin: 15px 0;
  text-decoration: none;
  font-family: "Inclusive Sans", sans-serif;


}

.fa-chevron-left,
.fa-chevron-right {
  cursor: pointer;
  font-size: 40px;
  color: #000;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  user-select: none;
}

.fa-chevron-left {
  left: 10px;
}

.fa-chevron-right {
  right: 10px;
}


.pba_footer {
  width: 100%;
  background-color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  margin-top: 20px;
}

.pba_footer p {
  font-size: 17px;
  color: #f2f2f2;
}

.pba_footer p a {
  display: inline-block;
  text-decoration: none;
  color: #C92055;
  font-size: 17px;
}

/** Css aggiuntivo **/
.pba-content {
  width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;

}

.pba-content h2 {
  margin: 10px 0;
}

.pba-content p {
  line-height: 1.65;
  margin-bottom: 5px;
}
.pba-content p:last-of-type{
  margin-bottom: 20px !important;
}
.pba-content figure:not(.pba_1) img {
  display: flex;
  align-content: space-around;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin: 50% 0 0;
}

#metaslider-id-133 {
  max-width: 100%;
  width: 1000px !important;
  margin: 0 auto;
}

.metaslider .slides img {
  width: 100%;
  display: block;
  max-height: 250px !important;
  object-fit: cover;
}
.netson_aff,
.netsons_aff_blg {
    width: 100%;
    margin: 20px auto;
    max-width: 1200px;
    text-align: center;
}

.cta_pba {
width: 1000px;
    max-width: 100%;
    margin: 0 auto 50px;
    padding: 60px 95px 60px 0;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #222;

}
.wp-block-media-text__content, .penny_cta-text {
margin: 0px -55px;
}

.penny_cta-content {
    width: 1000px;
    max-width: 100%;
    height: 100%;
    margin: 0 auto 50px;
    padding: 80px 40px;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #252525;

}

.wp-block-media-text__content,
.penny_cta-text {
 width: 100%;
    max-width: 480px;
    float: left;
    margin: 0 30px;
}

.cta_pba h3,
.penny_cta-content h3 {
  margin-bottom: 15px;
  padding-top: 30px;
  color: #f2f2f2;
}

.cta_pba p {
  line-height: 1.45;
  margin-bottom: 15px;
  color: #f2f2f2;
}
.penny_cta-content p {
  font-size:14px;
  margin-bottom: 15px;
  color: #f2f2f2;
}
.cta_pba img{
  width: 100%;
  height: 100%;
  max-width: 500px;
  max-height: 650px;
  object-fit: cover;
}
.penny_cta-content img {
  width: 100%;
  height: 100%;
  max-width: 500px;
  max-height: 850px;
}
.penny_blg-intro {
  width: 1200px;
  padding: 80px 35px 50px !important;
  margin: 0 auto;
}

.penny_blg-intro h2 {
  text-align: center;
  margin-bottom: 15px;
  color: #C92055;
}

.penny_blg-intro p {
  margin-bottom: 15px;
}

.penny_hero-article {
  background-image: url(https://www.pennyblackagency.it/wp-content/uploads/background-header-pagina-articolo.webp);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
  width: 100%;
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.hero-content-article {
  width: 750px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f2f2f2;
  padding: 30px 10px 35px;
  text-align: left;
}

.hero-content-article h1 {
  color: #252525;
  margin-bottom: 10px;
}

.penny_meta a {
  text-decoration: none;
  color: #252525;
}

.penny_single-content {
  padding: 80px 50px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.penny_single-content h2 {
  margin: 20px 0;
  color: #C92055;
}

.penny_single-content h3 {
  margin: 20px 0;
  color: #252525;
}

.penny_single-content ul {
  margin: 5px;
}

.penny_single-content ul li {
  font-weight: 600;
  line-height: 1.2;
  margin: 5px;
  font-size: 15px;
}

.penny_single-content ol li {
  line-height: 1.5;
  margin: 5px 0;
  font-size: 15px;
}


.penny_single-footer {
  padding: 30px 50px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
}

.penny_single-condividi {
  color: #252525;
  font-weight: 600;
  font-size: 20px;
  float: left;
}
.penny_single-social a{
  text-decoration: none;
}
.penny_single-social i {
  font-size: 20px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  color: #f2f2f2;
  background-color: #252525;
  border: 1px solid #252525;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  margin-left: 10px;
  cursor: pointer;
}

.penny_single-social i:hover {
  background-color: #C92055;
  border: 1px solid #C92055;
}

.intro {
  margin: 20px 0;
}

.pba_portfolio-archive {
  padding: 60px 50px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.pba_portfolio-archive h2 {
  color: #C92055;
  margin-bottom: 30px;
  text-align: center ;
}

.pba_portfolio-archive p {
  margin-bottom: 60px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  justify-items: center;

}

.portfolio-card {
  text-align: left !important;
  margin: 25px;
  max-width: 500px;
  width: 100%;
  height: 100%;
  max-height: 600px;
}

.portfolio-card img {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin-bottom: 10px;
  object-fit: cover;
}

.portfolio-card h3 {
  margin-bottom: 10px;
  color: #252525;
}

.portfolio-card p {
  line-height: 1.1em;
  margin-bottom: 10px;
}

.portfolio-card__cta {
  color: #C92055;
  font-size: 15px;

}

.penny_blg-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.penny_blg-container h3 {
  text-align: center;
  margin: 0 0 24px;
  color: #C92055;
}

.penny_blg-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.penny_blg-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #252525;
  cursor: pointer;
  flex: 0 0 auto;
  transition: transform .15s ease, opacity .15s ease;
}

.penny_blg-btn:hover {
  transform: scale(1.06);
}

.penny_blg-btn:active {
  transform: scale(0.98);
}

.penny_blg-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (24px * 3)) / 4);
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.penny_blg-track {
  scrollbar-width: none;
}

.penny_blg-track::-webkit-scrollbar {
  display: none;
}

.penny_blg-card {
  scroll-snap-align: start;
  background: transparent;
}

.penny_blg-card a:first-child {
  display: block;
}

.penny_blg-card img,
.penny_blg-card .wp-post-image {
  width: 100%;
  height: 100%;
  max-height: 200px;
  object-fit: cover;
  display: block;
}

.penny_blg-card p {
  margin: 14px 0 10px;
  font-size: 13px;
  line-height: 1.4;
  color: #222;
}

.penny_blg-card a:last-child {
  font-size: 13px;
  color: #C92055;
}

.penny_blg-card a:last-child:hover {
  color: #252525;
}

.contact {
  width: 850px;
  padding: 45px;
}

.contact h2 {
  margin-bottom: 10px;
  text-align: center;
}

.contact p {
  line-height: 1.2;
  margin: 20px auto;

}

.pba_contact-links {
  width: 100%;
  padding: 0 20px 30px 20px;
}

.pba_contact-links__grid {
  max-width: 1100px;
  margin: 0 auto 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.pba_contact-card {
  height: 150px;
  border: 2px solid #252525;
  border-radius: 12px;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: inherit;
  transition: transform .15s ease, border-color .15s ease;
}

.pba_contact-card:hover {
  transform: translateY(-2px);
  border-color: #252525;
}

.pba_contact-card:focus-visible {
  outline: 3px solid #C92055;
  outline-offset: 4px;
}

.pba_contact-card__icon {
  width: 38px;
  height: 38px;
  border: 2px solid #252525;
  border-radius: 999px;
  background: #252525;
  display: grid;
  place-items: center;
}

.pba_contact-card__icon i {
  font-size: 18px;
  line-height: 1;
  color: #fff;
}

.pba_contact-card__label {
  font-size: 13px;
  font-weight: 500;
  color: #C92055;
  text-align: center;
  word-break: break-word;
  text-decoration: underline #C92055;
}

.pba_contatti {
  width: 850px;
  margin: 50px auto;

}

.pba_contatti .pba_form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  align-items: start;
}

.pba_contatti .pba_col-12 {
  grid-column: 1 / -1;
}
fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

legend.pba_label {
   display: block;
  font-size: 12px;
  color: #252525;
  margin-bottom: 3px !important;
  line-height: 1.2;
  float: left;
  width: 100%;
}
.ms-custom-button{
  color: #C9143A !important;
}

.pba_contatti br {
  display: none;
}

.pba_contatti .pba_req {
  color: #C92055;
  font-weight: 700;
}

.pba_contatti .pba_input,
.pba_contatti .pba_textarea,
.pba_contatti input[type="text"],
.pba_contatti input[type="email"],
.pba_contatti textarea {
  width: 100%;
  border: 1px solid #bdbdbd;
  border-radius: 2px;
  font-family: "Inclusive Sans", sans-serif;
  background: #fff;
  padding: 10px 12px;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
}

.pba_contatti input[type="text"]:placeholder,
.pba_contatti input[type="email"]:placeholder,
.pba_contatti textarea:placeholder {
  font-family: "Inclusive Sans", sans-serif;

}

.pba_contatti textarea,
.pba_contatti .pba_textarea {
  min-height: 110px;
  resize: none;
}

.pba_contatti input:focus,
.pba_contatti textarea:focus {
  border-color: #252525;
}


.pba_contatti .pba_radio-group .wpcf7-list-item {
  margin: 0;
}

.pba_contatti .pba_radio-group label {
  margin: 0 5px;
  font-size: 12px;
  color: #252525;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.pba_contatti .pba_radio-group input[type="radio"] {
  width: 14px;
  height: 14px;
  margin: 0;
}

.pba_contatti .pba_privacy {
  align-items: center;
  font-size: 12px;
  color: #252525;
}

.pba_contatti .pba_privacy input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
}

.pba_contatti .pba_privacy a {
  color: inherit;
  text-decoration: underline;
}



.pba_contatti .pba_submit,
.pba_contatti input[type="submit"] {
  background: #C92055;
  color: #fff;
  border: 0;
  border-radius: 2px;
  padding: 12px 38px;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
}

.pba_contatti .wpcf7-not-valid-tip {
  font-size: 12px;
  margin-top: 6px;
}

.pba_contatti .wpcf7-response-output {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 2px;
  font-size: 13px;
}

.contact_pba {
  margin: 30px auto;
  width: 100%;
  text-align:center;
}
.metaslider .caption-wrap{
  position:  relative !important;
  background: none !important;
  opacity: none !important;
}
.metaslider .caption{
  padding: 5px 0 !important;
    font-size: 15px !important;
color: #C92055 !important;

}
/**Desktop,Ipad Pro**/
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  .content {
    margin: 0 2%;
    width: 96%;
  }
}

/**Display 12",iPad PRO Portrait,iPad
landscape**/
@media only screen and (max-width: 1024px) {
  .content {
    margin: 0 2%;
    width: 96%;
  }

  .menu_pba {
    width: 100%;
  }

  .promessa_container {
    flex-direction: column;
  }

  .ptn_card {
    flex: 0 0 50%;
  }

  .penny_blg-track {
    grid-auto-columns: calc((100% - (20px * 2)) / 3);
    gap: 20px;
  }
}

/**Display 5.5", iPad Portrait,iPhone 6,
6s,7,8,X,XS,Il portrait and
landscape,iPhone 5s landscape **/

@media only screen and (max-width: 768px) {

  .col-1,
  .col-2,
  .col-3,
  .col-4,
  .col-6,
  .col-10 {
    float: none;
    width: 100%;
  }
/**Tipografia**/
h1{
  font-size: 30px;
}
h2{
  font-size: 25px !important;
  text-align: center !important;
}
h3{
  font-size: 20px;
  text-align: center !important;
}
  .penny_hd-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .penny_logo img {
    height: 80px;
  }

  .penny_menu {
    display: none;
    flex-direction: column;
    width: 100vw;
    background-color: #f2f2f2;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 20px 0;
    box-sizing: border-box;
  }

  .penny_menu.active {
    display: flex;
  }

  .menu_pba {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    align-items: center;
    width: 100%;
  }

  .menu_pba li {
    width: 100%;
    text-align: center;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
  }

  .menu_pba li a {
    color: #222;
    font-size: 16px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    width: 100%;
  }

  .menu_pba li a.menu-link {
    gap: 6px;
  }

  .penny-arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
    color: #252525;
  }

  .menu_pba li.open .penny-arrow {
    transform: rotate(180deg);
  }

  .sub-penny {
    position: static;
    background: #f2f2f2;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    width: 100%;
    padding: 0;
  }

  .menu_pba li.open .sub-penny {
    max-height: 500px;
    padding: 10px 0;
  }

  .sub-penny li {
    text-align: center;
    list-style: none;

  }

  .sub-penny li a {
    display: block;
    padding: 12px 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #222;
  }

  .sub-penny li a:hover {
    color: #C92055;
  }

  .bgmenu_pba {
    display: block;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
  }

  .pba-close {
    display: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
  }

  .bgmenu_pba.active {
    display: none;
  }

  .pba-close.active {
    display: block;
  }

  .btn-calendly {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #C92055;
    color: #fff;
    font-size: 14px;
    height: 46px;
    padding: 15px 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    margin: 20px auto 0;
  }

  .btn-calendly:hover {
    background-color: #f2f2f2;
    color: #C92055;
  }

  .search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
  }

  .search-icon {
    font-size: 18px;
    color: #222;
    cursor: pointer;
    transition: color 0.3s ease;
  }

  .search-icon:hover {
    color: #C92055;
  }

  .social_menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
  }

  .icon_circle {
    background-color: #252525;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .icon_circle a {
    text-decoration: none;
    font-size: 18px;
    color: #fff;
  }

  .popup-box {
    padding: 30px 20px;
    width: 95%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
  }



  .sub-text {
    font-size: 14px;
    text-align: left;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .form-row input {
    width: 100%;
  }

  .form-group label {
    display: block;
    margin: 8px 0;
    font-size: 14px;
  }

  textarea {
    width: 100%;
    height: 80px;
    font-size: 14px;
    padding: 12px;
    font-family: "Inclusive Sans", sans-serif;
  }

  .privacy-label {
    font-size: 13px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .btn-invia {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    background: #C92055;
    color: #fff;
    border: none;
    cursor: pointer;
  }

  .popup-close {
    top: 10px;
    right: 15px;
    font-size: 28px;
    position: absolute;
    color: #fff;
    cursor: pointer;
  }

  .penny_hero {
    width: 100%;
    padding: 30px;
  }

  .hero-content {
    width: 100%;
    padding: 20px;
  }

  .title_pba {
    font-size: 30px;
  }

  .penny_hero span {
    font-size: 16px;
    width: 100%;
    max-width: 500px;
    padding: 0 8px;

  }

  .siamo_pba {
    padding: 20px;
    box-sizing: border-box;
  }

  .siamo_container {
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
.penny_pg-about .wp-block-spacer{
  height: none !important;
}
  .offriamo_pba {
    width: 100%;
    padding: 30px 20px;
  }

  .offriamo_title {
    text-align: center;
  }


  .offerta_content {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }

  .servizi {
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
    text-align:left !important;

  }

  .servizi_title h3 {
    margin-bottom: 20px;
  }

  .servizi_desc p {
    font-size: 16px;
    text-align:left !important;
  }

  .portfolio-section_pba {
  max-width: 500px !important;
  width: 100% !important;
  flex-direction: column;
  padding: 40px 20px 0;
  align-items: center;
  justify-content: center;
  height: auto !important;
  }

  .portfolio-content-pba,
  .portfolio-image {
    max-width: 100%;
    text-align: left;
    margin: 20px 0;
    flex: none;
    
  }

  .banner_section {
    width: 100%;
    height: 100%;
    max-height: 600px;
    padding: 10px 0;
  }



  .banner_text p {
    font-size: 13px;
  }

  .banner_container {
    flex-direction: column;
    text-align: center;
  }

  .banner-img img {
    width: 100%;
    max-height: 175px;
    margin: 10px 0;
  }
.penny_cta-content{
  display: flex;
  flex-direction: column;
}
  .blog-latest {
    padding: 0;
    width: 100%;
  }

  .blog-title {
    font-size: 22px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-card {
    padding: 16px;
  }

  .blog-card p {
    font-size: 14px;
  }

  .read-more {
    font-size: 14px;
  }

  .comment-icon {
    bottom: 16px;
    right: 16px;
    font-size: 16px;
  }



  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 10px;
  }



  .ptn_card {
    flex: 0 0 100%;
  }



  .penny_blg-track {
    grid-auto-columns: 100%;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }

  .contact_section {
    width: 100%;
  }




  .contact_icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
  }

  .contact_icon {
    flex-direction: column;
  }



  .icon_circle {
    background-color: #222;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
  }

  .icon_circle i {
    color: #fff;
    font-size: 25px;
  }


  .contact_icon a {
    font-size: 16px;

  }

  .contact_form_section h3 {
    width: 100%;
  }

  .contact_form {
    width: 100%;
    padding: 0 15px;
  }

  .form_group {
    width: 100%;
    text-align: left;
  }

  .contact_form label {
    font-size: 16px;
  }

  .contact_form input[type="text"],
  .contact_form input[type="email"],
  .contact_form textarea {
    width: 100%;

  }



  .checkbox_group input[type="checkbox"] {
    margin-right: 10px;
  }

  .contact_form button {
    font-size: 16px;
  }


  .pba_footer {
    width: 100%;
    background-color: #222;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
  }

  .pba_footer p {
    font-size: 16px;
    color: #f2f2f2;
  }

  .pba_footer p a {
    font-size: 16px;

  }

  /** Pagine page.php**/
  .pba-content {
    width: 100% !important;
    margin: 0 auto !important;
    line-height: 1.5;
  }

  .pba-content figure:not(.pba_1) img {
    margin: 10px 0 !important;
  }

  .penny_pg-container {
    display: flex;
    flex-direction: column;
  }

  .penny_pg-text {
    flex: 1;
  }

  .penny_pg-text h2 {
    color: #C92055;
    margin-bottom: 30px;
  }



  .penny_pg-text p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 5px;
    color: #222;
  }

  .penny_pg-image {
    flex: 1;
  }

  .penny_pg-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /** Pagina archvio **/
  .penny_blg-intro {
    width: 100% !important;
  }

  .penny_blg-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
  }


  .penny_blg-btn i {
    font-size: 15px;
    padding: 5px;
  }

  .penny_blg-track {
    gap: 10px;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .penny_blg-card {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 16px;
  }


  .penny_blg-card img {
    height: auto;
  }

  /** Pagina single **/
  .penny_hero-article {
    padding: 48px 16px;
  }

  .hero-content-article {
    margin-left: 0;
    margin-right: 0;
    padding: 24px;
  }

  .title_pba {
    font-size: 24px;
  }

  .penny_single-content {
    padding: 48px 16px;
    font-size: 15px;
  }

  .penny_single-content h2 {
    margin: 32px 0 12px;
  }

  .penny_single-content h3 {
    margin: 24px 0 10px;
  }

  .penny_single-img-right {
    float: none;
    width: 100%;
    margin: 32px 0;
  }

  .penny_single-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 32px 16px;
  }

  .penny_share-icons,
  .penny_single-social {
    gap: 10px;
  }

  .penny_cta {
    padding: 32px 16px;
    margin: 48px auto;
  }

  .penny_cta-content {
    flex-direction: column;
    gap: 24px;
  }



  .penny_cta-text p {
    font-size: 14px;
  }

  .penny_cta-image {
    max-width: 100%;
  }

  .penny_cta-button {
    font-size: 13px;
    padding: 10px 16px;
  }

  .pba_contact-links__grid {
    grid-template-columns: 1fr;
  }

  .pba_contact-card {
    margin: 0 auto;
    height: 150px;
    width: 200px;
  }

  .pba_contatti {
    width: 100%;
  }

  .pba_contatti .pba_form-grid {
    grid-template-columns: 1fr;
  }




.penny_cta-content {
  width: 600px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #252525;

}

.wp-block-media-text__content,
.penny_cta-text {
  width: 100%;
  float: left;
}

.cta_pba h3,
.penny_cta-content h3 {
  margin-bottom: 15px;
  padding-top: 30px;
  color: #f2f2f2;
}

.cta_pba p,
.penny_cta-content p {
  line-height: 1.45;
  margin-bottom: 15px;
  color: #f2f2f2;
}

.cta_pba img,
.penny_cta-content img {
  width: 100%;
  height: 100%;
  max-width: 500px;
  max-height: 450px;
  object-fit: cover;
  margin-top:20px;
  padding: 0 25px;
}
  .cta_pba {
width: 100%;
    display: flex;
    flex-direction: column;
padding:40px 0; 
}
  .siamo_desc,
  .siamo_img {
    flex: 1 1 100%;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
  }

  .siamo_desc h2 {
    margin-bottom: 20px;
    
  }

  .siamo_desc p {
    font-size: 16px;
    text-align: left;
    margin: 0 10px;
    word-wrap: break-word;
  }

  .siamo_img img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-sizing: border-box;
    margin: 0 auto;

  }
.siamo_desc .btn_pba{
  display: block;
  margin-left: 10px;
}
.portfolio-card{
  height:auto;
  max-height:none;
}
}

/**Display 4",iPhone 5s portrait**/
@media only screen and (max-width: 320px) {
  .penny_blg-wrapper {
    gap: 6px;
  }

  .penny_blg-btn {
    width: 38px;
    height: 38px;
  }

}