/**
 * Tipografia — profilo azienda pubblico (/aziende/{slug})
 * @see docs/typography-spec-public-pages.md
 */

/* Titolo pagina (nome azienda) */
.company-public-page .company-title,
.company-public-page .mobile-company-name,
.company-public-page .desktop-company-name {
    font-size: 50px !important;
    line-height: 1.2 !important;
}

/* Spaziatura titolo azienda — solo desktop */
@media (min-width: 768px) {
    .company-public-page .desktop-info-wrapper {
        padding-top: 32px !important;
        padding-bottom: 28px !important;
    }

    .company-public-page .desktop-row-1 {
        margin-bottom: 20px !important;
    }
}

/* Sottotitoli sezione, stati vuoti e titoletti descrittivi (16px) */
.company-public-page #about .text-muted,
.company-public-page #posts .text-muted,
.company-public-page #team .text-muted,
.company-public-page #projects .text-muted,
.company-public-page #reviews .text-muted,
.company-public-page #contact .text-muted,
.company-public-page #catalog .text-muted,
.company-public-page #info .text-muted,
.company-public-page .company-section .col-lg-12 > div > p.text-muted,
.company-public-page .company-section .col-lg-12.mb-5 p.text-muted,
.company-public-page .company-section .mb-5 > div > p.text-muted,
.company-public-page .empty-state h4,
.company-public-page .empty-state h4.text-muted,
.company-public-page .empty-state p,
.company-public-page .empty-state p.text-muted,
.company-public-page #reviews .overview-card .text-center h4,
.company-public-page #reviews .overview-card h4,
.company-public-page .contact-text h4,
.company-public-page #team .overview-card p.text-primary,
.company-public-page #about .about-content,
.company-public-page #about .description-content,
.company-public-page #team .team-member-role,
.company-public-page #projects .project-description,
.company-public-page #reviews .review-content,
.company-public-page #reviews .review-author {
    font-size: 16px !important;
    line-height: 1.5 !important;
}

.company-public-page .empty-state h4,
.company-public-page .empty-state h4.text-muted,
.company-public-page #reviews .overview-card h4 {
    font-weight: 600 !important;
}

/* Premium Start */
.company-public-page .premium-start-label,
.company-public-page .premium-start-label strong,
.company-public-page .premium-start-counter,
.company-public-page .premium-start-ready .premium-start-label,
.company-public-page .premium-start-ready .premium-start-label strong {
    font-size: 16px !important;
    line-height: 1.4 !important;
}

/* Navigazione sezioni — desktop + mobile */
.company-public-page .desktop-nav-link,
.company-public-page .mobile-nav-item,
.company-public-page .company-nav-link,
.company-public-page .company-nav-links a {
    font-size: 16px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
}

/* Tutti i pulsanti e link-button */
.company-public-page .btn,
.company-public-page .btn-sm,
.company-public-page .btn-lg,
.company-public-page a.btn,
.company-public-page button.btn,
.company-public-page button:not([class*="close"]):not(.btn-close),
.company-public-page .quick-action-btn,
.company-public-page .desktop-action-btn,
.company-public-page .desktop-action-btn-cta,
.company-public-page .mobile-action-btn,
.company-public-page .posts-owner-actions .btn,
.company-public-page #posts .btn,
.company-public-page #projects .btn,
.company-public-page #team .btn,
.company-public-page #catalog .btn,
.company-public-page .overview-card .btn,
.company-public-page #posts .overview-card .btn,
.company-public-page #projects .overview-card .btn,
.company-public-page #posts .overview-card .position-absolute.top-0.end-0 .btn,
.company-public-page #projects .overview-card .position-absolute.top-0.end-0 .btn,
.company-public-page #team .overview-card .position-absolute.top-0.end-0 .btn,
.company-public-page .view-post-btn,
.company-public-page .view-project-btn,
.company-public-page #posts .overview-card .d-flex.justify-content-end .btn,
.company-public-page #projects .overview-card .d-flex.justify-content-between .btn,
.company-public-page .modal .btn,
.company-public-page .modal-footer .btn,
.company-public-page .modal-body .btn,
.company-public-page .quote-return-banner .btn,
.company-public-page .company-quick-actions .dropdown-menu .dropdown-item,
.company-public-page .mobile-share-btn .dropdown-menu .dropdown-item,
.company-public-page .desktop-action-buttons .dropdown-menu .dropdown-item {
    font-size: 16px !important;
    line-height: 1.5 !important;
}

.company-public-page #posts .overview-card .position-absolute.top-0.end-0 .btn i,
.company-public-page #projects .overview-card .position-absolute.top-0.end-0 .btn i,
.company-public-page #team .overview-card .position-absolute.top-0.end-0 .btn i,
.company-public-page .company-quick-actions .dropdown-menu .dropdown-item i,
.company-public-page .mobile-share-btn .dropdown-menu .dropdown-item i,
.company-public-page .desktop-action-buttons .dropdown-menu .dropdown-item i,
.company-public-page .desktop-action-btn i,
.company-public-page .mobile-action-btn i,
.company-public-page .btn i {
    font-size: 16px !important;
}

/* Testi UI principali (default 16px) */
.company-public-page .company-category,
.company-public-page .mobile-bio-text,
.company-public-page .desktop-bio-text,
.company-public-page .company-rating-count,
.company-public-page .mobile-reviews-share-row .mobile-reviews-rating,
.company-public-page .mobile-reviews-share-row .mobile-reviews-count,
.company-public-page .mobile-reviews-share-row .mobile-reviews-stars,
.company-public-page .mobile-reviews-rating,
.company-public-page .mobile-reviews-count,
.company-public-page .verified-badge-text,
.company-public-page .catalog-accordion-header .cat-count,
.company-public-page .catalog-chip,
.company-public-page #posts .posts-owner-info-stack,
.company-public-page #posts .posts-owner-info-stack small,
.company-public-page #posts .posts-owner-info-line,
.company-public-page .posts-owner-info-bar,
.company-public-page .badge-title-text,
.company-public-page .badge-description-text,
.company-public-page .badge-legend-item h4,
.company-public-page label,
.company-public-page .form-control,
.company-public-page .form-select,
.company-public-page .mobile-bio-edit-form .form-control,
.company-public-page .desktop-bio-edit-form .form-control {
    font-size: 16px !important;
    line-height: 1.5 !important;
}

/* Titoli sezione */
.company-public-page .company-section-title,
.company-public-page #about .company-section-title,
.company-public-page #posts .company-section-title,
.company-public-page #team .company-section-title,
.company-public-page #projects .company-section-title,
.company-public-page #reviews .company-section-title,
.company-public-page #contact .company-section-title,
.company-public-page #catalog .company-section-title {
    font-size: 25px !important;
    line-height: 1.3 !important;
}

/* Titoli card / sotto-sezioni */
.company-public-page .overview-card-title,
.company-public-page .contact-info-title,
.company-public-page .catalog-accordion-header .cat-label,
.company-public-page .badges-legend-header h3 {
    font-size: 25px !important;
    line-height: 1.35 !important;
}

/* Contenuto */
.company-public-page .about-description,
.company-public-page .about-description p,
.company-public-page .about-content,
.company-public-page .description-content,
.company-public-page .overview-card-content,
.company-public-page .overview-card-content p,
.company-public-page .review-content,
.company-public-page .review-author,
.company-public-page .card-text,
.company-public-page .project-description,
.company-public-page .section-subtitle,
.company-public-page .team-member-role,
.company-public-page .badge-legend-item p,
.company-public-page .contact-info-card,
.company-public-page .contact-info-card p,
.company-public-page .quote-return-banner span {
    font-size: 16px !important;
    line-height: 1.6 !important;
}

/* Titoli card post/progetti */
.company-public-page #posts .overview-card h3.h4,
.company-public-page #projects .overview-card h3.h4,
.company-public-page #posts .overview-card .overview-card-title,
.company-public-page #projects .overview-card .overview-card-title,
.company-public-page #projects .project-title {
    font-size: 25px !important;
    line-height: 1.35 !important;
}

.company-public-page #posts .overview-card p.text-muted,
.company-public-page #projects .overview-card p.text-muted {
    font-size: 16px !important;
}

.company-public-page #posts .position-absolute.bg-primary,
.company-public-page .post-date-badge {
    font-size: 12px !important;
}

/* Testo piccolo esplicito */
.company-public-page .ps-indicator,
.company-public-page .catalog-accordion-header .cat-sub,
.company-public-page .form-text,
.company-public-page .mobile-bio-char-count {
    font-size: 12px !important;
}

.company-public-page .pagination .page-link {
    font-size: 16px !important;
}

/* Tablet */
@media (max-width: 991.98px) {
    .company-public-page .company-title,
    .company-public-page .mobile-company-name,
    .company-public-page .desktop-company-name {
        font-size: 42px !important;
    }
}

/* Mobile — pulsanti e nav sempre 16px */
@media (max-width: 767.98px) {
    .company-public-page .company-title,
    .company-public-page .mobile-company-name,
    .company-public-page .desktop-company-name {
        font-size: 36px !important;
    }

    .company-public-page .desktop-nav-link,
    .company-public-page .mobile-nav-item,
    .company-public-page .company-nav-link {
        font-size: 16px !important;
    }

    .company-public-page .mobile-action-btn,
    .company-public-page .mobile-action-btn i,
    .company-public-page .desktop-action-btn,
    .company-public-page .btn,
    .company-public-page .btn-sm,
    .company-public-page #posts .posts-owner-actions .btn,
    .company-public-page #posts .overview-card .btn,
    .company-public-page #posts .overview-card .position-absolute.top-0.end-0 .btn,
    .company-public-page #posts .overview-card .position-absolute.top-0.end-0 .btn i {
        font-size: 16px !important;
    }

    .company-public-page .mobile-bio-text,
    .company-public-page .mobile-reviews-rating,
    .company-public-page .mobile-reviews-count {
        font-size: 16px !important;
    }

    .company-public-page .company-section-title,
    .company-public-page #about .company-section-title,
    .company-public-page #posts .company-section-title,
    .company-public-page #team .company-section-title,
    .company-public-page #projects .company-section-title,
    .company-public-page #reviews .company-section-title,
    .company-public-page #contact .company-section-title {
        font-size: 22px !important;
    }

    .company-public-page .overview-card-title,
    .company-public-page #posts .overview-card h3.h4,
    .company-public-page #projects .overview-card h3.h4 {
        font-size: 22px !important;
    }

    .company-public-page #posts .posts-owner-info-stack,
    .company-public-page #posts .posts-owner-info-line {
        font-size: 16px !important;
    }

    .company-public-page #posts .overview-card .d-flex.justify-content-end .btn,
    .company-public-page #projects .overview-card .d-flex.justify-content-between .btn,
    .company-public-page #posts .overview-card p.text-muted,
    .company-public-page #projects .overview-card p.text-muted {
        font-size: 16px !important;
    }

    .company-public-page #posts .overview-card .position-absolute.top-0.end-0 .btn {
        font-size: 16px !important;
    }
}
