.yt-macro-hub {
    margin: 0 0 34px;
    padding: clamp(20px, 3.4vw, 34px);
    border: 1px solid rgba(75, 48, 31, 0.12);
    border-radius: 24px;
    background:
        radial-gradient(circle at 92% 8%, rgba(225, 153, 64, 0.16), transparent 34%),
        linear-gradient(145deg, #fffdf9 0%, #fff7eb 100%);
    box-shadow: 0 18px 50px rgba(71, 43, 27, 0.08);
}

.yt-macro-hub__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.yt-macro-hub__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #b42318;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.yt-macro-hub h2 {
    margin: 0;
    color: #291b13;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.2;
}

.yt-macro-hub__heading p {
    margin: 10px 0 0;
    color: #756257;
}

.yt-macro-hub__count {
    display: grid;
    min-width: 92px;
    padding: 12px 16px;
    border-radius: 16px;
    background: #2b211b;
    color: #fff8ef;
    text-align: center;
}

.yt-macro-hub__count strong {
    font-size: 25px;
    line-height: 1;
}

.yt-macro-hub__count span {
    margin-top: 5px;
    color: #d8c8bc;
    font-size: 12px;
}

.yt-macro-hub__search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 24px;
}

.yt-macro-hub__search input {
    min-width: 0;
    padding: 13px 16px;
    border: 1px solid #d9c9ba;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.84);
    color: #291b13;
    font-size: 15px;
}

.yt-macro-hub__search button,
.yt-macro-hub__subscribe a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #b42318, #e67e22);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.yt-macro-hub__topics {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 16px;
}

.yt-macro-hub__topics a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid #dfd1c4;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #5e4b40;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.yt-macro-hub__topics a span {
    color: #a28e80;
    font-size: 11px;
}

.yt-macro-hub__topics a:hover,
.yt-macro-hub__topics a.is-active {
    border-color: #ba3b27;
    background: #fff1e8;
    color: #a52219;
}

.yt-macro-hub__subscribe {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #f0e7dc;
}

.yt-macro-hub__subscribe div {
    display: grid;
    gap: 4px;
}

.yt-macro-hub__subscribe strong {
    color: #34241a;
}

.yt-macro-hub__subscribe span {
    color: #79665a;
    font-size: 13px;
}

.yt-macro-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.yt-macro-card-meta span {
    padding: 5px 9px;
    border-radius: 999px;
    background: #f4ece4;
    color: #725c4e;
    font-size: 11px;
    font-weight: 700;
}

@media (max-width: 720px) {
    .yt-macro-hub {
        border-radius: 18px;
    }

    .yt-macro-hub__heading,
    .yt-macro-hub__subscribe {
        align-items: stretch;
        flex-direction: column;
    }

    .yt-macro-hub__count {
        min-width: 0;
        grid-template-columns: auto auto;
        align-items: center;
        justify-content: center;
        gap: 7px;
    }

    .yt-macro-hub__search {
        grid-template-columns: 1fr;
    }
}
