/*
Theme Name: SmartMag Child
Theme URI: https://smartmag.theme-sphere.com/
Description: A child theme of SmartMag
Author: ThemeSphere
Author URI: https://theme-sphere.com
Template: smart-mag
Version: 1.1
*/

/* ======================================================
   🔧 Ajustes de layout personalizados do SmartMag Child
   ====================================================== */

/* 🔹 Mantém a imagem destaque sempre em proporção 16:9 */
.hero .featured-image,
.featured .post-thumb,
.main-featured,
.post-featured {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;           /* Mantém proporção 16:9 */
    overflow: hidden;               /* Evita partes que ultrapassem */
}

/* 🔹 Imagem interna ajustada ao container */
.hero .featured-image img,
.featured .post-thumb img,
.main-featured img,
.post-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;              /* Preenche mantendo proporção */
    object-position: center center; /* Centraliza o foco */
    display: block;
}

/* 🔹 Responsivo: mantém a proporção 16:9 em todas as telas,
   então não precisa limitar a altura manualmente */
