:root {
    --red: #f4231e;
    --orange: #ff7a16;
    --ink: #11131a;
    --muted: #687386;
    --line: #e7ebf1;
    --page: 1240px;
    --side: clamp(16px, 3.2vw, 44px);
    --shadow: 0 10px 30px rgba(20, 28, 45, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 116px;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background: #fff;
    color: var(--ink);
    font-family: "Nunito", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
}

.topbar {
    min-height: 30px;
    padding: 4px var(--side);
    display: flex;
    align-items: center;
    gap: clamp(18px, 7vw, 84px);
    background: linear-gradient(90deg, #ffd72d, #ffb527 68%, #ff5930);
    font-size: 12px;
    font-weight: 800;
}

.topbar>b {
    margin-left: auto;
}

.social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social a {
    min-width: 22px;
    text-align: center;
    font-size: 16px;
    font-weight: 900;
}

.social .follow {
    padding: 5px 16px;
    border-radius: 6px;
    background: #111;
    color: #fff;
    font-size: 10px;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 107px;
    padding: 0 var(--side);
    display: grid;
    grid-template-columns: minmax(245px, 300px) minmax(260px, 1fr) 146px 42px;
    grid-template-rows: 63px 44px;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 22px rgba(20, 28, 45, 0.08);
    backdrop-filter: blur(12px);
}

.brand {
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.brand img {
    width: 130px;
    height: 105px;
    object-fit: contain;
}

.brand span {
    font-family: cursive;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
    transform: rotate(-3deg);
}

.search {
    width: min(100%, 470px);
    height: 38px;
    margin: auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    border-radius: 22px;
    background: #f2f4f8;
    color: #596173;
}

.search span {
    font-size: 21px;
}

.search input {
    width: 100%;
    min-width: 0;
    padding-left: 10px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 13px;
}

.submit-top {
    justify-self: end;
    padding: 10px 17px;
    border-radius: 23px;
    background: linear-gradient(90deg, #ffc12d, #ff921d);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.hamb {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 24px;
}

nav {
    grid-column: 2 / 5;
    align-self: end;
    height: 44px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: clamp(15px, 2.2vw, 32px);
    font-size: 12px;
    font-weight: 800;
}

nav a {
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

nav a::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: 0;
    left: 50%;
    height: 2px;
    background: var(--red);
    transition: 0.25s ease;
}

nav a:hover,
nav a.active {
    color: var(--red);
}

nav a:hover::after,
nav a.active::after {
    right: 0;
    left: 0;
}

.hero {
    position: relative;
    width: 100%;
    height: clamp(300px, 31.8vw, 410px);
    overflow: hidden;
    background-color: #ffd34c;
    background-image: linear-gradient(90deg, rgba(255, 243, 184, .97) 0%, rgba(255, 240, 169, .82) 26%, rgba(255, 240, 169, 0) 51%), var(--hero);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    animation: heroIn .8s ease both;
}

.hero-copy {
    position: absolute;
    top: 14%;
    left: var(--side);
    z-index: 2;
    width: min(42%, 520px);
}

.hero-copy small {
    font-size: clamp(15px, 1.35vw, 19px);
    font-weight: 900;
}

.hero-copy h1 {
    margin: 8px 0 18px;
    font-size: clamp(48px, 6.2vw, 79px);
    font-weight: 900;
    letter-spacing: -4px;
    line-height: .82;
}

.hero-copy h1 strong {
    display: block;
    color: #ee2e17;
}

.hero-copy p {
    margin: 0 0 12px;
    font-size: clamp(12px, 1.2vw, 16px);
    font-weight: 900;
}

.hero-copy b {
    font-size: clamp(14px, 1.35vw, 18px);
}

.hero-copy>* {
    opacity: 0;
    transform: translateY(18px);
    animation: copyIn .55s ease forwards;
}

.hero-copy small {
    animation-delay: .16s;
}

.hero-copy h1 {
    animation-delay: .25s;
}

.hero-copy p {
    animation-delay: .34s;
}

.hero-copy b {
    animation-delay: .43s;
}

.feature-strip {
    position: relative;
    z-index: 8;
    width: min(610px, calc(100% - 48px));
    min-height: 58px;
    margin: -58px 0 0 25px;
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--shadow);
}

.feature-strip>div {
    min-width: 0;
    padding: 0 12px;
    display: flex;
    align-items: center;
    border-right: 1px solid #e1e4e9;
}

.feature-strip>div:last-child {
    border-right: 0;
}

.feature-strip i {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ffbd2f;
    font-size: 16px;
    font-style: normal;
}

.feature-strip p {
    min-width: 0;
    margin: 0 0 0 9px;
    line-height: 1.12;
}

.feature-strip b,
.feature-strip span {
    display: block;
}

.feature-strip b {
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feature-strip span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 9px;
}

.breaking {
    position: relative;
    z-index: 7;
    min-height: 36px;
    margin: 0 24px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 0 0 12px 12px;
    background: #fafafa;
    box-shadow: 0 3px 12px rgba(20, 28, 45, .05);
    font-size: 10px;
}

.breaking>b {
    align-self: stretch;
    padding: 0 20px;
    display: flex;
    align-items: center;
    border-radius: 17px;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    white-space: nowrap;
}

.breaking>span {
    padding: 0 14px;
}

.ticker {
    min-width: 0;
    overflow: hidden;
    flex: 1;
}

.ticker>div {
    width: max-content;
    white-space: nowrap;
    animation: tickerMove 32s linear infinite;
}

.ticker:hover>div {
    animation-play-state: paused;
}

.ticker a {
    padding: 0 16px;
    border-right: 1px solid #cfd3da;
}

main {
    width: min(100%, var(--page));
    margin: auto;
    padding: 0 var(--side);
}

.section {
    padding: 17px 0;
}

.section-head {
    min-width: 0;
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(18px, 1.7vw, 22px);
    font-weight: 900;
    white-space: nowrap;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

.section-head>a:last-child {
    margin-left: auto;
    color: var(--red);
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.trend-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.trend-card {
    position: relative;
    height: 190px;
    overflow: hidden;
    border-radius: 9px;
    background: #111;
    color: #fff;
}

.trend-card .card-link,
.trend-card img {
    width: 100%;
    height: 100%;
}

.trend-card img {
    object-fit: cover;
    transition: transform .45s ease;
}

.shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 25%, rgba(3, 5, 8, .93));
}

.trend-info {
    position: absolute;
    right: 12px;
    bottom: 10px;
    left: 12px;
}

.trend-info em,
.post-img em {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    background: #ff7b19;
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
}

.trend-info h3 {
    margin: 7px 0 2px;
    font-size: 14px;
    line-height: 1.12;
}

.trend-info p {
    margin: 0 0 7px;
    font-size: 11px;
    line-height: 1.25;
}

.trend-info span {
    margin-right: 18px;
    font-size: 9px;
}

.quick-like {
    position: absolute;
    right: 8px;
    bottom: 7px;
    z-index: 4;
    margin: 0;
}

.quick-like button,
.post-card form button {
    padding: 3px 7px;
    border: 0;
    border-radius: 15px;
    background: rgba(255, 255, 255, .92);
    color: var(--red);
    cursor: pointer;
    font-size: 9px;
    font-weight: 800;
}

.explore-wrap {
    padding: 0 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 16px;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 11px;
}

.cat {
    min-width: 0;
    height: 78px;
    padding: 8px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--cat), rgba(255, 255, 255, .3));
    box-shadow: inset 0 0 22px rgba(255, 255, 255, .28);
}

.cat i {
    font-size: 27px;
    font-style: normal;
    line-height: 1;
}

.cat b {
    overflow: hidden;
    width: 100%;
    font-size: 11px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.side-promo {
    position: relative;
    min-height: 195px;
    padding: 20px 17px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    background: linear-gradient(150deg, #fff58f, #ffc446 55%, #e6541d);
    box-shadow: 0 8px 25px rgba(239, 139, 36, .22);
}

.side-promo::before {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -65px;
    width: 145px;
    height: 145px;
    border: 26px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
}

.side-promo h3 {
    position: relative;
    z-index: 2;
    max-width: 145px;
    margin: 0 0 12px;
    font-size: 19px;
    line-height: .98;
}

.side-promo>span:not(.bag) {
    position: relative;
    z-index: 2;
    font-size: 9px;
}

.side-promo .bag {
    position: relative;
    z-index: 2;
    order: 4;
    margin-top: auto;
    align-self: flex-end;
    font-size: 44px;
}

.latest-wrap {
    padding-top: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 17px;
    border-top: 1px solid var(--line);
}

.filters {
    gap: 13px;
}

.pill {
    padding: 6px 11px;
    border-radius: 16px;
    background: #f1f3f7;
    font-size: 9px;
    white-space: nowrap;
}

.pill.selected {
    background: var(--red);
    color: #fff;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
}

.post-card {
    min-width: 0;
    min-height: 205px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
}

.post-img {
    position: relative;
    height: 110px;
}

.post-img img {
    width: 100%;
    height: 100%;
    border-radius: 7px;
    object-fit: cover;
    transition: transform .45s ease;
}

.post-img em {
    position: absolute;
    bottom: -5px;
    left: 6px;
    background: #eef0f3;
    color: #111;
}

.post-card h3 {
    min-height: 47px;
    margin: 12px 0 8px;
    font-size: 11px;
    line-height: 1.3;
}

.post-card>div:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    color: var(--muted);
    font-size: 8px;
}

.post-card form {
    margin: 0;
}

aside {
    padding-left: 17px;
    border-left: 1px solid var(--line);
}

.event {
    padding: 9px 0;
    display: flex;
    gap: 11px;
    border-bottom: 1px solid var(--line);
}

.event time {
    flex: 0 0 43px;
    width: 43px;
    height: 47px;
    padding: 5px 0;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #fff0ed;
    color: var(--red);
    line-height: .65;
}

.event time b {
    font-size: 9px;
}

.event time strong {
    font-size: 18px;
}

.event p {
    min-width: 0;
    margin: 4px 0;
}

.event p b,
.event p span {
    display: block;
    font-size: 10px;
}

.event p span {
    margin-top: 4px;
    overflow: hidden;
    color: var(--muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery {
    padding-top: 16px;
}

.gallery-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.gallery-item {
    position: relative;
    height: 112px;
    overflow: hidden;
    border-radius: 7px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.gallery-item span {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 20px;
    height: 17px;
    display: grid;
    place-items: center;
    border-radius: 4px;
    background: #fff;
    color: #111;
    font-size: 9px;
}

.cta {
    position: relative;
    min-height: 100px;
    padding: 15px max(5%, calc((100% - var(--page))/2 + var(--side)));
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 28px;
    background: linear-gradient(90deg, #ffb62a, #ffd83b 53%, #ff4d29);
}

.cta::after {
    content: "";
    position: absolute;
    right: 8%;
    width: 170px;
    height: 170px;
    border: 33px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
}

.cta>* {
    position: relative;
    z-index: 2;
}

.megaphone {
    font-size: 54px;
    filter: drop-shadow(0 5px 5px rgba(185, 57, 40, .25));
    animation: megaphone 2.5s ease-in-out infinite;
}

.cta h2 {
    margin: 0;
    font-size: clamp(20px, 2.2vw, 28px);
}

.cta p {
    margin: 3px 0 0;
    font-size: 12px;
}

.cta button {
    margin-left: auto;
    padding: 12px 26px;
    border: 0;
    border-radius: 23px;
    background: #fff;
    color: var(--red);
    cursor: pointer;
    font-weight: 900;
    white-space: nowrap;
}

footer {
    color: #fff;
    background-image: linear-gradient(rgba(2, 4, 7, .82), rgba(2, 4, 7, .96)), var(--footer);
    background-position: center;
    background-size: cover;
}

.footer-grid {
    width: min(100%, var(--page));
    min-height: 280px;
    margin: auto;
    padding: 38px var(--side) 28px;
    display: grid;
    grid-template-columns: 1.25fr .65fr .85fr 1.65fr;
    gap: 46px;
}

.footer-brand img {
    width: 135px;
    height: 100px;
    object-fit: contain;
}

.footer-grid h3 {
    margin: 0 0 10px;
    font-size: 13px;
}

.footer-grid p,
.footer-grid a {
    display: block;
    font-size: 10px;
    line-height: 1.65;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .28);
    transition: transform .25s ease, box-shadow .25s ease;
}

.footer-social a:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .38);
}

.footer-social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-social .youtube {
    background: #ff0000;
}

.footer-social .instagram {
    background: radial-gradient(circle at 30% 105%, #ffd600 0 18%, #ff7a00 31%, #ff0169 52%, #d300c5 72%, #7638fa 100%);
}

.footer-social .facebook {
    background: #1877f2;
}

.footer-social .whatsapp {
    background: #25d366;
}

.footer-grid form {
    height: 38px;
    padding: 3px;
    display: flex;
    border-radius: 7px;
    background: #fff;
}

.footer-grid input {
    min-width: 0;
    flex: 1;
    padding: 8px 10px;
    border: 0;
    outline: 0;
}

.footer-grid button {
    flex: 0 0 31px;
    width: 31px;
    border: 0;
    border-radius: 50%;
    background: #ff4b24;
    color: #fff;
}

.footer-grid>div:last-child h2 {
    margin: 25px 0 4px;
    text-align: right;
    font-size: 30px;
    line-height: .92;
    text-shadow: 0 3px 12px #000;
}

.footer-grid>div:last-child>b {
    display: block;
    text-align: right;
    font-size: 9px;
}

.copyright {
    padding: 12px max(var(--side), calc((100% - var(--page))/2 + var(--side)));
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    background: rgba(0, 0, 0, .55);
    font-size: 9px;
}

.trend-card,
.post-card,
.cat,
.gallery-item,
.event,
.submit-top,
.cta button {
    transition: transform .3s ease, box-shadow .3s ease;
}

.trend-card:hover,
.post-card:hover,
.cat:hover,
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.trend-card:hover img,
.post-card:hover img,
.gallery-item:hover img {
    transform: scale(1.055);
}

.event:hover {
    transform: translateX(4px);
}

.reveal {
    opacity: 0;
    transform: translateY(28px) scale(.985);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .75, .25, 1);
}

.reveal.show {
    opacity: 1;
    transform: none;
}

dialog {
    width: min(92%, 500px);
    padding: 28px;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, .35);
}

dialog::backdrop {
    background: rgba(0, 0, 0, .55);
}

dialog .close {
    float: right;
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 50%;
    background: #eee;
    cursor: pointer;
    font-size: 20px;
}

dialog form {
    display: grid;
    gap: 10px;
}

dialog input,
dialog textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

dialog textarea {
    min-height: 105px;
    resize: vertical;
}

dialog form button {
    padding: 12px;
    border: 0;
    border-radius: 8px;
    background: var(--red);
    color: #fff;
    font-weight: 900;
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 2000;
    padding: 13px 20px;
    border-radius: 8px;
    background: #15803d;
    color: #fff;
}

@keyframes tickerMove {
    to {
        transform: translateX(-50%);
    }
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: scale(1.015);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes copyIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes megaphone {

    0%,
    100% {
        transform: rotate(-12deg) translateY(0);
    }

    50% {
        transform: rotate(-8deg) translateY(-5px);
    }
}

@media (max-width: 1100px) {
    header {
        grid-template-columns: 235px minmax(240px, 1fr) 132px 42px;
    }

    .brand img {
        width: 110px;
    }

    .brand span {
        font-size: 15px;
    }

    nav {
        gap: 15px;
        font-size: 11px;
    }

    .trend-card {
        height: 175px;
    }

    .explore-wrap {
        grid-template-columns: minmax(0, 1fr) 170px;
    }

    .cat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .latest-wrap {
        grid-template-columns: minmax(0, 1fr) 250px;
    }

    .post-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gallery-row {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    :root {
        --side: 18px;
    }

    html {
        scroll-padding-top: 78px;
    }

    .topbar {
        gap: 20px;
    }

    .topbar>b,
    .social a:not(.follow) {
        display: none;
    }

    .social {
        margin-left: auto;
    }

    header {
        height: 78px;
        grid-template-columns: 165px minmax(0, 1fr) 42px;
        grid-template-rows: 78px;
        padding: 0 12px;
    }

    .brand {
        grid-row: auto;
    }

    .brand img {
        width: 88px;
        height: 74px;
    }

    .brand span {
        font-size: 12px;
    }

    .search {
        width: min(100%, 390px);
    }

    .submit-top {
        display: none;
    }

    nav {
        position: absolute;
        top: 78px;
        right: 0;
        left: 0;
        height: auto;
        padding: 10px 18px 16px;
        display: flex;
        flex-direction: column;
        gap: 0;
        background: #fff;
        box-shadow: 0 12px 28px rgba(20, 28, 45, .16);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        pointer-events: none;
        transition: .25s ease;
    }

    nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    nav a {
        min-height: 40px;
        justify-content: center;
        font-size: 14px;
    }

    .hero {
        height: clamp(285px, 48vw, 390px);
        background-position: 62% center;
        background-size: cover;
    }

    .hero-copy {
        width: 48%;
    }

    .hero-copy h1 {
        font-size: clamp(43px, 8vw, 62px);
    }

    .feature-strip {
        width: calc(100% - 24px);
        margin: -25px 12px 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-strip>div {
        min-height: 48px;
    }

    .feature-strip>div:nth-child(2) {
        border-right: 0;
    }

    .feature-strip>div:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .breaking {
        margin: 0;
        border-radius: 0;
    }

    .trend-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .explore-wrap,
    .latest-wrap {
        grid-template-columns: 1fr;
    }

    .side-promo {
        display: none;
    }

    .cat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    aside {
        padding: 14px 0 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .gallery-row {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .gallery-row::-webkit-scrollbar {
        display: none;
    }

    .gallery-item {
        flex: 0 0 155px;
        scroll-snap-align: start;
    }

    .filters {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .filters::-webkit-scrollbar {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1.2fr .8fr 1.2fr;
        gap: 28px;
    }

    .footer-grid>div:nth-child(3) {
        display: none;
    }
}

@media (max-width: 640px) {
    :root {
        --side: 12px;
    }

    .topbar {
        min-height: 32px;
        padding: 4px 10px;
        font-size: 10px;
    }

    .topbar span:nth-child(2) {
        display: none;
    }

    .social .follow {
        padding: 4px 10px;
    }

    header {
        grid-template-columns: 90px minmax(0, 1fr) 40px;
    }

    .brand img {
        width: 83px;
    }

    .brand span {
        display: none;
    }

    .search {
        height: 36px;
        padding: 0 11px;
    }

    .search input {
        font-size: 12px;
    }

    .hero {
        height: 315px;
        background-position: 58% center;
    }

    .hero-copy {
        top: 35px;
        width: 58%;
    }

    .hero-copy small {
        font-size: 12px;
    }

    .hero-copy h1 {
        margin: 7px 0 13px;
        font-size: clamp(38px, 12vw, 50px);
        letter-spacing: -2px;
    }

    .hero-copy p {
        font-size: 10px;
        line-height: 1.35;
    }

    .hero-copy b {
        font-size: 11px;
    }

    .feature-strip {
        min-height: 0;
        margin-top: -18px;
        padding: 6px;
    }

    .feature-strip>div {
        min-height: 45px;
        padding: 5px 7px;
    }

    .feature-strip i {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .feature-strip b {
        font-size: 9px;
    }

    .feature-strip span {
        font-size: 8px;
    }

    .breaking>b {
        padding: 0 12px;
        font-size: 9px;
    }

    .section-head {
        min-height: 42px;
    }

    .section-head h2 {
        font-size: 17px;
    }

    .section-head p {
        display: none;
    }

    .section-head>a:last-child {
        font-size: 9px;
    }

    .trend-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .trend-grid::-webkit-scrollbar {
        display: none;
    }

    .trend-card {
        flex: 0 0 82%;
        height: 205px;
        scroll-snap-align: start;
    }

    .cat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .cat {
        height: 76px;
    }

    .post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .post-card {
        min-height: 202px;
        padding: 7px;
    }

    .post-img {
        height: 105px;
    }

    .post-card h3 {
        min-height: 50px;
        font-size: 10px;
    }

    .post-card>div:last-child {
        flex-wrap: wrap;
        font-size: 8px;
    }

    .cta {
        min-height: 135px;
        padding: 18px;
        gap: 12px;
    }

    .megaphone {
        font-size: 38px;
    }

    .cta h2 {
        font-size: 18px;
    }

    .cta p {
        font-size: 10px;
    }

    .cta button {
        padding: 10px 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .footer-grid>div:last-child {
        grid-column: 1 / 3;
    }

    .copyright {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 390px) {
    .search input::placeholder {
        color: transparent;
    }

    .hero {
        height: 290px;
    }

    .hero-copy {
        width: 62%;
    }

    .hero-copy h1 {
        font-size: 39px;
    }

    .cat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .post-grid {
        grid-template-columns: 1fr;
    }

    .post-card {
        min-height: 245px;
    }

    .post-img {
        height: 155px;
    }

    .post-card h3 {
        min-height: auto;
        font-size: 12px;
    }

    .cta {
        flex-wrap: wrap;
    }

    .cta button {
        margin-left: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid>div:nth-child(2),
    .footer-grid>div:nth-child(3) {
        display: none;
    }

    .footer-grid>div:last-child {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
