/* Shared HostNuvem public-site typography using the permitted Poppins family. */
html,
body {
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif !important;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Inherit Poppins across every public page and blog template, preserving icon fonts. */
body :not(i):not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not(.fad):not(.glyphicon):not(.bi):not([class*="fa-"]):not([class*="bi-"]):not([class*="icon-"]) {
    font-family: inherit !important;
}

body h1,
body .h1 {
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif !important;
    font-size: clamp(2rem, 3.2vw, 2.625rem) !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.025em;
}

body h2,
body .h2 {
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif !important;
    font-size: clamp(1.75rem, 2.6vw, 2.125rem) !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em;
}

body h3,
body .h3 {
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif !important;
    font-size: clamp(1.375rem, 2vw, 1.625rem) !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

.hn-hero-breadcrumb {
    display: flex;
    min-height: 24px;
    align-items: center;
    gap: 6px;
    margin: 0 0 14px;
    color: rgba(255, 255, 255, .82);
    font: 400 12px/24px "Poppins", "Helvetica Neue", Arial, sans-serif;
}

.hn-hero-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.hn-hero-breadcrumb a:hover,
.hn-hero-breadcrumb a:focus {
    color: #fff;
    text-decoration: underline;
}

.hn-hero-breadcrumb svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    opacity: .86;
}

/* Give only the main message in each hero a clearer visual hierarchy. */
body .home-slider .slide-title,
body .hn-hosting-hero-static .slide-title,
body .hn-page-hero h1,
body .hn-page-hero h2,
body .hn-blog-hero h1,
body .hn-blog-hero-content h2,
body .hn-plan-selector-hero h1,
body .hn-status-hero .slide-title,
body .hn-error-hero h2 {
    font-weight: 900 !important;
}

/* Keep footer column headings compact enough to stay on one line. */
body .site-footer .hn-footer-directory .widget-title,
body .site-footer .hn-footer-directory .widget-title .hn-footer-toggle {
    font-size: 22px !important;
    line-height: 1.25 !important;
    white-space: nowrap;
}

@media (min-width: 992px) {
    body .site-footer .hn-footer-directory > .row > .widget-footer {
        width: 17%;
    }
}

@media (max-width: 767px) {
    body .site-footer .hn-footer-directory .widget-title,
    body .site-footer .hn-footer-directory .widget-title .hn-footer-toggle {
        font-size: 16px !important;
    }
}

/* Keep the home call-to-action heading readable inside its narrow column. */
body .c2a-plan .c2ap-title {
    font-size: clamp(22px, 2.5vw, 32px) !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
}

body .hn-client-story-author h3 {
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
}

body .latest-blogs .section-title h2 {
    font-size: 34px !important;
    line-height: 1.15 !important;
}

body .hn-latest-blog-carousel .latest-post .lp-title {
    font-size: 20px !important;
    line-height: 1.35 !important;
}

@media (max-width: 767px) {
    body .latest-blogs .section-title h2 { font-size: 28px !important; }
    body .hn-latest-blog-carousel .latest-post .lp-title { font-size: 18px !important; }
}

/* The domain-search label is a compact section heading, not a hero title. */
body .domain-search .form-title {
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif !important;
    font-size: 23px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
}

/* Keep article titles compact in blog cards; these are not page headings. */
body .blogsection .ptitle,
body .blogsection .ptitle a,
body .blogsection .post-card h2,
body .blogsection .post-card h2 a,
body .blogsection .post-card h3,
body .blogsection .post-card h3 a,
body .blogsection .blog-card-title,
body .blogsection .blog-card-title a {
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
}

body h4,
body h5,
body h6,
body .h4,
body .h5,
body .h6 {
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif !important;
    font-size: clamp(1rem, 1.35vw, 1.25rem) !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
}

body strong,
body b,
body label {
    font-weight: 500;
}

body p {
    font-size: 16px !important;
    line-height: 1.5 !important;
}

body .site-header .navbar-style1 .hn-main-nav > li > a,
body .site-header .navbar-style1 .hn-main-nav .dropdown-menu li a,
body .btn,
body button,
body input[type="submit"] {
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif !important;
    font-weight: 500;
}

body .site-header .navbar-style1 .hn-main-nav > li:not(.hn-user-nav) > a {
    font-weight: 600 !important;
}

/* Only authenticated accounts get a dropdown indicator and account menu. */
.navbar-style1 .hn-main-nav > li.hn-user-nav > a.hn-user-link:not(.is-logged-in)::after {
    content: none !important;
    display: none !important;
}

.navbar-style1 .hn-main-nav > li.hn-user-nav--pending > .hn-user-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.hn-user-logout-status {
    display: block;
    padding: 7px 18px;
    color: #b42318;
    font-size: 12px;
    line-height: 1.4;
}

.hn-user-logout-form button:disabled {
    cursor: wait;
    opacity: .65;
}

/* The mobile overlay has its own account control, separate from the desktop navbar. */
.hn-mobile-nav-actions {
    align-items: start;
}

.hn-mobile-account {
    position: relative;
    min-width: 0;
}

.hn-mobile-nav-actions > .hn-mobile-account > .hn-mobile-account-link {
    position: relative;
    justify-content: center;
    min-height: 48px;
    padding: 12px 10px;
    border: 1px solid #dbe8ef;
    border-radius: 6px;
    background: #fff;
    text-align: center;
}

.hn-mobile-nav-actions > .hn-mobile-account > .hn-mobile-account-link.is-logged-in {
    color: #0c65bd !important;
}

.hn-mobile-account > .hn-user-menu {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: auto !important;
    float: none !important;
    width: min(320px, calc(100vw - 36px)) !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 10px 0 !important;
    border: 1px solid #dbe8ef !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 18px 42px rgba(20, 33, 45, .2) !important;
    z-index: 2147483647 !important;
}

.hn-mobile-account.open > .hn-user-menu {
    display: block !important;
}

.hn-mobile-account .hn-user-menu:before {
    display: none;
}

@media (max-width: 991px) {
    body p {
        font-size: 14px !important;
    }

    body .blogsection .ptitle,
    body .blogsection .ptitle a,
    body .blogsection .post-card h2,
    body .blogsection .post-card h2 a,
    body .blogsection .post-card h3,
    body .blogsection .post-card h3 a,
    body .blogsection .blog-card-title,
    body .blogsection .blog-card-title a {
        font-size: 19px !important;
    }
}
