.hero {
    display: grid;
    grid-template-columns: 46fr 54fr;
    gap: 96px;
    align-items: center;
    padding-top: 96px;
    padding-bottom: 128px;
}

.hero__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 520px;
}

.hero__slide { display: none; }
.hero__slide.is-active { display: grid; }

.hero__title {
    font-size: 2rem;
    margin-top: 32px;
    margin-bottom: 40px;
}

.hero__title a {
    text-decoration: none;
}

.hero__title a:hover {
    color: var(--color-text-light);
}

.hero__summary {
    font-size: 1.20rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 32px;
    text-align: justify;
}

.hero__image-link {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.hero__image {
    background: #ccc url(https://images.unsplash.com/photo-1619453399409-8d343a8b369a?q=80&w=2831&auto=format&fit=crop) center/cover;
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

img.hero__image { display: block; object-fit: cover; }

.hero__dots {
    display: flex;
    gap: 16px;
    margin-top: 56px;
    align-items: center;
}

.hero-slider + .hero__dots {
    position: relative;
    z-index: 1;
    margin-top: -184px;
    margin-bottom: 128px;
}

.hero__dots span {
    width: 40px;
    height: 40px;
    background-image: url('../images/estrela.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
    transition: var(--transition);
    cursor: pointer;
}

.hero__dots button {
    width: 40px;
    height: 40px;
    border: 0;
    padding: 0;
    background-color: transparent;
    background-image: url('../images/estrela.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
    transition: var(--transition);
    cursor: pointer;
}

.hero__dots .active {
    opacity: 1;
    transform: scale(1.1);
}

.story-card--empty { opacity: .65; }

.button {
    font: 700 .9rem Inter, sans-serif;
    text-decoration: none;
    background: var(--color-editorial);
    color: var(--color-paper);
    padding: .8rem 1.5rem;
    border-radius: 4px;
}

.button:hover {
    background: var(--color-text);
    color: var(--color-paper);
}

.section-title {
    font-size: 1.2rem;
    font-family: Inter, sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.latest-stories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.story-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-border);
}
.story-item:first-child { padding-top: 0; }
.story-item:last-child { border-bottom: none; padding-bottom: 0; }

.story-item__image {
    width: 100%;
    height: 120px;
    background: #ccc;
    transition: var(--transition);
}
.story-item:hover .story-item__image {
    transform: scale(1.05);
}

.story-item__title {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-top: .5rem;
}
.story-item__title a {
    text-decoration: none;
}

.category-section {
    padding-block: 96px;
}

.section-divider {
    height: 1px;
    background-image: repeating-linear-gradient(to right, var(--color-border) 0, var(--color-border) 1px, transparent 1px, transparent 5px);
    background-size: 100% 1px;
    background-repeat: no-repeat;
}
.category-section__header {
    text-align: center;
    max-width: 60ch;
    margin: 0 auto 48px;
}
.category-section__header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.category-section__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.category-section--culture .section-title {
    color: var(--color-text);
}

.category-section--football .section-title {
    color: var(--color-text);
}

.category-section--txt .section-title {
    color: var(--color-text);
}


.story-card {
    display: flex;
    flex-direction: column;
}

.story-card > a:first-child {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    margin-bottom: 24px;
}

.story-card__image {
    background: #ccc;
    transition: var(--transition);
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.hero__image-link:hover .hero__image,
.story-card a:hover .story-card__image {
    opacity: 0.85;
}

.story-card h3 {
    margin-bottom: 16px;
}

.story-card__content .eyebrow {
    margin-bottom: 16px;
    display: block;
}
.story-card h3 a {
    text-decoration: none;
    color: var(--color-text);
}


.essay {
    max-width: 720px;
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.essay__title {
    font-size: 3rem;
    margin: 1rem 0 1.5rem;
}

.essay__summary {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

@media(max-width:768px) {
    .container {
        width: calc(100% - 40px);
    }
    main > section { padding: 4rem 0; }
    .hero { grid-template-columns: 1fr; gap: 2rem; }
    .hero__title { font-size: 3rem; }
    .hero__summary { font-size: 1.1rem; }
    .story-item { grid-template-columns: 100px 1fr; gap: 1rem; }
    .story-item__title { font-size: 1.3rem; }
    .category-section__grid { grid-template-columns: 1fr; }
    .essay__title { font-size: 2.5rem; }
    .hero-slider + .hero__dots { margin-top: -120px; margin-bottom: 72px; }
}
