/*
Theme Name: Astra Child
Template: astra
*/
.site .site-content #primary .ast-article-single{
padding-left: 20px;
    padding-right: 20px;
}
.ast-separate-container .site-content #secondary .widget {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 0;
    padding-right: 0;
}
/* HERO catégorie - hauteur maîtrisée */
.category-hero {
    min-height: 18vh;          /* ✅ au lieu de 85vh */
    max-height: 430px;         /* ✅ limite sur grands écrans */
    background-size: cover;
    background-position: center;
    position: relative;
}

/* overlay */
.category-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
}

/* contenu centré */
.category-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: auto;
    padding: 70px 0 0px;
    color: #fff;
}

.category-hero-inner h1 {
    font-size: 45px;           /* ✅ légèrement réduit */
    font-weight: 700;
    color: #000;
}

.category-hero-inner p {
    max-width: 560px;
    font-size: 17px;
    line-height: 1.6;
}

/* container magazine */
.mag-item {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 32px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* image */
.mag-thumb {
    display: block;
    overflow: hidden;
}

.mag-thumb img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform .4s ease;
}

.mag-thumb:hover img {
    transform: scale(1.05);
}

/* contenu */
.mag-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mag-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 12px;
}

.mag-title a {
    text-decoration: none;
    color: inherit;
}

.mag-excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 18px;
}

/* read more */
.mag-readmore {
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start;
}
.acf-prix-box {
    background: #f5f6f7;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #E4E5E9;
}
.acf-prix-box.single .acf-prix-header{
	justify-content: center;
}
.acf-prix-header {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 12px;
    color:#df1c12;font-size: 24px;
    font-weight:bold;
    margin-bottom: 16px;
}

.acf-prix-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.acf-prix-value {
    font-size: 45px;
    font-weight: 600;
    color: #4c5257;
    line-height: 1;
    margin-bottom: 16px;
}

.acf-prix-note {
    font-size: 16px;
    color: #6b7176;
    text-align: left;
    line-height: 1.4em;
}
.acf-prix-box.single .acf-prix-label{
color:#df1c12;font-size: 24px;
}
.acf-prix-box.single .acf-prix-note{
	text-align: center;
}

.author-bio-box {
    margin-top: 60px;
    padding: 28px;
    background: #f6f7f8;
    border-radius: 14px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.author-bio-box img {
    border-radius: 50%;
}

.author-info h4 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 600;
}

.author-info p {
    margin: 0;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}


@media (max-width: 768px) {
	.mag-item{display:block}
    .category-hero {
        min-height: 10vh;
        max-height: 200px;
    }

    .category-hero-inner {
        padding: 44px 16px 20px;
    }

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