:root {
    --accent: #e1b21a;
    --accent-dark: #c99b16;
    --muted: #9aa0a6;
    --card-bg: #fff;
    --page-bg: #ffffff;
    --site-width: 1180px;
    --rounded: 10px;
}

.wrap {
    max-width: var(--site-width);
    margin: 28px auto;
    padding: 0 18px;
}

.topbar {
    height: 36px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    line-height: 36px;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.hero {
    min-height: 360px;
    background-image: linear-gradient(rgba(7, 7, 7, 0.25), rgba(7, 7, 7, 0.25)), url('https://images.unsplash.com/photo-1530577197743-7adf14294584?auto=format&fit=crop&w=1950&q=60');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    margin-bottom: 18px;
}

.hero .hero-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    padding: 36px;
}

.hero .tag {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 6px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 12px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
}

.hero h1 {
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 8px 0;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    max-width: 840px;
}

.hero .meta {
    color: #fff;
    opacity: .95;
    font-size: 13px;
}

.search-block {
    background: var(--accent);
    border-radius: 8px;
    padding: 22px;
    display: flex;
    gap: 18px;
    align-items: center;
    color: #111;
    margin-top: 16px;
}

.search-left {
    flex: 1;
}

.search-left h3 {
    color: #fff;
    font-weight: 700;
    margin: 0 0 8px 0;
    font-size: 18px;
}

.search-fields {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-fields .form-control {
    background: #fff;
    border: 0;
    padding: 10px 14px;
    border-radius: 30px;
    min-width: 160px;
    box-shadow: none;
}

.search-fields .btn-search {
    background: #000;
    color: #fff;
    border-radius: 30px;
    padding: 10px 20px;
    border: 0;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.08);
}

.search-right {
    width: 260px;
    text-align: center;
    color: #111;
}

.search-right .btn {
    border-radius: 24px;
    padding: 8px 14px;
    font-weight: 700;
}

.news-list .item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.news-list .tag-badge {
    background: #f0f6f6;
    color: #e1b21a;
    border-radius: 8px;
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.news-list strong {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: #222;
}

.news-list .meta {
    font-size: 12px;
    color: var(--muted);
}

.feed .card-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 12px;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 14px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
    border: 1px solid #f2f2f2;
}

.feed .thumb {
    width: 110px;
    height: 78px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.feed .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feed .title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 6px;
}

.feed .small-meta {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 7px;
}

.small-tag {
    background: var(--accent);
    color: #fff;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
    margin-right: 8px;
}

.side-box {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #eee;
    margin-bottom: 20px;
}

.contributors .person {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.contributors .avatar {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
}

.contributors strong {
    display: block;
    font-size: 13px;
}

.find-box {
    border: 1px solid #eee;
    padding: 14px;
    border-radius: 8px;
    background: #fff;
}

.find-box small {
    color: #4d4d4d;
    display: block;
    margin-bottom: 8px;
}

.humanize {
    margin-top: 60px;
    padding: 42px 0;
    background: #f9f9f9;
    border-radius: 8px;
}

.humanize .title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 18px;
}

.humanize .cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.humanize .card {
    position: relative;
    height: 210px;
    border-radius: 8px;
    overflow: hidden;
    color: #fff;
}

.humanize .card .meta {
    position: absolute;
    left: 12px;
    bottom: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.humanize .badge {
    background: var(--accent);
    padding: 6px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
}

.site-footer {
    background: #080808;
    color: #fff;
    padding: 54px 0 24px;
    margin-top: 38px;
}

.site-footer small {
    color: #a8a8a8;
}

.muted {
    color: #4d4d4d;
    font-size: 14px;
}

.sep-line {
    height: 4px;
    width: 60px;
    background: var(--accent);
    border-radius: 2px;
    margin: 8px 0 12px;
}

.card-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 6px;
}

.pill {
    display: inline-block;
    border-radius: 16px;
    background: #fff;
    padding: 6px 10px;
    border: 1px solid #ddd;
    font-weight: 700;
    font-size: 13px;
}

.side-box button {
    background: var(--accent);
    color: #fff;
    padding: 7px 21px 8px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    margin-right: 8px;
    border: 0;
    line-height: 1.1;
}

.main-grid {
    padding-top: 60px;
}

.hero2 .btacc-container {
    display: flex;
    flex-wrap: wrap;
}

.hero2 .leftsidebar {
    width: 25%;
    padding-right: 30px;
}

.hero2 .mainblog {
    width: 50%;
    padding-right: 25px;
}

.hero2 .rightsidebar {
    width: 25%;
}

img {
    max-width: 100%;
    height: auto;
}

.btacc-related-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.btacc-card {
    /* flex: 1 0 calc(25% - 20px);
    max-width: calc(25% - 20px); */
    min-width: auto !important;
}

.btacc-card img {
    height: auto;
}

@media (max-width: 1199px) {
    .wrap {
        max-width: 100%;
        padding: 0 20px;
    }

    .hero {
        min-height: 320px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero2 .leftsidebar {
        padding-right: 20px;
    }

    .hero2 .mainblog {
        padding-right: 20px;
    }
}

@media (max-width: 991px) {
    .hero2 .btacc-container {
        flex-direction: column;
    }

    .hero2 .leftsidebar,
    .hero2 .mainblog,
    .hero2 .rightsidebar {
        width: 100%;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .hero {
        min-height: 280px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero .hero-inner {
        padding: 24px;
    }

    .btacc-related-row {
        gap: 15px;
    }

    .btacc-card {
        flex: 1 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }

    .feed .thumb {
        width: 90px;
        height: 64px;
    }

    .feed .title {
        font-size: 14px;
    }

    .search-block {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-right {
        width: 100%;
        text-align: left;
        margin-top: 15px;
    }

    .humanize .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .humanize .card {
        height: 180px;
    }
}

@media (max-width: 767px) and (min-width: 551px) {
    .wrap {
        padding: 0 15px;
    }

    .hero {
        min-height: 260px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero .hero-inner {
        padding: 22px;
    }

    .hero .tag {
        font-size: 12px;
        padding: 5px 9px;
    }

    .hero .meta {
        font-size: 12px;
    }

    .feed .card-row {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 12px;
    }

    .feed .thumb {
        width: 70px;
        height: 50px;
        margin-bottom: 0;
    }

    .feed .title {
        font-size: 14px;
    }

    .news-list .item {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
    }

    .btacc-related-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .btacc-btn-viewall {
        margin-top: 0;
    }

    .btacc-card {
        flex: 1 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .humanize {
        margin-top: 40px;
        padding: 30px 0;
    }

    .humanize .title {
        font-size: 20px;
    }

    .humanize .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .humanize .card {
        height: 160px;
    }

    .side-box {
        padding: 14px;
    }

    .find-box input.form-control {
        width: 100%;
    }
}

@media (max-width: 550px) {
    .wrap {
        padding: 0 12px;
    }

    .hero {
        min-height: 220px;
    }

    .hero h1 {
        font-size: 20px;
    }

    .hero .hero-inner {
        padding: 18px;
    }

    .hero .tag {
        font-size: 11px;
        padding: 4px 8px;
    }

    .hero .meta {
        font-size: 11px;
    }

    .feed .card-row {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 8px;
        gap: 0;
        margin-bottom: 10px;
    }

    .feed .thumb {
        width: 100%;
        max-width: inherit;
        height: auto;
        margin-bottom: 8px;
    }

    .feed .title {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .feed .small-meta {
        font-size: 10px;
        gap: 4px;
    }

    .news-list .item {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 0;
        gap: 6px;
    }

    .news-list strong {
        font-size: 12px;
    }

    .news-list .meta {
        font-size: 10px;
    }

    .btacc-related-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .btacc-btn-viewall {
        margin-top: 8px;
        align-self: flex-start;
    }

    .btacc-card {
        flex: 1 0 100%;
        max-width: 100%;
        margin-bottom: 12px;
    }

    .btacc-related-row {
        gap: 10px;
    }

    .humanize {
        margin-top: 30px;
        padding: 20px 0;
    }

    .humanize .title {
        font-size: 18px;
    }

    .humanize .cards {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .humanize .card {
        height: 140px;
    }

    .side-box {
        padding: 12px;
    }

    .find-box {
        padding: 12px;
    }

    .find-box input.form-control {
        width: 100%;
        font-size: 14px;
    }

    .card-title {
        font-size: 15px;
    }

    .sep-line {
        width: 40px;
        height: 3px;
    }

    .muted {
        font-size: 13px;
    }

    .search-fields {
        flex-direction: column;
        gap: 6px;
    }

    .search-fields .form-control {
        min-width: 100%;
    }
}
