/*
Theme Name: Hub Ofertas MP
Theme URI: https://hubofertasmp.com.br
Author: Hub Ofertas MP
Description: Tema customizado do Hub Ofertas MP, desenvolvido com abordagem code-first.
Version: 1.0.0
Text Domain: hub-ofertas-mp
*/


/* =========================================================
   DESIGN SYSTEM
   ========================================================= */

:root {
    --hmp-bg-dark: #3f474f;
    --hmp-bg-dark-2: #343b42;
    --hmp-bg-light: #f3f5f7;
    --hmp-surface: #ffffff;

    --hmp-blue: #4f78a8;
    --hmp-blue-hover: #426892;

    --hmp-text: #1f252b;
    --hmp-text-soft: #66717c;
    --hmp-text-light: #f5f7f9;

    --hmp-border: #dde2e7;

    --hmp-radius-sm: 8px;
    --hmp-radius-md: 14px;
    --hmp-radius-lg: 20px;

    --hmp-shadow-sm: 0 6px 18px rgba(25, 32, 38, 0.08);
    --hmp-shadow-md: 0 14px 34px rgba(25, 32, 38, 0.12);

    --hmp-container: 1200px;
}


/* =========================================================
   RESET / BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--hmp-bg-light);
    color: var(--hmp-text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input {
    font: inherit;
}

.hmp-container {
    width: min(100% - 40px, var(--hmp-container));
    margin-inline: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.hmp-header {
    background: var(--hmp-bg-dark);
    color: var(--hmp-text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hmp-header__inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.hmp-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hmp-logo__mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    border-radius: 10px;
    background: var(--hmp-blue);
    color: #ffffff;
    font-size: 18px;
    box-shadow: var(--hmp-shadow-sm);
}

.hmp-logo__text {
    font-size: 16px;
}

.hmp-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.hmp-nav a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.hmp-nav a:hover {
    color: #ffffff;
}

.hmp-search {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
}


/* =========================================================
   HERO
   ========================================================= */

.hmp-hero {
    padding: 64px 0 82px;
    color: var(--hmp-text-light);

    background:
        radial-gradient(
            circle at 75% 35%,
            rgba(79, 120, 168, 0.22),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #46515b 0%,
            #3f474f 55%,
            #384149 100%
        );
}

.hmp-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
}

.hmp-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #7da2ce;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.hmp-hero h1 {
    margin: 0;
    max-width: 560px;
    font-size: clamp(38px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.hmp-hero h1 span {
    color: #6f98c7;
}

.hmp-hero p {
    max-width: 520px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.75;
}

.hmp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hmp-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 8px;
    font-weight: 700;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.hmp-button:hover {
    transform: translateY(-1px);
}

.hmp-button--primary {
    background: var(--hmp-blue);
    color: #ffffff;
}

.hmp-button--primary:hover {
    background: var(--hmp-blue-hover);
}

.hmp-button--secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
}

.hmp-button--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hmp-hero__trust {
    display: flex;
    gap: 42px;
    margin-top: 34px;
}

.hmp-hero__trust div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hmp-hero__trust strong {
    font-size: 14px;
}

.hmp-hero__trust span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
}

.hmp-hero__visual {
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hmp-hero__placeholder {
    width: 100%;
    min-height: 390px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.02)
        );
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
    color: rgba(255, 255, 255, 0.45);
}


/* =========================================================
   CATEGORIAS
   ========================================================= */

.hmp-categories {
    position: relative;
    z-index: 5;
    margin-top: -38px;
    padding-bottom: 18px;
}

.hmp-categories__bar {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--hmp-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--hmp-shadow-md);
}

.hmp-category {
    min-width: 0;
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-right: 1px solid var(--hmp-border);
    background: var(--hmp-surface);
    transition: background 0.2s ease;
}

.hmp-category:last-child {
    border-right: 0;
}

.hmp-category:hover {
    background: #f8fafc;
}

.hmp-category__icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    border: 1px solid #d9e2ec;
    border-radius: 9px;
    color: var(--hmp-blue);
    font-size: 20px;
    font-weight: 700;
}

.hmp-category > span:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.hmp-category strong {
    font-size: 14px;
    line-height: 1.3;
}

.hmp-category small {
    margin-top: 2px;
    color: var(--hmp-text-soft);
    font-size: 12px;
}

.hmp-category--all {
    background: #f8fafc;
}


/* =========================================================
   CABEÇALHOS
   ========================================================= */

.hmp-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.hmp-section-label {
    color: var(--hmp-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hmp-section-heading h2 {
    margin: 5px 0 4px;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.hmp-section-heading p {
    margin: 0;
    color: var(--hmp-text-soft);
}

.hmp-section-link {
    color: var(--hmp-blue);
    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   CARDS / EM DESTAQUE
   ========================================================= */

.hmp-featured {
    padding: 58px 0 76px;
}

.hmp-featured__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.hmp-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--hmp-border);
    border-radius: var(--hmp-radius-md);
    background: var(--hmp-surface);
    box-shadow: var(--hmp-shadow-sm);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.hmp-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--hmp-shadow-md);
}

.hmp-card > a {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hmp-card__image {
    width: 100%;
    min-height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: #f7f8f9;
    color: #8a949e;
    font-size: 13px;
}

.hmp-card__image img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 260px !important;
    margin: 0 auto;
    object-fit: contain !important;
    object-position: center !important;
}

.hmp-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.hmp-card__tag {
    color: var(--hmp-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hmp-card h2,
.hmp-card h3 {
    margin: 8px 0 10px;
    font-size: 20px;
    line-height: 1.35;
}

.hmp-card p {
    margin: 0 0 18px;
    color: var(--hmp-text-soft);
    font-size: 14px;
    line-height: 1.65;
}

.hmp-card__body > a,
.hmp-card__link {
    margin-top: auto;
    color: var(--hmp-blue);
    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   CONTEÚDOS RECENTES
   ========================================================= */

.hmp-recent {
    padding: 54px 0 72px;
}

.hmp-recent__grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 42px;
}

.hmp-recent__intro h2 {
    margin: 6px 0 10px;
    font-size: 30px;
    line-height: 1.15;
}

.hmp-recent__intro p {
    margin: 0 0 18px;
    color: var(--hmp-text-soft);
    font-size: 14px;
}

.hmp-recent__list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hmp-recent-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--hmp-border);
}

.hmp-recent-item:last-child {
    border-bottom: 0;
}

.hmp-recent-item__thumb {
    width: 120px;
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 10px;
    background: #f7f8f9;
}

.hmp-recent-item__thumb img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 108px !important;
    max-height: 108px !important;
    margin: auto;
    object-fit: contain !important;
    object-position: center !important;
}

.hmp-recent-item span {
    color: var(--hmp-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hmp-recent-item h3 {
    margin: 4px 0 6px;
    font-size: 17px;
    line-height: 1.35;
}

.hmp-recent-item h3 a:hover {
    color: var(--hmp-blue);
}

.hmp-recent-item p {
    margin: 0;
    color: var(--hmp-text-soft);
    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   PÁGINAS EDITORIAIS
   ========================================================= */

.hmp-editorial__header {
    padding: 56px 0 36px;
    border-bottom: 1px solid var(--hmp-border);
    background: var(--hmp-surface);
}

.hmp-editorial__header h1 {
    margin: 6px 0 10px;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hmp-editorial__header p {
    max-width: 720px;
    margin: 0;
    color: var(--hmp-text-soft);
    font-size: 16px;
    line-height: 1.7;
}

.hmp-editorial__content {
    padding: 48px 0 76px;
}

.hmp-editorial__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.hmp-editorial__empty {
    grid-column: 1 / -1;
    padding: 36px;
    border: 1px solid var(--hmp-border);
    border-radius: var(--hmp-radius-md);
    background: var(--hmp-surface);
}

.hmp-editorial__empty h2,
.hmp-editorial__empty h3 {
    margin-top: 0;
}

.hmp-editorial__empty p {
    margin-bottom: 0;
    color: var(--hmp-text-soft);
}


/* =========================================================
   PAGINAÇÃO
   ========================================================= */

.hmp-pagination {
    margin-top: 42px;
}

.hmp-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hmp-pagination .page-numbers {
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--hmp-border);
    border-radius: 8px;
    background: var(--hmp-surface);
    font-size: 13px;
}

.hmp-pagination .page-numbers.current {
    border-color: var(--hmp-blue);
    background: var(--hmp-blue);
    color: #ffffff;
}


/* =========================================================
   BUSCA
   ========================================================= */

.hmp-search-page__header {
    padding: 56px 0 32px;
    border-bottom: 1px solid var(--hmp-border);
    background: var(--hmp-surface);
}

.hmp-search-page__header h1 {
    margin: 6px 0 22px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hmp-search-form {
    display: flex;
    gap: 10px;
    max-width: 760px;
}

.hmp-search-form input {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0 16px;
    border: 1px solid var(--hmp-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--hmp-text);
    font-size: 15px;
    outline: none;
}

.hmp-search-form input:focus {
    border-color: var(--hmp-blue);
}

.hmp-search-form button {
    height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 8px;
    background: var(--hmp-blue);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.hmp-search-results {
    padding: 42px 0 72px;
}

.hmp-search-result {
    padding: 24px 0;
    border-bottom: 1px solid var(--hmp-border);
}

.hmp-search-result > span {
    color: var(--hmp-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hmp-search-result h2 {
    margin: 6px 0 8px;
    font-size: 22px;
}

.hmp-search-result h2 a:hover {
    color: var(--hmp-blue);
}

.hmp-search-result p {
    max-width: 760px;
    margin: 0;
    color: var(--hmp-text-soft);
    font-size: 14px;
}

.hmp-search-empty {
    padding: 36px;
    border: 1px solid var(--hmp-border);
    border-radius: var(--hmp-radius-md);
    background: var(--hmp-surface);
}


/* =========================================================
   ARTIGO INDIVIDUAL
   ========================================================= */

.hmp-article__header {
    padding: 58px 0 34px;
    border-bottom: 1px solid var(--hmp-border);
    background: var(--hmp-surface);
}

.hmp-article__header-inner {
    max-width: 860px;
}

.hmp-article__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.hmp-article__category {
    color: var(--hmp-text-soft);
    font-size: 12px;
    font-weight: 700;
}

.hmp-article__header h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.hmp-article__lead {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--hmp-text-soft);
    font-size: 18px;
    line-height: 1.7;
}

.hmp-article__date {
    margin-top: 18px;
    color: #89939d;
    font-size: 12px;
}

.hmp-article__featured {
    width: min(100% - 40px, 900px);
    max-width: 900px;
    margin-inline: auto;
    padding-top: 28px;
}

.hmp-article__featured img {
    display: block;
    width: auto;
    height: auto;
    max-width: 760px;
    max-height: 480px;
    margin: 0;
    object-fit: contain;
    object-position: left center;
    border-radius: var(--hmp-radius-md);
    background: #ffffff;
    box-shadow: var(--hmp-shadow-sm);
}

.hmp-article__layout {
    max-width: 900px;
    padding-top: 42px;
    padding-bottom: 76px;
}

.hmp-article__content {
    font-size: 17px;
    line-height: 1.82;
}

.hmp-article__content p {
    margin: 0 0 22px;
}

.hmp-article__content h2 {
    margin: 44px 0 16px;
    font-size: 30px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.hmp-article__content h3 {
    margin: 32px 0 12px;
    font-size: 23px;
    line-height: 1.3;
}

.hmp-article__content ul,
.hmp-article__content ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

.hmp-article__content img {
    max-width: 100%;
    height: auto;
    margin: 28px auto;
    border-radius: 10px;
}

.hmp-article__content a {
    color: var(--hmp-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* =========================================================
   COMPONENTES EDITORIAIS
   ========================================================= */

/* Melhor para */

.hmp-recommendation {
    margin: 30px 0;
    padding: 20px 22px;
    border: 1px solid #d8e1ea;
    border-left: 4px solid var(--hmp-blue);
    border-radius: var(--hmp-radius-md);
    background: #f8fafc;
}

.hmp-recommendation__label {
    display: block;
    margin-bottom: 6px;
    color: var(--hmp-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hmp-recommendation__content p {
    margin: 0;
    color: var(--hmp-text);
}


/* Prós e contras */

.hmp-pros-cons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 34px 0;
}

.hmp-pros-cons__column {
    padding: 22px;
    border: 1px solid var(--hmp-border);
    border-radius: var(--hmp-radius-md);
    background: var(--hmp-surface);
    box-shadow: var(--hmp-shadow-sm);
}

.hmp-pros-cons__column h3 {
    margin: 0 0 14px;
    font-size: 18px;
}

.hmp-pros-cons__column ul {
    margin: 0;
    padding-left: 20px;
}

.hmp-pros-cons__column li {
    margin-bottom: 8px;
    color: var(--hmp-text-soft);
}

.hmp-pros-cons__column li:last-child {
    margin-bottom: 0;
}

.hmp-pros-cons__column--pros {
    border-top: 3px solid #6f98c7;
}

.hmp-pros-cons__column--cons {
    border-top: 3px solid #a3adb7;
}


/* Conclusão */

.hmp-conclusion {
    margin: 40px 0 10px;
    padding: 26px;
    border: 1px solid #d7e0e8;
    border-radius: var(--hmp-radius-md);
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f6f8fa 100%
        );
    box-shadow: var(--hmp-shadow-sm);
}

.hmp-conclusion h2 {
    margin: 6px 0 12px;
    font-size: 27px;
}

.hmp-conclusion__content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   FOOTER
   ========================================================= */

.hmp-footer {
    padding: 54px 0 24px;
    background: var(--hmp-bg-dark-2);
    color: var(--hmp-text-light);
}

.hmp-footer__grid {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr 0.8fr 1.35fr;
    gap: 42px;
}

.hmp-footer h3 {
    margin: 0 0 14px;
    font-size: 14px;
}

.hmp-footer p {
    max-width: 320px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    line-height: 1.65;
}

.hmp-footer__grid > div:not(.hmp-footer__brand) > a {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.hmp-footer__grid a:hover {
    color: #ffffff;
}

.hmp-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.52);
    font-size: 12px;
}

.hmp-footer__bottom div {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}


/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

@media (max-width: 1000px) {

    .hmp-featured__grid,
    .hmp-editorial__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hmp-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {

    .hmp-nav {
        display: none;
    }

    .hmp-header__inner {
        min-height: 68px;
    }

    .hmp-hero {
        padding: 48px 0 60px;
    }

    .hmp-hero__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hmp-hero__visual {
        min-height: auto;
    }

    .hmp-hero__placeholder {
        min-height: 280px;
    }

    .hmp-hero__trust {
        flex-direction: column;
        gap: 16px;
    }

    .hmp-categories__bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hmp-category {
        border-bottom: 1px solid var(--hmp-border);
    }

    .hmp-category:nth-child(even) {
        border-right: 0;
    }

    .hmp-category:last-child {
        grid-column: 1 / -1;
        border-right: 0;
        border-bottom: 0;
    }
}

@media (max-width: 850px) {

    .hmp-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .hmp-recent__grid {
        grid-template-columns: 1fr;
    }

    .hmp-footer__bottom {
        flex-direction: column;
    }
}

@media (max-width: 700px) {

    .hmp-featured__grid,
    .hmp-editorial__grid,
    .hmp-pros-cons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {

    .hmp-container {
        width: min(100% - 28px, var(--hmp-container));
    }

    .hmp-search-form {
        flex-direction: column;
    }

    .hmp-search-form button {
        width: 100%;
    }

    .hmp-recent-item {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .hmp-recent-item__thumb {
        width: 90px;
        min-height: 82px;
    }

    .hmp-recent-item__thumb img {
        max-width: 78px !important;
        max-height: 78px !important;
    }

    .hmp-article__header {
        padding: 42px 0 26px;
    }

    .hmp-article__lead {
        font-size: 16px;
    }

    .hmp-article__featured {
        width: min(100% - 28px, 900px);
        padding-top: 22px;
    }

    .hmp-article__featured img {
        max-width: 100%;
        max-height: 420px;
    }

    .hmp-article__content {
        font-size: 16px;
    }

    .hmp-recommendation,
    .hmp-pros-cons__column,
    .hmp-conclusion {
        padding: 18px;
    }
}

@media (max-width: 560px) {

    .hmp-footer__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {

    .hmp-categories {
        margin-top: -24px;
    }

    .hmp-categories__bar {
        grid-template-columns: 1fr;
    }

    .hmp-category {
        border-right: 0;
    }

    .hmp-category:last-child {
        grid-column: auto;
    }
}