/* ============================================
CSS PER IL SINGLE-POST NUOVO - 
   ============================================ */

/**
 * Single Post Styles
 * Stili per tutti i componenti single-post
 */

/* ============================================
   HERO SECTION
   ============================================ */

.sp-hero {
  padding: 10px 15px 50px 15px;
  max-width: 1280px;
  margin: 0 auto;
  background: #fff;
      border-bottom: 1px solid #ddd;

}

.sp-hero__container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* Wallpaper Preview */
.sp-hero__preview {
  flex-shrink: 0;
}

.sp-preview-image {
    width: 290px;
    height: 627px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sp-preview-image > picture {
    display: block;
    width: 100%;
    height: 100%;
  }
  .sp-preview-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
  }

/* Info Section */
.sp-hero__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 10px;
}

.sp-info__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sp-badge {
  font-size: 13px;
  font-weight: 700;
}

.sp-badge--free {
  color: #ff2d55;
}

.sp-info__title {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
  color: #1d1d1f;
  margin: 0 !important;
      line-height: 30px !important;
}

/* Author */
.sp-info__author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid #ddd;
    border-radius: 40px;
    padding: 5px 10px;
}

.sp-author {
  display: flex;
  gap: 12px;
  align-items: center;
}

.sp-author__avatar {
  width: 48px;
  height: 48px;
  border-radius: 90px !important;
  object-fit: cover;
}

.sp-author__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sp-author__label {
  font-size: 13px;
      margin-bottom: -5px;
  color: #86868b;
  font-weight: 400;
}

.sp-author__name {
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
}

/* Buttons */
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: none;
  border-radius: 32px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
      text-transform: capitalize;
}

.sp-btn--follow {
  width: 70px;
  height: 40px;
  padding: 0;
  background: #ff2d55;
  color: #fff;
  border-radius: 20px;
  font-size: 20px;
  flex-shrink: 0;
}

.sp-btn--follow:hover {
  background: #e6194a;
  transform: scale(1.05);
}

a.sp-btn.sp-btn--follow:hover {
  color: #ffffff;            /* cambia il colore del link (e quindi anche dell’icona se eredita) */
}

a.sp-btn.sp-btn--follow:hover .icon {
  color: #ffffff;            /* assicura che anche l’icona diventi bianca */
}



  /* Container per i bottoni download */
  .sp-download-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }

  /* Bottone "Scarica dal Web" - Bianco con bordo rosso/rosa */
  .sp-btn--download-web {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: #ffffff;
    color: #e6194a; /* Colore rosso/rosa del testo */
    border: 2px solid #e6194a; /* Bordo rosso/rosa */
    border-radius: 99px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
        height: 28px;
  }

  .sp-btn--download-web:hover {
    background: #e6194a;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(230, 25, 74, 0.3);
    border: unset;
    transition: unset;
    height: 32px;
  }








a.sp-btn.sp-btn--download:hover {
  color: #ffffff;
}

.sp-btn--download {
  width: 100%;
  background: #ff2d55;
  color: #fff;
  flex-direction: column;
  gap: 0px
  padding: 16px 28px;
  min-height: 64px;
  justify-content: center;
  line-height: 0.8;
}

.sp-btn--download:hover {
  background: #e6194a;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 45, 85, 0.35);
}

.sp-btn__subtext {
  font-size: 13px;
	font-weight: 400;
	opacity: 0.92;
  font-style: regular;
  margin-top: 1px;
}

.sp-btn--large {
  padding: 18px 32px;
}

.sp-btn--full {
  width: 100%;
}

.sp-btn--icon {
  width: 32px;
  height: 32px;
  padding: 0;
  background: #f5f5f7;
  color: #86868b;
  border-radius: 50%;
  font-size: 16px;
}

.sp-btn--icon:hover {
  background: #e8e8ed;
  color: #fff;
}

/* Meta Info */
.sp-info__meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: #f5f5f7;
  border-radius: 14px;
}

.sp-meta-item {
  display: flex;
  align-items: center;
    gap: 14px;
    font-size: 14px;

  color: #6e6e73;
  line-height: 1.4;
}

.sp-meta-item svg {
  flex-shrink: 0;
}

.sp-meta-item strong {
  color: #1d1d1f;
  font-weight: 600;
}

/* Attribution */
.sp-info__attribution {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: #fff;
  border:1px solid #ddd;
  border-radius: 50px;
  font-size: 15px;
  color: #86868b;
  
}

.sp-info__attribution svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.sp-info__attribution span {
 flex:1;
 }
 
 .sp-btn--info-toggle {
 width: 40px;
 height: 40px;
 background: #86868b;
 color: #fff;
 border-radius: 50%;
 margin-left: auto;
 }
 
 .sp-btn--info-toggle:hover {
 background: #6e6e73;
 }

/* Promo Card */
.sp-promo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  background: linear-gradient(135deg, #0A7EA3 0%, #096B8A 100%);
  border-radius: 18px;
  color: #fff;
  gap: 20px;
}

.sp-promo__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.sp-promo__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
}

.sp-promo__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  width: fit-content;
}

.sp-promo__btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.sp-promo__icon {
  flex-shrink: 0;
  position: relative;
}

.sp-promo__coin-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-promo__link-icon {
  position: absolute;
  top: -4px;
  right: -4px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}


/* ============================================
   DESCRIPTION SECTION
   ============================================ */

.sp-description {
  padding: 40px 20px 40px 20px;
  max-width: 900px;
  margin: 0 auto;
      border-bottom: 1px solid #ddd;

}

.sp-description__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: #1d1d1f;
}

h2.sp-description__title {margin-top: 0;}

.sp-description__content p {font-size: var(--wc-article-size, 18px);}

.sp-description__content {
  font-size: 15px;
  line-height: 1.6;
  color: #1d1d1f;
}

.sp-description__content p {
  margin: 0 0 16px 0;
}

.sp-description__content p:last-child {
  margin-bottom: 0;
}

.sp-description__content ol,
.sp-description__content ul {
  margin: 0 0 16px 0;
  padding-left: 24px;
  font-size: 18px;
}

.sp-description__content ol {
  list-style-type: decimal;
}

.sp-description__content ul {
  list-style-type: disc;
}

.sp-description__content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.sp-description__content li:last-child {
  margin-bottom: 0;
}


/* ============================================
   DOWNLOAD SECTIONS (Tablet & Desktop)
   ============================================ */

.sp-download {
  padding: 40px 20px 40px 20px;
  max-width: 900px;
  margin: 0 auto;
    border-bottom: 1px solid #ddd;
}

.sp-download__container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.sp-download__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.sp-download__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #1d1d1f;
}

h2.sp-download__title  {margin-top: 0 !important;}

.sp-download__subtitle {
  font-size: 15px;
  line-height: 1.5;
  color: #86868b;
  margin: 0 !important;
  padding-bottom: 20px;
}

.sp-download__subtitle p{ margin: 0 !important;
}

.sp-download__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
      background: #f5f5f7;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.sp-preview-tablet img {width: 300px; border-radius: 24px;     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);}

.sp-download-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #86868b;
}

.sp-download-meta-item i {
  font-size: 16px;
  color: #86868b;
}

.sp-download-meta-item strong {
  color: #1d1d1f;
  font-weight: 600;
}

/* Preview Images */
.sp-download__preview {
  flex-shrink: 0;
}

.sp-preview {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.sp-preview--tablet {
  width: 240px;
  height: 320px;
}

.sp-preview--desktop {
  width: 100%;
  height: auto;
}

.sp-preview__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Desktop Specific */
.sp-download--desktop {
  display: flex;
  flex-direction: column;
}

.sp-download__preview-large {
  width: 100%;
}

.sp-download__footer {
  display: flex;
  flex-direction: column;
}


/* ============================================
   SIMILAR CATEGORIES SECTION
   ============================================ */

.sp-similar-categories {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.sp-similar-categories__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #1d1d1f;
}

h2.sp-similar-categories__title {margin-top: 0px;  margin-bottom: 0;}
p.sp-similar-categories__subtitle {margin-top: 10px;}

.sp-similar-categories__subtitle {
  font-size: 15px;
  line-height: 1.5;
  color: #86868b;
  margin: 0 0 24px 0;
}

.sp-similar-categories__scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 -20px;
  padding: 0 20px;
}

.sp-similar-categories__scroll::-webkit-scrollbar {
  display: none;
}

.sp-similar-categories__track {
  display: flex;
  gap: 20px;
  padding-bottom: 8px;
}

.sp-category-card {
  flex-shrink: 0;
  width: 230px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s;
}

.sp-category-card:hover {
  transform: translateY(-4px);
}

.sp-category-card__image {
  width: 230px;
  height: 130px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sp-category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sp-category-card__name {
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1f;
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .sp-hero__container {
    flex-direction: column;
    align-items: center;
  }

 .sp-preview-image {
 width: 100%
 max-width: 340px;
 height: auto;
 aspetct-ratio: 1/2;
 }

 

  .sp-info__title {
    font-size: 22px;
  }

  .sp-download__container {
    flex-direction: column;
  }

  .sp-preview--tablet {
    width: 100%;
    max-width: 240px;
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .sp-category-card {
    width: 140px;
  }

  .sp-category-card__image {
    width: 140px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .sp-hero,
  .sp-description,
  .sp-download,
  .sp-similar-categories {
    padding: 24px 16px;
  }

.sp-preview-image {
width: 100%;
max-width: 280px;
}

 

  
  h1 .sp-info__title { font-size: 22px;}

  .sp-description__title,
  .sp-download__title,
  .sp-similar-categories__title {
    font-size: 20px;
  }
}


/**
 * Modal iOS Style
 * Stili per il modal con stile nativo iOS
 */

/* Overlay */
.sp-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: sp-modal-fade-in 0.2s ease-out;
}

@keyframes sp-modal-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Modal Container */
.sp-modal-ios {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 14px;
  max-width: 320px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: sp-modal-scale-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes sp-modal-scale-in {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Content */
.sp-modal-ios__content {
  padding: 20px 16px 16px 16px;
  text-align: center;
}

.sp-modal-ios__title {
  font-size: 19px;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

h3.sp-modal-ios__title {margin: 0 0 10px 0;}

.sp-modal-ios__text {
  font-size: 15px;
  line-height: 1.4;
  color: #1d1d1f;
  margin: 0;
  opacity: 0.85;
}

p.sp-modal-ios__text { margin: 10px 0;}

/* Actions */
.sp-modal-ios__actions {
  border-top: 0.5px solid rgba(0, 0, 0, 0.1);
  display: flex;
}

.sp-modal-ios__actions button {box-shadow: unset !important;}

.sp-modal-ios__btn {
  flex: 1;
  margin: 12px;
  border: none;
  background: transparent;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}

.sp-modal-ios__btn--primary {
  color: #007aff;
}

.sp-modal-ios__btn:hover {
  background: transparent;
color: #000;
}

.sp-modal-ios__btn:active {
  background:  transparent;
}


/**
 * Mobile Optimizations for Single Post
 * Questo file contiene tutte le ottimizzazioni per mobile/tablet
 */

/* ============================================
   TABLET - 768px and below
   ============================================ */
@media (max-width: 768px) {

  /* Layout principale - Forza colonna singola */
  .ts-row {
    display: flex !important;
    flex-direction: column !important;
  }

  .col-8.main-content,
  .col-4.main-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }

  /* Sidebar appare sotto il contenuto */
  .main-sidebar {
    margin-top: 40px;
  }

  /* Hero Section */
  .sp-hero {
    padding: 20px 15px 40px 15px !important;
  }

  .sp-hero__container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 30px !important;
  }

  /* Preview immagine - dimensioni corrette */
  .sp-preview-image {
    width: 100% !important;
    max-width: 340px !important;
    height: auto !important;
  }

  .sp-preview-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Info section prende tutta la larghezza */
  .sp-hero__info {
    width: 100%;
    max-width: 100%;
  }

  .sp-info__title {
    font-size: 22px !important;
  }

  /* Author section */
  .sp-info__author {
    padding: 8px 12px !important;
  }

  .sp-author__avatar {
    width: 44px !important;
    height: 44px !important;
  }

  /* Download buttons */
  .sp-btn--download {
    padding: 14px 24px !important;
    min-height: 58px !important;
  }

  /* Meta info */
  .sp-info__meta {
    padding: 16px !important;
    gap: 12px !important;
  }

  .sp-meta-item {
    font-size: 13px !important;
  }

  /* Description Section */
  .sp-description {
    padding: 30px 15px !important;
  }

  .sp-description__title {
    font-size: 22px !important;
  }

  .sp-description__content p {
    font-size: 16px !important;
  }

  /* Download Sections (Tablet & Desktop) */
  .sp-download {
    padding: 30px 15px !important;
  }

  .sp-download__container {
    flex-direction: column !important;
    gap: 25px !important;
  }

  .sp-download__title {
    font-size: 22px !important;
  }

  /* Preview tablet */
  .sp-preview-tablet {
    width: 100% !important;
    max-width: 100% !important;
  }

  .sp-preview-tablet img {
    width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .sp-preview--desktop {
    width: 100% !important;
  }

  /* Similar Categories */
  .sp-similar-categories {
    padding: 30px 15px !important;
  }

  .sp-similar-categories__title {
    font-size: 22px !important;
  }

  .sp-similar-categories__subtitle {
    font-size: 16px !important;
  }

  .sp-category-card {
    width: 200px !important;
  }

  .sp-category-card__image {
    width: 200px !important;
    height: 112px !important;
  }
}

/* ============================================
   MOBILE - 480px and below
   ============================================ */
@media (max-width: 480px) {

  /* Spaziature generali ridotte */
  .sp-hero,
  .sp-description,
  .sp-download,
  .sp-similar-categories {
    padding: 20px 12px !important;
  }

  /* Hero Section */
  .sp-hero__container {
    gap: 20px !important;
  }

  /* Preview immagine più piccola su mobile */
  .sp-preview-image {
    max-width: 280px !important;
      }

  /* Titolo principale */
  .sp-info__title {
    font-size: 20px !important;
    line-height: 26px !important;
  }

  /* Badge */
  .sp-badge {
    font-size: 11px !important;
  }

  /* Author section compatta */
  .sp-info__author {
    padding: 6px 10px !important;
    gap: 8px !important;
  }

  .sp-author {
    gap: 10px !important;
  }

  .sp-author__avatar {
    width: 40px !important;
    height: 40px !important;
  }

  .sp-author__label {
    font-size: 11px !important;
  }

  .sp-author__name {
    font-size: 14px !important;
  }

  .sp-btn--follow {
    width: 60px !important;
    height: 36px !important;
    font-size: 18px !important;
  }

  /* Download button */
  .sp-btn--download {
    padding: 12px 20px !important;
    min-height: 54px !important;
    font-size: 14px !important;
  }

  .sp-btn__subtext {
    font-size: 12px !important;
  }

  /* Meta info */
  .sp-info__meta {
    padding: 14px !important;
    gap: 20px !important;
  }

  .sp-meta-item {
    font-size: 12px !important;
    gap: 10px !important;
  }

  .sp-meta-item i {
    font-size: 14px !important;
  }

  /* Attribution */
  .sp-info__attribution {
    padding: 12px 16px !important;
    font-size: 13px !important;
  }

  .sp-btn--info-toggle {
    width: 36px !important;
    height: 36px !important;
  }

  /* Description */
  .sp-description__title {
    font-size: 20px !important;
  }

  .sp-description__content p {
    font-size: 15px !important;
  }

  /* Download sections */
  .sp-download__title {
    font-size: 20px !important;
  }

  .sp-download__subtitle {
    font-size: 14px !important;
  }

  .sp-download__meta {
    padding: 16px !important;
    gap: 10px !important;
  }

  .sp-download-meta-item {
    font-size: 13px !important;
  }

  .sp-preview-tablet img {
    max-width: 100% !important;
  }

  /* Similar Categories */
  .sp-similar-categories__title {
    font-size: 20px !important;
  }

  .sp-similar-categories__subtitle {
    font-size: 14px !important;
    margin-bottom: 20px !important;
  }

  .sp-category-card {
    width: 160px !important;
  }

  .sp-category-card__image {
    width: 160px !important;
    height: 90px !important;
  }

  .sp-category-card__name {
    font-size: 14px !important;
  }

  /* Modal su mobile */
  .sp-modal-overlay {
    padding: 15px !important;
  }

  .sp-modal-ios {
    max-width: 300px !important;
  }

  .sp-modal-ios__title {
    font-size: 17px !important;
  }

  .sp-modal-ios__text {
    font-size: 14px !important;
  }
}

/* ============================================
   EXTRA SMALL - 360px and below
   ============================================ */
@media (max-width: 360px) {

  .sp-preview-image {
    max-width: 240px !important;
  }

  .sp-info__title {
    font-size: 18px !important;
    line-height: 24px !important;
  }

  .sp-category-card {
    width: 140px !important;
  }

  .sp-category-card__image {
    width: 140px !important;
    height: 78px !important;
  }
}


/* ============================================
   THEME OVERRIDES — nuovo tema (h1 + card frame)
   ============================================ */
.wc-single-advert .wc-sa-page-h1 {
    margin: 0 0 18px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--wc-ink, #0f1d36);
    line-height: 1.15;
}

/* Ogni sezione = card bianca con bordo grigio arrotondato (stile articolo iSpazio) */
.wc-single-advert .sp-hero,
.wc-single-advert .sp-description,
.wc-single-advert .sp-download,
.wc-single-advert .sp-related-wallpapers,
.wc-single-advert .sp-similar-categories {
    background: #fff;
    border: 1px solid var(--wc-border, #e5e7eb);
    border-radius: 16px;
    margin: 0 0 20px;
    padding: 24px;
    max-width: 100%;
    border-bottom: 1px solid var(--wc-border, #e5e7eb);
}

/* Riallinea il container interno dell'hero: il padding ora vive nel wrap */
.wc-single-advert .sp-hero {
    padding: 24px;
    margin-top: 0 !important; /* annulla style="margin-top:10px" inline del vecchio shortcode */
}

/* Primo blocco del main allineato col top della sidebar */
.wc-single-advert .wc-home-layout__main > section:first-child,
.wc-single-advert .wc-home-layout__main > .sp-hero:first-child {
    margin-top: 0 !important;
}

/* Cuoricino preferiti — centratura perfetta del glifo fontello dentro il cerchio */
.wc-single-advert .wc-fav {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
}
.wc-single-advert .wc-fav .wc-heart-icon,
.wc-single-advert .wc-fav .icon,
.wc-single-advert .wc-fav > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0 !important;
    padding: 0 !important;
    width: 1em;
    height: 1em;
    font-size: 18px;
    transform: none;
}
/* Annulla margin-right tipico di fontello sul ::before (era pensato per testo accanto) */
.wc-single-advert .wc-fav .wc-heart-icon::before,
.wc-single-advert .wc-fav .icon::before,
.wc-single-advert .wc-fav > i::before {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    text-align: center;
    line-height: 1;
}

/* ──────────────────────────────────────────────
   TIPOGRAFIA — allineata alla scale globale del tema
   (base.css: h2 22/700, lead 16/1.5/wc-lead, article 18/1.75)
   ────────────────────────────────────────────── */

/* Sfondi correlati — card alte max 435px (larghezza 200px per aspect 9/19.5)
   così font/cuoricino restano identici alle card della home in 4-col */
.wc-single-advert .sp-related-wallpapers .wc-h-scroll__track > .wc-card-wp {
    flex: 0 0 200px;
}

/* H2 — titoli sezione */
.wc-single-advert .sp-description__title,
.wc-single-advert .sp-download__title,
.wc-single-advert .sp-related-wallpapers__title,
.wc-single-advert .sp-similar-categories__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--wc-ink, #0f1d36);
    line-height: 1.25;
    letter-spacing: -.01em;
    margin: 0 0 8px;
}

/* Sottotitoli sezione — convenzione [class$="__lead"] */
.wc-single-advert .sp-download__subtitle,
.wc-single-advert .sp-related-wallpapers__subtitle,
.wc-single-advert .sp-similar-categories__subtitle {
    font-size: 16px;
    line-height: 1.5;
    color: var(--wc-lead, #475569);
    font-weight: 400;
    margin: 0 0 16px;
}

/* Titolo wallpaper (h1 sezione hero) — più compatto del page-h1 ma stesso peso */
.wc-single-advert .sp-info__title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--wc-ink, #0f1d36);
    margin: 0;
}

/* Badge GRATIS — caption uppercase brand */
.wc-single-advert .sp-badge {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Autore — label small mute / nome 16/600 ink */
.wc-single-advert .sp-author__label {
    font-size: 13px;
    color: var(--wc-mute, #57667d);
    font-weight: 400;
    line-height: 1.3;
}
.wc-single-advert .sp-author__name {
    font-size: 16px;
    font-weight: 600;
    color: var(--wc-ink, #0f1d36);
    line-height: 1.3;
}

/* Meta-grid (download/risoluzione/dimensione/segnala) — 14/mute, strong ink/600 */
.wc-single-advert .sp-meta-item,
.wc-single-advert .sp-meta-item a {
    font-size: 14px;
    color: var(--wc-mute, #57667d);
    line-height: 1.4;
}
.wc-single-advert .sp-meta-item strong {
    color: var(--wc-ink, #0f1d36);
    font-weight: 600;
}

/* Attribuzione — 14/mute */
.wc-single-advert .sp-info__attribution {
    font-size: 14px;
    color: var(--wc-mute, #57667d);
}

/* Descrizione articolo — article-size (18/1.75/ink) */
.wc-single-advert .sp-description__content,
.wc-single-advert .sp-description__content p {
    font-size: var(--wc-article-size, 18px);
    line-height: var(--wc-article-lh, 1.75);
    color: var(--wc-ink, #0f1d36);
}
.wc-single-advert .sp-description__content ul,
.wc-single-advert .sp-description__content ol {
    font-size: var(--wc-article-size, 18px);
    line-height: var(--wc-article-lh, 1.75);
    color: var(--wc-ink, #0f1d36);
}

/* Nome categoria nella card — 14/ink/600 */
.wc-single-advert .sp-category-card__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--wc-ink, #0f1d36);
    line-height: 1.3;
}

/* Modal iOS — title 17/700, text 15/lead */
.wc-single-advert .sp-modal-ios__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--wc-ink, #0f1d36);
}
.wc-single-advert .sp-modal-ios__text {
    font-size: 15px;
    line-height: 1.5;
    color: var(--wc-lead, #475569);
}

@media (max-width: 768px) {
    .wc-single-advert .sp-hero,
    .wc-single-advert .sp-description,
    .wc-single-advert .sp-download,
    .wc-single-advert .sp-related-wallpapers,
    .wc-single-advert .sp-similar-categories {
        padding: 18px;
        border-radius: 14px;
    }
}
