/* HERO & RECENT POSTS PLUGIN STYLES */

/* LINK CARD BASE */
.link-card,
.card-news {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* HERO IMAGE */
.hero img,
.hero-image-wrapper img {
    width: 100%;
    height: 320px; /* maior que o padrão do Recent Posts */
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.4s ease;
}

/* HERO WRAPPER */
.hero-image-wrapper {
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 10px;
}

/* HERO LINK */
.hero-link {
    display: block;
    transition: transform 0.35s ease;
}

/* HERO TITLE */
.hero h1,
.hero-title {
    font-size: 28px;
    font-weight: 700;
    margin-top: 10px;
    color: black;
    transition: color 0.35s ease;
}

/* HERO PARAGRAPH */
.hero p {
    color: var(--nav-link-color);
}

/* HERO META */
.hero .meta,
.meta {
    font-size: 12px;
    color: var(--meta-color);
}

/* HOVER HERO */
.hero-link:hover .hero-image-wrapper img {
    transform: scale(1.06);
    filter: brightness(0.96);
}
.hero-link:hover .hero-title {
    color: var(--hero-primary);
}
.hero-link:hover {
    transform: none;
}

/* TAGS */
.tag {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 5px;
    color: white; 
}  
/* SECTION TITLE */
.section-title {
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--meta-color);
    text-transform: uppercase;
}

/* CARD IMAGE WRAPPER */
.card-image-wrapper {
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* CARD IMAGE */
.card-image-wrapper img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.4s ease;
    will-change: transform;
}

/* CARD NEWS TEXT */
.card-news h5 {
    margin-top: 10px; 
    font-size: 15px;
    font-weight: 600;
    transition: color 0.35s ease;
}
.card-news p {
    font-size: 13px;
    color: var(--nav-link-color);
}

/* CARD NEWS HOVER */
.card-news:hover .card-image-wrapper img {
    transform: scale(1.06);
    filter: brightness(0.96);
}
.card-news:hover h5 {
    color: var(--hero-primary);
}
/* CATEGORY LIST PLUGIN */
.category-box {
    display: block;
    border-radius: 10px;
    padding: 18px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    color: black;
    transition: background 0.3s ease;
}

.category-box:hover {
    opacity: 0.6;
    color: black;
}

.border-1c { border-top: 4px solid var(--energy-color); }
.border-2c { border-top: 4px solid var(--ocean-color); }
.border-3c { border-top: 4px solid var(--innovation-color); }
.border-4c { border-top: 4px solid var(--longevity-color); }
.border-5c { border-top: 4px solid var(--society-color); }